I
Immich•2w ago
Celeste04

unable to connect to immich server after upgrade

hi, I have upgraded from 1.32.0 to 1.34.0 and my immich_server container show me this logs but the immich server doesn't start, how I can fix that? thanks!
No description
26 Replies
Immich
Immich•2w ago
:wave: Hey @Celeste04, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Celeste04
Celeste04OP•2w ago
docker ps:
No description
Mraedis
Mraedis•2w ago
Any logs from the other containers?
Celeste04
Celeste04OP•2w ago
postgres is fine
No description
Celeste04
Celeste04OP•2w ago
immich_redis
No description
Celeste04
Celeste04OP•2w ago
and immich_machine_learning is also fine
No description
Celeste04
Celeste04OP•2w ago
so yeah, I don't see whats wrong here
Mraedis
Mraedis•2w ago
What have you tried so far?
Celeste04
Celeste04OP•2w ago
nothing much
Mraedis
Mraedis•2w ago
Compose down and up again? I was actually hoping to see some migration going on there
Celeste04
Celeste04OP•2w ago
nothing change anyone to help me?
Mraedis
Mraedis•2w ago
Hi @Celeste04 what do you get if you curl localhost:2283 on the docker host? Also, strangely, your immich-server logs seem duplicated in your screenshot
Celeste04
Celeste04OP•2w ago
curl: (56) Recv failure: Connection reset by peer yeah I just saw this, idk why
Mraedis
Mraedis•2w ago
docker logs -f immich_server This will follow the logs Anything noticable you see?
Celeste04
Celeste04OP•2w ago
same logs
No description
Mraedis
Mraedis•2w ago
and with docker logs -n25 immich_server does it show anything else?
Celeste04
Celeste04OP•2w ago
just this, but nothing else
No description
Mraedis
Mraedis•2w ago
alright let's try composing down and deleting the image docker image rm ghcr.io/immich-app/immich-server-release
Celeste04
Celeste04OP•2w ago
thanks
Mraedis
Mraedis•2w ago
Then compose up, it should re-pull/create
Celeste04
Celeste04OP•2w ago
okay, I will try this
Celeste04
Celeste04OP•2w ago
same logs again
No description
Mraedis
Mraedis•2w ago
The heck, it ran migrations again Can't be that it's still migrating 🤔 Could you share your compose/env please
Celeste04
Celeste04OP•2w ago
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/immich/

# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=/home/celeste/postgres2/

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=xxxxxx

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables

# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/immich/

# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=/home/celeste/postgres2/

# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC

# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release

# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=xxxxxx

# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
I think I will reinstall my VM where the immich server is installed, it must come from my VM
Mraedis
Mraedis•2w ago
how is /mnt/immich mounted?
Celeste04
Celeste04OP•2w ago
with fstab UUID=007D-58BE /mnt/immich exfat defaults,uid=0,gid=0,umask=0002,nofail 0 0 I've reinstalled my vm with immich and the database, but it show the same logs again, and I can"t connect to immich okay, so I restored my database and it work

Did you find this page helpful?