I
Immich2w ago
acme64

which UID do i use on a truenas nfs share for the library?

v1.141.1 I had the service working on a synology setup and recently migrated my NAS. When i rsync'd the files to the new NFS share i guess my users weren't set right and now the service has no permissions. (Failed to read (/usr/src/app/upload/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/usr/src/app/upload/encoded-video/.immich') I'm pretty sure all I need is the right UID/GUID. But how do I find out what UID/GUID to use? the container seems be running with uid=0(root) gid=0(root) groups=0(root) Do i set it to 0 in truenas? the library seems to have 1026:users set on the files. I don't have a UID specified in my docker-compose file either. I noticed there's truenas instructions on the site that says use 568(app user), but my setup is a little different so i'm not entirely sure it applies? All I have is the library in an NFS hosted on truenas, immich itself is in a docker container on a seperate server.
9 Replies
Immich
Immich2w ago
:wave: Hey @acme64, 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:
Finn
Finn2w ago
You are right the TrueNAS App itself would run as UID/GID 568, but since you run it on your own it should be root (0).
acme64
acme64OP2w ago
does the group need to be 0 as well?
Finn
Finn2w ago
Should be okay without, since if Immich owns the files all should be good. Personally I like to keep it consistent but it should also not break because of this.
acme64
acme64OP2w ago
i'll give it a whirl ok that worked to bring the service up it seems like anytihng upload in the last couple of weeks is broken in the library though i have thumbnails but the full image wont load is there like a library repair fucntion?
Finn
Finn2w ago
Check the logs for errors. And then the affected raw files. Might still have some incorrect permissions somewhere.
acme64
acme64OP2w ago
sounds good, worst case scenario ill just remove them and reupload thanks for the help!
Finn
Finn2w ago
Sure! If download works but just the medium sized thumbnails are broken, there is a job to regenerate thumbnails in the jobs page
acme64
acme64OP2w ago
hmm, i think i've got the opposite problem, i have the thumbs and not the actual jpeg odd i was messing with rsync a lot maybe i missed something

Did you find this page helpful?