Immich on Truenas (Dragonfish-24.04.2.5) stuck on deploying
I have been an extremely happy user of Immich, but since a few days I am not able to deploy it anymore. Whenever I deploy it, it just gets stuck on deploying. I suspect it might have to do with file permission, but i am not sure.
The log, unless I looked at the wrong one, is below. All the directories are host paths. I would be happy to reinstall everything, as long as the photos (which are uploaded by different users) wont be lost.

18 Replies
:wave: Hey @Marius,
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:the Kubernetes Events show the following:
2025-04-24 11:51:03
Back-off restarting failed container immich in pod immich-postgres-5dd496df96-h5llg_ix-immich(6c3be37f-e925-4811-b0fb-fce54e74452e)
said pod shows this:

did you change the security context?
postgres not being able to access the data dir is definitely a permission issue.
check if everything is correct permission wise on the mounted paths
Thanks for your reply. Where do I find the needed permissions and should that be for the individual folders only or including the whole tree above that?
the folder should be owned by the same user running postgres. where, it depends on your configuration.
usually the postgres container should run as root, since the container itself use a non privileged user
Everything under Immich has the same permissions as seen here.

please share the details the bot asked for
I thought I did. Which point did I miss?
oh you must be using a helm... and on top of TrueNAS.
please check the permissions info in the TrueNAS section https://immich.app/docs/install/truenas
you were right, thank you. I had pgdata's acl configured incorrectly. No that is solved, however it still doesn't deploy. now it is saying:
2025-04-24 13:40:03
Back-off restarting failed container immich in pod immich-7d68884f47-p9z7h_ix-immich(5a6f35a3-69c7-4c45-a455-da911f5ecc76)
2025-04-24 13:39:13
Startup probe failed: Get "http://172.16.0.148:30041/api/server/ping": dial tcp 172.16.0.148:30041: connect: connection refused
could this be a firewall issue?
I'm not familiar with TrueNAS, so I can't tell.
are you using the default charts for k8s ? https://immich-app.github.io/immich-charts/
I have not touched that so I suppose I am using the default
@NoMachine if I type
helm repo list
it says no repo is configured.
also found this in pod: immich-fc8bfd4bf-4cw7k
after changing gpu allocation settings it now doesnt give this error anymore.
now i am just left with this:
Add eth0 [172.16.0.154/16] from ix-net
and still doesn't work. the pod logs don't show anything out of the ordinary.
also I dont know where it gets that ip from. that is not my ip.I can't help with TrueNAS configuration sorry, that's some obscure 💩
Haha alright, thanks for your help!
Anyone else able to help.....?
Try #truenas perhaps @Marius