© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3mo ago•
13 replies
Foreskin gamer

Unable to change location of config file (Docker container on Truenas Scale)

Hi there, I just installed Immich on my Truenas Scale server using Dockge and the default immich docker compose and .env files, adjusted to my needs. Since I have all my app configs in a specific dataset, I tried to do the same thing with immich. As I had already setup the application, I downloaded the immich.json file from the administration tab and put it in the right folder on the host wich is '/mnt/apps/docker/immich'. Next I added the following line to my .env file:

IMMICH_CONFIG_FILE=/mnt/apps/docker/immich/immich.json

However, when I try to redeploy the container I get the following error:

Error: ENOENT: no such file or directory, open '/mnt/apps/docker/immich/immich.json'
immich_server | at async open (node:internal/fs/promises:639:25)
immich_server | at async readFile (node:internal/fs/promises:1243:14)
immich_server | at async loadFromFile (/usr/src/app/server/dist/utils/config.js:89:22)
immich_server | at async buildConfig (/usr/src/app/server/dist/utils/config.js:102:11)
immich_server | at async /usr/src/app/server/dist/utils/config.js:62:26 {
immich_server | errno: -2,
immich_server | code: 'ENOENT',
immich_server | syscall: 'open',
immich_server | path: '/mnt/apps/docker/immich/immich.json'

I also tried it with just '/mnt/apps/docker/immich' wich hasn't worked either. I'm figuring that it may be an issue with file permissions but I have no idea how to make immich take on the correct user.
Can someone help me?
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

change log file location for immich docker container
ImmichIImmich / help-desk-support
3d ago
ROCM on truenas scale
ImmichIImmich / help-desk-support
10mo ago
Transfer Attempt - Docker Desktop / TrueNAS Scale - Unable to read .immich in Docker Desktop
ImmichIImmich / help-desk-support
13mo ago
Setup Immich through Docker Compose on TrueNAS Scale Bluefin
ImmichIImmich / help-desk-support
3y ago