TypeError: Cannot destructure property 'client' of 'db.config.connection' as it is undefined

I solved it because the volumes were overwritten and the .env file could no longer be read. Now I only have the uploads as one volume, but I will also switch that to S3