Storage management in Immich?
-
I mounted it with the Cloudron build in mount option in the UI. Are there other options? I guess editing fstab by hand will be overwritten at some point
Here is the output of the
mount
command from the console.root@81deeb68-0628-45ff-bf4c-0e9e294e7935:/media/FSN1-BX1401# mount | grep FSN1-BX1401 //u452885.your-storagebox.de/backup on /media/FSN1-BX1401 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=u452885,uid=808,forceuid,gid=808,forcegid,addr=2a01:04f8:2b03:0981:0000:0000:0000:0002,file_mode=0666,dir_mode=0777,iocharset=utf8,seal,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1)
-
right, so the issue is, CIFS with hetzner only knows one uid which is set there in the mount option. This means there are no real user IDs....does it work if you give all users? Although it is still unclear why you can write but not change
mtime
attribute via touch ascloudron
user, if I understand correctly.I guess that needs more investigation on how to maybe workaround that...
-
right, so the issue is, CIFS with hetzner only knows one uid which is set there in the mount option. This means there are no real user IDs....does it work if you give all users? Although it is still unclear why you can write but not change
mtime
attribute via touch ascloudron
user, if I understand correctly.I guess that needs more investigation on how to maybe workaround that...
@nebulon said in Storage management in Immich?:
does it work if you give all users?
Not sure what you mean here. Mounting the share with other options? I had the impression I can not do that by myself since its managed by Cloudron.
Would love to make this work. If you tell me what to try Im happy put some time in
-
oh right
well you will hit other side-effects then with apps if the filesystem is not actually support those features. This is one of the reasons, we only allow to move the app itself onto very specific filesystems like xfs and ext4. Not sure what can be done if CIFS with hetzner does not allow this. Or maybe you can investigate if you setup the mountpoint manually on the system with other mount options?
-
Footnote: sadly Immich already decided to not support setups where utime is not availble: https://github.com/immich-app/immich/issues/14005
-
@nebulon so, after some trials this works for me:
- mounted my Storagebox as webdav share on the Cloudron host system in fstab by hand
- added that share as a Filesystem Mountpoint Volume in Cloudron
- clean Immich install
- attached that Volume as a Mount to Immich in Immich Storage options
- moved the Immich data directory to a subdirectory on that Mount in Immich Storage option
See any issues that could come up? Mounting things by hand in fstab is fine for Cloudron?
-
I just stumbled across this problem too.
**As a user: I need MASSIVE storage, 2tb+ per user for upload to Immich feature, which works really great and also really great while on Cloudron. Therefore sshfs straight to my backup server is the best course of action.
As a user I don't care about backup of the data I have uploaded to Immich. I am already backing up to MS Onedrive, Google Photos, and Immich will be the third backup location.**
I need to make Immich use an SSHFS mounted volume.
I will have to rely on manual mount of it instead, and make Cloudron believe it is a local folder. I really wanted to use the neat SSHFS mount feature in volumes tho.Why SSHFS. Well NFS could work, but I hate the way NFS locks up and catastrophically fails and locks up the processes that have a lock in the NFS files/folders.
edit:
This didn't work. See support thread on adding volumes, if interested https://forum.cloudron.io/topic/13856/trying-to-add-an-sshfs-mounted-location-as-a-regular-file-type-volume-in-cloudron -