#Unable to install immich on TrueNAS Scale following: https://immich.app/docs/install/truenas/

1 messages · Page 1 of 1 (latest)

timber hemlock
#

Issue Description
I’m trying to install Immich on TrueNAS SCALE, but the "Immich Uploads Storage" host path I configured during setup (e.g., /mnt/StoragePool/main_storage/TrueNAS/Apps/immich/uploads) is not being respected. Instead, TrueNAS SCALE creates a Docker volume for /usr/src/app/upload inside the container. This results in the app crashing repeatedly with the following error:

Verifying system mount folder checks, current state: {"mountChecks":{}}
Writing initial mount file for the encoded-video folder
Failed to create upload/encoded-video/.immich: Error: EACCES: permission denied, open 'upload/encoded-video/.immich'

This result in a loop of restarting and redeploying, and the applicaiton never become live.

I have followed https://immich.app/docs/install/truenas/ step by step, setting up all the 7 detasets, changed the user of pgData to netdata and set passthrouhg on the lirbary dataset.

TrueNAS Scale version: ElectricEel-24.10.1
Immich from trueNAS app discover:
App Version: v1.125.7
Version: 1.7.25

HW: 16GB RAM, Intel(R) Celeron(R) N5105 @ 2.00GHz

trim onyxBOT
#

:wave: Hey @timber hemlock,

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

#

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.

trim onyxBOT
timber hemlock
#

Output of docker ps -a

root@truenas[~]# docker ps -a
CONTAINER ID   IMAGE                                                 COMMAND                  CREATED          STATUS                          PORTS                                                           NAMES
754c4b348870   ghcr.io/immich-app/immich-server:v1.125.7             "tini -- /bin/bash s…"   26 minutes ago   Restarting (1) 32 seconds ago                                                                   ix-immich-server-1
e1b779cc1b43   bitnami/redis:7.4.2                                   "/opt/bitnami/script…"   26 minutes ago   Up 26 minutes (healthy)         6379/tcp                                                        ix-immich-redis-1
5393cc4d4e74   tensorchord/pgvecto-rs:pg15-v0.2.0                    "docker-entrypoint.s…"   26 minutes ago   Up 26 minutes (healthy)         5432/tcp                                                        ix-immich-pgvecto-1
eb2ce3cdfd12   ghcr.io/immich-app/immich-machine-learning:v1.125.7   "tini -- ./start.sh"     26 minutes ago   Up 26 minutes (healthy)                                                                         ix-immich-machine-learning-1
02be5e873bbe   python:3.13.0-slim-bookworm                           "python3 /script/run…"   26 minutes ago   Exited (0) 26 minutes ago                                                                       ix-immich-permissions-1
timber hemlock
#

Any help?

This is consitently reproduced, I have tried installing Immich over the last 4 days, no luck