Open stevetsanders opened 1 month ago
Yes, you can just map each folder to a different location on the host
so /photos/thumbs
mounts to /mnt/cache/immich/thumbs
/photos/library
mounts to /mnt/x/immich/thumbs
and so on...
Ah gotcha, so adding those additional subdirectories would be done via adding another path?
Wondering the same thing! Is such a thing possible within unraid with the community app?
I couldn't find a variable that's used for the thumbnails directory.
EDIT:
I think I managed to do it as per @hydazz's suggestion (not sure how correct it is though):
For reference, this is my /photos
and /libraries
mounts:
you'll want to try to avoid mounting a mount inside a mount, ie above you have /mnt/user/photos_immich
mounted to /photos
, but you also have /mnt/user/appdata/immich/thumbs
mounted inside /photos
- not the end of the world, but may cause issues
I see, thanks.
What's the proper way of doing it?
You need to add these volumes (assuming you are using the storage template):
/mnt/user/photos_immich
→ /photos/library
/mnt/user/appdata/immich/thumbs
→ /photos/thumbs
/mnt/user/appdata/immich/profile
→ /photos/profile
/mnt/user/appdata/immich/encoded-video
→ /photos/encoded-video
/mnt/user/appdata/immich/upload
→ /photos/upload
based on https://immich.app/docs/administration/backup-and-restore#filesystem
I am not using the storage template.
Storage template engine was turned off by default so I didn't turn it on.
EDIT:
I had no idea I could edit the Path: /photos:
variable 😅
Here are my variables:
VARIABLE NAME
: Host Path
-> Container Path
Path: /photos:
: /mnt/user/photos_immich/
-> /photos/library
Path: /libraries:
: /mnt/user/pictures/
-> /libraries
thumbnails
: /mnt/user/appdata/immich/thumbs
-> /photos/thumbs
encoded-video
: /mnt/user/appdata/immich/encoded-video
-> /photos/encoded-video
profile
: /mnt/user/appdata/immich/profile
-> /photos/profile
upload
: /mnt/user/appdata/immich/upload
-> /photos/upload
I also had to create an .immich
file in each of them to get immich to work properly.
I am not using the storage template.
If you're not using the storage template, then you need to change that volume:
upload
: /mnt/photos_immich
→ /photos/upload
and remove /photos/library
Awesome! Thanks @martabal!
Here's the updated mount list in case anyone needs to do a similar setup:
VARIABLE NAME
: Host Path
-> Container Path
Path: /photos:
: /mnt/user/photos_immich/
-> /photos/upload
Path: /libraries:
: /mnt/user/pictures/
-> /libraries
thumbnails
: /mnt/user/appdata/immich/thumbs
-> /photos/thumbs
encoded-video
: /mnt/user/appdata/immich/encoded-video
-> /photos/encoded-video
profile
: /mnt/user/appdata/immich/profile
-> /photos/profile
I'm wondering if it's possible to separate the photo storage location from the generated thumbnails/encoded-video location. I've seen some posts about separating them to take advantage of unraid parity for the actual photos but keep the thumbnails/encoded-video/other stuff on the cache. Ideally the setup would this I think
unraid array:
unraid cache
I know it's possible when setting up your own docker container but wondering if it's still possible when using the community app here