I
Immich•2w ago
Joel Will

External Library on TrueNAS

Hello I am trying to add a folder of photos as an external library to immich. The folder on the same machine that truenas is running on. I think i have set everything up correctly but i keep getting an error like immich isnt able to access the folder. Ive given the apps group permission to modify this dataset i get an error saying path failed validation
No description
No description
No description
14 Replies
Immich
Immich•2w ago
:wave: Hey @Joel Will, 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. :blue_square: 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:
Xiticks
Xiticks•2w ago
It's the apps user not the apps group that has to have the modify permissions I believe Though you could try the group, but have you checked "apply permissions recursively" when adding it? Otherwise it's doesn't update the acl on old files/folders
Joel Will
Joel WillOP•2w ago
Changing to USer instead of group, and being sure to add recursivly. WIll see if that fixes the problem
Xiticks
Xiticks•2w ago
user and recursive should fix it but if you want to try with group you could also. I never tested so that might be interesting to know
Joel Will
Joel WillOP•2w ago
what is the difference between the app group and app user?
Xiticks
Xiticks•2w ago
Well user is a user while a group is a group (thanks captain obvious) So you could have other users that are part of the "apps" group (which the user apps is part of) So group should work It's just that the "defaut" TrueNAS use when you create a dataset for apps is to set the user and not the group, that's why I know it works The group should also work I think
Joel Will
Joel WillOP•2w ago
Thanks for the explanation that makes sense! FYI it is working now!
Xiticks
Xiticks•2w ago
With group?
Joel Will
Joel WillOP•2w ago
No i changed it to a user, didtn want to have any other weird variables 🤣
XT_Raven33
XT_Raven33•2w ago
Hello! im new to immich and truenas and i have this exact problem in my case... but i dont fully understand how you fixed it? so you change the owner of the dataset to root or...? my setup looks as follows: user 569 for immich user is part of group apps and apps has rights to the dataset what am i overlooking and why cant immich validate the path? thanks for the help in advance!! 🙂
No description
No description
No description
Xiticks
Xiticks•2w ago
You did not share any external library there, you set immich actual data storage to be at this place (which isn't what I would recommend) Well even with that, the setup could work but you don't give any info on how you try to mount the path (within Immich) or anything
XT_Raven33
XT_Raven33•2w ago
Ok lets say i change the host path to be for data and not for the external library... so where / how can i mount this dataset in immich as an exterbal library I put the path (just like in host path) into the external library path under "adminstration > external libraries" but i also get validification error that the path doesnt exist... I checked immich documentation and some youtube videos butall of them just have a docker install and thus configure a compose.yml file.. which i cant do since im on truenas right? Thanks for the quick answer btw 😊
Xiticks
Xiticks•2w ago
It is possible to also use pure docker on TrueNAS (as the catalog app use docker), but you'll still have to manage permissions and stuff. For mounting the external library, you can follow this: https://docs.immich.app/install/truenas/#additional-storage-advanced-users it should explain how to set it up "correctly" You can also read the whole guide if you want to reinstall immich in the way described there (I would have said "clean way", but I wrote the guide so I'm biased) And no problem 🙂 If you struggle with anything you can ask me but if you want to ask other question @XT_Raven33 it would be better to either open another help-desk-support or better to ping me in the #truenas channel 🙂
XT_Raven33
XT_Raven33•2w ago
Allright thanks for the info!! Appreciate it! I will check it out! 🙂

Did you find this page helpful?