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?