I
Immich3mo ago
rpuls

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

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'
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
3 Replies
Immich
Immich3mo ago
:wave: Hey @rpuls, 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:
rpuls
rpulsOP3mo ago
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
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
Any help? This is consitently reproduced, I have tried installing Immich over the last 4 days, no luck
schuhbacca
schuhbacca3mo ago
Probably better to ask in #truenas your permissions are wrong somehow with writing to the file system.

Did you find this page helpful?