Jump to content

Container paths question


Go to solution Solved by martabal,

Recommended Posts

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?

Link to comment
  • 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
Link to comment
  • 3 weeks later...
  • 3 months later...
  • 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?

Link to comment
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.

  • Like 1
Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...