Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Container paths question

Featured Replies

I'm running the Immich container and would like to keep the thumbnails on the cache drive for faster manipulation of GUI image browsing. Within the container /photos contains directories encoded-video, librarythumbs and  upload.

 

I currently have /photos mapped to /mnt/user/immichphotos/

 

As I understand you can't have subdirectories mapped to different drives that are under the same share so I would have to create paths in the container template for each of the directories above encoded-video, librarythumbs and  upload.

 

So would this be the correct method?

 

(container path > unraid path)

/photos/encoded-video/ > /mnt/user/immichphotos/encoded-video/

/photos/library/ > /mnt/user/immichphotos/library/

/photos/upload/ > /mnt/user/immichphotos/upload/

/photos/thumbs/ > /mnt/user/immichthumbs/ (new share, set to Cache only)

 

Then I'd have to manually move the files. Does this make sense?

Solved by martabal

  • Solution

Sounds good

  • Author

Thanks @martabal I know this was more of an unRAID question. But appreciate all your help with my questions on Github as well 🙏

  • 2 months later...

I have been struggling to get this to work sadly. Initially I have setup the container so that /photos would use a share in my array. It then created the mentioned subfolders (encoded-video, librarythumbs and  upload.)

 

However, now I would want to move the thumbs folder to cache, so I edited the container paths (deleted the default /photos path) and created the new ones suggested by adminmat. I then only moved the existing folder  thumbs (which was on a share in the array) to a new share that sits in the cache.

However now whenever I start Immich it seems that it doesn't fetch those files as it says the following in the log:

Error: ENOENT: no such file or directory, access '/photos/thumbs/

I am also unable to open any photos, so I suspect that Immich isn't also connecting to the already existing library folder.

 

@adminmat did you do anything else in the container settings?

 

Edited by Tarnished
More information added

  • 3 weeks later...

Hey @Tarnished,

Did you end up getting this resolved, if you still need help let me know, took me awhile to get it working.

  • 3 months later...
On 4/14/2024 at 4:30 AM, zac_ary said:

Hey @Tarnished,

Did you end up getting this resolved, if you still need help let me know, took me awhile to get it working.

Hi, would you care to share step by step guide on how did you make it work. I followed spaceinvader guide to setup the immich. Thanks.

  • 4 weeks later...
On 8/4/2024 at 2:23 PM, Januszmirek said:

Hi, would you care to share step by step guide on how did you make it work. I followed spaceinvader guide to setup the immich. Thanks.

Hey sorry for the delay, I havent checked the forum in a while.

Did you end up figuring it out, or still need help?

1 hour ago, zac_ary said:

Hey sorry for the delay, I havent checked the forum in a while.

Did you end up figuring it out, or still need help?

All good now:) as it was mentioned here all that was needed was actually for the /thumbs folder to be moved to cache drive and remapping configured. Couldn't believe it was that simple.

  • 4 months later...
On 1/24/2024 at 1:41 PM, adminmat said:

I'm running the Immich container and would like to keep the thumbnails on the cache drive for faster manipulation of GUI image browsing. Within the container /photos contains directories encoded-video, librarythumbs and  upload.

 

I currently have /photos mapped to /mnt/user/immichphotos/

 

As I understand you can't have subdirectories mapped to different drives that are under the same share so I would have to create paths in the container template for each of the directories above encoded-video, librarythumbs and  upload.

 

So would this be the correct method?

 

(container path > unraid path)

/photos/encoded-video/ > /mnt/user/immichphotos/encoded-video/

/photos/library/ > /mnt/user/immichphotos/library/

/photos/upload/ > /mnt/user/immichphotos/upload/

/photos/thumbs/ > /mnt/user/immichthumbs/ (new share, set to Cache only)

 

Then I'd have to manually move the files. Does this make sense?

Finding this thread much later but running into the same setup goal. I too have minimal knowledge/skills with setup and usually need pretty detailed guides. I followed Spaceinvader one's guide for initial setup and use the internal redis so I also have backups and profile in my immich share. If I am following correctly, I just need to replace the existing /photos/ > /mnt/user/immichphotos path with the following paths

 

/photos/encoded-video/ > /mnt/user/immichphotos/encoded-video/

/photos/library/ > /mnt/user/immichphotos/library/

/photos/upload/ > /mnt/user/immichphotos/upload/

/photos/thumbs/ > /mnt/user/immichthumbs/ (new share, set to Cache only)

/photos/profile/ > /mnt/user/immichphotos/profile/

/photos/backups/ > /mnt/user/immichphotos/backups/

 

them move my thumbnails from /mnt/user/immichphotos to /mnt/user/immichthumbs

 

Is it really that easy? Will it stay that easy with the internal redis being utilized?

 

Thanks all!

15 hours ago, CursedReign said:

it really that easy

Not going to comment on the paths or redis (looks ok to me) as I don’t use the container, but to understand path mapping look at 

 

(I always search for dancing girls to find it)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.