Truenas + Immich + External
I got some great help yesterday with figuriung out how could create my dataset and got immich running. Today I've been trying for hours to get external library imported, with the official guide not getting me anywhere. Any tube video I watch setup for docker or proxmox but not definitively for Truenas.
I'm on latest Truenas.
Under additional storage chose host path.
mount path /myphotos1
Then pointed to the path of the photos, which is:
/mnt/Storage/Storage_Photo_Archive/Main Photos/Family
The in immich web ui,
new external library, path: /myphotos1
But does not validate. I've tried full path, different names. What am I doing wrong? Thanks
41 Replies
:wave: Hey @DaveDee,
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. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
2. :blue_square: read applicable release notes.
3. :blue_square: reviewed the FAQs for known issues.
4. :blue_square: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: 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.What are the permissions on the dataset?
It should at least authorize the "apps" user to read it
Or modify if you want to be able to delete photos of this mount from Immich
Oh hey. Well the dataset is storage_photo_archive, these have been set as Samba. It was a guide I followed from tube.
The actual folder I'm trying to share is nested further within and I have been accesing the folder in windows to add photos.
So, I assume the dataset is ok?
Can you share the permissions of this dataset?
click on the dataset, there are multiple widget on the right, one of them is "permissions"
How do mean share, here? I do see the permissions box. In the 'roles' section, it does say it's being used by immich.
Yeah, a screenshot, like this

Maybe hide names if there are private info

Ok, so that is the dataset where the subfolder is?
If that is the casen you have to add the user "apps" to the permissions
click "edit" -> Add item
In the user field, search for apps
then click on apply permissions recursively
Then savec access control list
Thats the foremost folder, the folder I'm trying to share is within but does not have it's own dataset. Do I need to set the subfolder (or any other other folders), with their own datasets?
No, not necessary, the dataset apply the permissions to all the folders/files it contains (if you click on apply permissions recursively)
If you want to manage each subfolder with different permissions, you could separate them in multiple datasets, but otherwise there is no need for that
Updating the permission of the dataset, will update them for all its folder, and should fix your issue (should being the keyword)
ok, standy by.
How do I update the permissions, within edit?
There is an add item, right?
I found it, applied permissions recursively. What about child permissions?
No need, there is no child dataset
you could check the box, but it shouldn't change anything
Theres wasn't an add item, but found what you said in 'edit'. I left the child permissions unchecked
Can you show me a screenshot of what it shows when you click edit?

"+ Add Item"
under the list on the left side
A grey button
Understood, clicked...but what am I addding?
in the use field, search for apps
you want to give the user "apps" modify permissions on this dataset
Who is User
And User should be apps
Then you check the apply permissions recursively and oyu send a screenshot so I can double check
I cant search for apps, it simply flashes.
Could you try on another web browser?
OK. I'm using libre, I'll try woth brave.
Same on brave, the white box comes up when I click add but typing dioes not populate anything.
Where are you typing?
You can't do that?
Got it, my apologies, was confused which area the searchg for apps was required
Don't forget the apply permissions recursively
done that too.

Ok nice! Can you check in Immich when you validate the path, if that works?
Excellent, so the folder validates but under the jobs section, no images have been found.
Have you rescan the external library?
I've clicked scan from the three dots, then sacn all libraries above.
Are you sure that your image are in this sub folder, and that it is mounted correclty?
Could you maybe share a screenshot of the additional storage
As well as how it is set in Immich in the external library?
Oh, apologies, it's actually working. Must have have needed a minute. MY system is a intel n150, so not sure if it needed time.
Yes maybe 😄
ha. Dont laugh too much, its a decent energy saving cpu, but I knew it would be slow a bit. Tbh, jellyfin runs smooth on this cpu. I wont need any fancy, complex apps. So should be ok
No, I agree with that, it's great for low consumption, I've its "big brother" (n305) as one of my machine
But my trueNAS install is wayy more powerful but consumes also way more
Oh ok, I was looking at their n305 based system board too, but was trying to keep the costs low, plus didn't need that much grunt. I do have 32gb RAM, which should be helpful and storage is the other big cost. I will need to either setup another nas (maybe truenas) but something simpler.
i think your requirements are greater especially for your masters too.
Anyway, thanks once again. You're a legend in this.
No problem, glad I could help solve this
Next step, need to find the immich or unoffical apps for my android tv, then, then tailscale for outside access, then syncthing. Still lots to learn but patient people like you make it a success.