Hi all,
I’m running the Immich app on a dedicated 500GB App pool. I was trying to free up space by manually deleting the contents of the encoded-video and thumbs folders under the .ix-apps location, after tweaking some settings in the Immich UI to reduce transcoding footprint.
After deleting those contents, Immich refuses to start.
I’m getting errors like:
EACCES: permission denied, open ‘upload/profile/.immich’
EISDIR: illegal operation on a directory, read
Failed to write “<UPLOAD_LOCATION>/encoded-video/.immich”
Steps I took:
- Deleted contents of encoded-video, thumbs, and similar folders
- Recreated the .immich files using touch, set ownership to UID 568 (chown 568:568) and chmod 664
- Applied chown and chmod recursively to parent folders (775)
- The app runs under UID 568 (was UID 0 before – more on this later)
- Mount point is: /mnt/.ix-apps/app_mounts/immich/uploads/…
Still getting permission denied errors during startup, particularly writing .immich files.
Background:
Recently, I rebuilt my TrueNAS setup and moved the apps to a new SSD-based App pool. More context here:
My rebuild thread
I migrated the app following this guide:
HowTo: Copy the hidden .ix-apps dataset to another pool
Everything was working fine after the migration.
Later, I noticed the app was running as UID 0, so I corrected it to UID 568 (which Immich expects). Unfortunately, the app still fails to start.
Questions:
WTF have I done?!
Thanks in advance for any help or suggestions!