Failed to deploy a stack: compose up operation failed: Error response from daemon: manifest unknown
Hi everyone. Second time writing here again after a "failed" update from Server Version: v1.139.4
Latest Version: v1.142.0
I followed the exact same procedure as always: updating db when needed and checking everything was as expected in the new docker compose file and got this long error: "Failed to deploy a stack: compose up operation failed: Error response from daemon: manifest unknown" Server is down and I'm a little bit worried. If someone can drop a line or two about what to do it would be very much appreciated. I'm deploying via Portainer if that can help. Any other information besides the docker compose file I'm using and the .env that I can provide, would be provided if you can help me. Thanks everyone in advance.
11 Replies
:wave: Hey @H1-NT,
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.EDIT: After revisiting my configuration the error now is "Failure
Failed to deploy a stack: compose up operation failed: dependency failed to start: container immich_server is unhealthy"
Configuration files.
Logs for server, redis and postgres
Appreciate any help you can provide. Thanks so much for taking the time.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
So seems quite clear the problem comes from the immich_server trying to reach the redis service here "2025-09-13T14:57:01.030252034Z Initializing Immich v1.142.0
2025-09-13T14:57:01.037499099Z skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2
2025-09-13T14:57:01.060358221Z Detected CPU Cores: 8
2025-09-13T14:57:09.226243423Z Starting api worker
2025-09-13T14:57:09.234228513Z Starting microservices worker
2025-09-13T14:57:15.432949507Z [32m[Nest] 7 - [39m09/13/2025, 2:57:15 PM [32m LOG[39m [33m[Microservices:EventRepository][39m [32mInitialized websocket server[39m
2025-09-13T14:57:15.977959646Z [32m[Nest] 21 - [39m09/13/2025, 2:57:15 PM [32m LOG[39m [33m[Api:EventRepository][39m [32mInitialized websocket server[39m
2025-09-13T14:57:19.499254111Z Error: getaddrinfo ENOTFOUND redis
2025-09-13T14:57:19.499503409Z at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26) {
2025-09-13T14:57:19.499528325Z errno: -3008,
2025-09-13T14:57:19.499543133Z code: 'ENOTFOUND',
2025-09-13T14:57:19.499562930Z syscall: 'getaddrinfo',
2025-09-13T14:57:19.499581094Z hostname: 'redis'
2025-09-13T14:57:19.499596904Z }
2025-09-13T14:57:19.501935060Z Error: getaddrinfo ENOTFOUND redis
2025-09-13T14:57:19.502003629Z at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26) {
2025-09-13T14:57:19.502020541Z errno: -3008,
2025-09-13T14:57:19.502055406Z code: 'ENOTFOUND',
2025-09-13T14:57:19.502067238Z syscall: 'getaddrinfo',
2025-09-13T14:57:19.502078129Z hostname: 'redis'
2025-09-13T14:57:19.502091273Z }" But I don't know how to fix it. I checked my env variables and I have REDIS_HOSTNAME -> redis
Initializing Immich v1.142.0
skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2
Detected CPU Cores: 8
Starting api worker
Starting microservices worker
[Nest] 7 - 09/13/2025, 3:03:46 PM LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 21 - 09/13/2025, 3:03:47 PM LOG [Api:EventRepository] Initialized websocket server
Error: getaddrinfo ENOTFOUND immich_redis
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'immich_redis'
}
I tried also immich_redis to name it after the container name...and that didn't fixed the issue either. 😫 I'll wait for some feedback and I'll update the post if I have some news. Thanks again.
OK! redis service wasn't included in the same network as immich so it was impossible to reach one another......damn it. My fault. And that brought me to my next issue. I'm having this one now:
Container started
Initializing Immich v1.142.0
skipping libmimalloc - path not found /usr/lib/x86_64-linux-gnu/libmimalloc.so.2
Detected CPU Cores: 8
Starting api worker
Starting microservices worker
[Nest] 7 - 09/13/2025, 3:10:05 PM LOG [Microservices:EventRepository] Initialized websocket server
[Nest] 7 - 09/13/2025, 3:10:05 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for clip_index of 42784 rows
[Nest] 7 - 09/13/2025, 3:10:05 PM LOG [Microservices:DatabaseRepository] targetLists=1, current=1 for face_index of 44029 rows
[Nest] 7 - 09/13/2025, 3:10:06 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 - 09/13/2025, 3:10:06 PM ERROR [Microservices:StorageService] Failed to read (/data/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/data/encoded-video/.immich'
microservices worker error: Error: Failed to read: "<UPLOAD_LOCATION>/encoded-video/.immich (/data/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 (/data/encoded-video/.immich) - Please see https://immich.app/docs/administration/system-integrity#folder-checks for more information."
I know is a well documented issue and I have read why could happen. But the .immich files exist in the folder. A no permissions have changed
UPLOAD_LOCATION -> /share/media/assets/photos


Most of the time is ALWAYS about human errors. Thanks guys for building a tool that is SO reliable.
This thread has been closed. To re-open, use the button below.