update to latest version issue.
I tried to install the new update and have failed miserably. I have tried to fix it over the last few days but keep getting it wrong. I feel ChatGPT is just taking me around in circles trying to fix it. Please help.
38 Replies
:wave: Hey @wired111,
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. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: uploaded the relevant information (see below).
7. :blue_square: 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.logs. Error message when i try to access web UI. connect ECONNREFUSED 172.25.0.3:3001 (ECONNREFUSED)
Stacktrace
Error: connect ECONNREFUSED 172.25.0.3:3001
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16)
Why have an env file if you don't use it? 👀
Why are you binding to 3001? YOu should be doing 2283
Please don't ever listen to chatgpt for immich
How can you tell that the env is not being reffered to? Also, I binded to 3001 because chat GPT told me too. I agree that I will not listen to ChatGPT again.
Because you do not reference it in your compose and have all variables typed out in
environment
sections
What is the error after you change the 2283 port @wired111 ?PS C:\Users\dunca\immich-app> docker compose up -d
[+] Running 5/6
✔ Network immich-app_default Created 0.1s
✔ Container immich_machine_learning Started 2.2s
✔ Container immich_postgres Started 2.2s
✔ Container immich_redis Started 2.2s
✔ Container immich_server Started 3.1s
- Container immich_web Starting 3.6s
Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint immich_web (7e84fbe56c5dc19c64ebb6884bd8ce5728f2c0bcd4bdcceaf3bac3b576ec6901): Bind for 0.0.0.0:2283 failed: port is already allocated. After updating ports to 2283
You have two containers that bind to 2283
Do you still have your old compose?
no i saved over it
I feel really silly, thank you for helping
Let's update the compose to what it should be from the start
Give me a minute
Is your D: drive an HDD or SSD @wired111 ?
hdd
This should be the right compose
got it and saved.
That is assuming you used
immich_pgdata
like advised for windows users and chatgpt didn't dream that up
It could also have been named pgdata
instead
Are you using docker desktop? I assume soyes, using docker desktop
In the GUI, is there a volumes section?
Can you screenshot it
assuming this is what you are looking for. there is also a head of volumes above the screenshotted section with convoluted names as well

heap
The convoluted ones are unnamed, disposable volumes
It looks like you made a new project called immich-app when before it was just immich?
yes, i have. I created immich, then it broke during an old update so i started fresh with immich app
i'm not very good at this
JUst come here for help, don't ask chatgpt :p
Any error now @wired111 ?
PS C:\Users\dunca\immich-app> docker compose down
service "immich-machine-learning" has neither an image nor a build context specified: invalid compose project
PS C:\Users\dunca\immich-app>
Oops I deleted a line too many
@wired111 chaneg the machine learning part from:
to:
PS C:\Users\dunca\immich-app> docker compose up -d
...
- Container immich_postgres Creating 0.1s
Error response from daemon: Conflict. The container name "/immich_redis" is already in use by container "5b375d498fbf4b22e50fd431170815d8714b2eb4a5f552fa880bf2d1c51adf18". You have to remove (or rename) that container to be able to reuse that name.
Do a compose down first and then
docker ps --all
PS C:\Users\dunca\immich-app> docker ps --all
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
17d4587958e2 ghcr.io/immich-app/immich-web:release "tini -- /bin/sh ent…" About an hour ago Created immich_web
cd3833d54cd0 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash -…" About an hour ago Up 48 minutes (healthy) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp immich_server
5b375d498fbf redis:6.2-alpine "docker-entrypoint.s…" About an hour ago Up 48 minutes 6379/tcp immich_redis
17f7d40bb12e ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 "/usr/local/bin/immi…" About an hour ago Up 48 minutes (healthy) 5432/tcp immich_postgres
7077612414b3 ghcr.io/immich-app/immich-machine-learning:release "tini -- start.sh ml" About an hour ago Restarting (127) 6 seconds ago immich_machine_learning
d96e203f2e2a ghcr.io/music-assistant/server:latest "mass --config /data" 2 weeks ago Up 10 minutes
Is that after a compose down?
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
17d4587958e2 ghcr.io/immich-app/immich-web:release "tini -- /bin/sh ent…" About an hour ago Created immich_web
cd3833d54cd0 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash -…" About an hour ago Up 51 minutes (healthy) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp immich_server
5b375d498fbf redis:6.2-alpine "docker-entrypoint.s…" About an hour ago Up 51 minutes 6379/tcp immich_redis
17f7d40bb12e ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 "/usr/local/bin/immi…" About an hour ago Up 51 minutes (healthy) 5432/tcp immich_postgres
7077612414b3 ghcr.io/immich-app/immich-machine-learning:release "tini -- start.sh ml" About an hour ago Restarting (127) 36 seconds ago immich_machine_learning
d96e203f2e2a ghcr.io/music-assistant/server:latest "mass --config /data" 2 weeks ago Up 13 minutes 0.0.0.0:8095->8095/tcp, [::]:8095->8095/tcp, 0.0.0.0:8097-8098->8097-8098/tcp, [::]:8097-8098-
>8097-8098/tcp music-assistant
1cda70f7113f caddy:latest "caddy run --config …" 3 weeks ago Exited (255) 51 minutes ago caddy
03f9c98423d1 ghcr.io/paperless-ngx/paperless-ngx:latest "/init" 3 weeks ago Exited (0) 3 weeks ago paperless-webserver-1
2f0569311351 postgres:17 "docker-entrypoint.s…" 3 weeks ago Exited (255) 3 weeks ago 5432/tcp paperless-db-1
1d0f8d75c8d5 ghcr.io/home-assistant/home-assistant:stable "/init" 3 weeks ago Up 51 minutes 0.0.0.0:8123->8123/tcp, [::]:8123->8123/tcp homeassistant
407651de95d4 ghcr.io/steveiliop56/tinyauth:v3 "./tinyauth" 4 weeks ago Exited (1) 3 weeks ago tinyauth
be71ee39315d redis:8 "docker-entrypoint.s…" 4 weeks ago Up 51 minutes 6379/tcp paperless-broker-1
yes after docker compose down
alright let's just shut them down seperately then
I don't see redis in there but that'd be
docker stop immich_redis
of course
ah nevermind found iti have stopped them all, however i got an error on immich-web Error response from daemon: No such container: immich-web
It's immich_web
I mistyped there
done, i should have picked that up. sorry. I did a docker compose up -d and got... ✘ Container immich_redis Error response from daemon: Conflict. The contai... 0.1s
- Container immich_machine_learning Creating 0.1s
Error response from daemon: Conflict. The container name "/immich_redis" is already in use by container "5b375d498fbf4b22e50fd431170815d8714b2eb4a5f552fa880bf2d1c51adf18". You have to remove (or rename) that container to be able to reuse that name.
PS C:\Users\dunca\immich-app>
I see
let's just
ok that happened a few more times and I removed all the offending containers and now all is up except immich server which keeps restarting. Starting microservices worker
logs show
[Nest] 7 - 08/01/2025, 7:55:40 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 0 rows
[Nest] 7 - 08/01/2025, 7:55:40 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 0 rows
[Nest] 7 - 08/01/2025, 7:55:40 PM LOG [Microservices:StorageService] Verifying system mount folder checks, current state: {"mountChecks":{"thumbs":true,"upload":true,"backups":true,"library":true,"profile":true,"encoded-video":true}}
[Nest] 7 - 08/01/2025, 7:55:40 PM ERROR [Microservices:StorageService] Failed to read (/usr/src/app/upload/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/usr/src/app/upload/encoded-video/.immich'
microservices worker error: Error: Failed to read: "<UPLOAD_LOCATION>/encoded-video/.immich (/usr/src/app/upload/encoded-video/.immich) - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information.", stack: Error: Failed to read: "<UPLOAD_LOCATION>/encoded-video/.immich (/usr/src/app/upload/encoded-video/.immich) - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information."
at StorageService.verifyReadAccess (/usr/src/app/server/dist/services/storage.service.js:124:19)
at async /usr/src/app/server/dist/services/storage.service.js:56:21
at async /usr/src/app/server/dist/repositories/database.repository.js:379:27
at async /usr/src/app/server/node_modules/kysely/dist/cjs/kysely.js:535:20
at async DefaultConnectionProvider.provideConnection (/usr/src/app/server/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
at async /usr/src/app/server/dist/repositories/database.repository.js:376:13
microservices worker exited with code 1
Killing api process
That's funky because it says
'/usr/src/app/upload
while I gave you /data
👀
What's currently in your .env @wired111 ?Location for uploaded files (host path)
UPLOAD_LOCATION=D:/immich/uploads
Location for PostgreSQL data (host path)
DB_DATA_LOCATION=D:/immich/postgres
Timezone
TZ=Australia/Sydney
Immich version to use
IMMICH_VERSION=release
Database credentials
DB_PASSWORD=postgres
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
DB_HOST=database
Container media path (absolute path inside container)
IMMICH_MEDIA_LOCATION=/usr/src/app/upload
Machine learning service URLs
IMMICH_MACHINE_LEARNING_URL=http://immich_machine_learning:3003
ML_SERVER_URL=http://immich_machine_learning:3003
Remove all of:
Just plain remove it from the env @wired111
@Mraedis you are amazing. I'm in. I've reached the admin registration page. I'm guessing I just need to restore my back up. Thank you, kind Sir
Yes, restoring the backup would end things indeed 🙂