Postgres: Connection reset by peer

Hey Immich. I recently decided to try out your amazing app. But I'm having some trouble launching for the first time. I'm using the recommended method to install and set up Immich, docker compose. I did make a couple modifications I do for every compose file, like linking it to my cloudflared tunnel system (network Tunnel), and using the label system from Dockflare. Like I said this is my first time using it, I expect no migrations from a database or anything. I'm not even sure what version (release) I'm launching...

When i check the logs i see a bunch of log messages from the Postgres Database, something about losing connection. This issue has been addressed in a recent dicussion, I just haven't found a solution yet. Do i downgrade everything using the environment file?

For context, this is what the error messages look like:
Immich-Postgres          | 2025-08-22 10:06:45.875 UTC [756] LOG:  could not send data to client: Connection reset by peer
Immich-Postgres          | 2025-08-22 10:06:45.875 UTC [756] FATAL:  connection to client lost
Immich-Postgres          | 2025-08-22 10:06:45.875 UTC [759] LOG:  could not send data to client: Connection reset by peer
Immich-Postgres          | 2025-08-22 10:06:45.875 UTC [759] FATAL:  connection to client lost
Immich-Postgres          | 2025-08-22 10:06:45.881 UTC [762] LOG:  could not receive data from client: Connection reset by peer
Was this page helpful?