Immich running with hetzner storage box #9896
Replies: 6 comments 15 replies
-
|
Update for anyone else trying the same as me. CIFS can hang/disconnect which causes immich to no longer work. I'm trying out mounting CIFS as hard. Hopefully that causes immich to crash/reboot which will cause docker to reconnect to the CIFS volume. This is getting janky LOL. Edit: It did not work. immich wont crash and restart. it simply fails to read/write. Also it stops logging any errors |
Beta Was this translation helpful? Give feedback.
-
|
considering this as well, that's pretty neat! |
Beta Was this translation helpful? Give feedback.
-
|
This is not really working! I mounted the Storage Box and tried to add the /mnt/hetnzer to the .env in UPLOAD_LOCATION, doesn't work! I get errors and the server doesn't start. |
Beta Was this translation helpful? Give feedback.
-
|
this works like a charm. 👍 awesome solution. |
Beta Was this translation helpful? Give feedback.
-
|
Can you please tell me how to configure fstab that this works?
the mount works, but immich cannot write into the folder
what is the correct uid and gid for this? I thought it should be 0 as everything runs as root |
Beta Was this translation helpful? Give feedback.
-
|
Tried the same, storagebox connected via cifs and only library folder pointing to the storagebox but it does not work reliably. I am now trying hetzner volumes which are fast SSD disks (though more expensive). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Using docker volumes, you can mount a remote storage such as hetzner storage box as your image and updating
UPLOAD_LOCATIONin.env. You need to specify the volume as external in docker compose. I had issues with SSHFS disconnecting, but CIFS is reliable. I'm sure NFS would also do great too. If you are using hetzner, and you are trying to mount a subaccount over CIFS, check out this blog for the commands. The official docs aren't very good with this part.This makes for a pretty cheap self-hosted option, a VPS with lots of storage is expensive. Hetzner charges €3.84 for 1TB which is not bad.
Beta Was this translation helpful? Give feedback.
All reactions