Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Immich
  3. Add Hetzner Storage for Media

Add Hetzner Storage for Media

Scheduled Pinned Locked Moved Immich
21 Posts 7 Posters 4.0k Views 9 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lukas
    wrote on last edited by
    #1

    Hello there,

    I want to add my Hetzner Storage Box to be able to store all my Immich Media on it.
    How I can add the Hetzner Storage Box to Immich? I tried it already via CIFS, but this don't work.

    Would be very cool to explain what I have to do.

    Thank you and regards
    Lukas

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      I think immich has no concept of external "data" directory i.e pick up media from an external location. On Cloudron, data directory has to be ext4 or nfs, so we can support file permissions properly. So, I am not sure if this is possible at all. Maybe @nebulon knows

      1 Reply Last reply
      0
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #3

        As @girish said, I am also not aware, that immich supports multiple data directories and those also have to be real mounted filesystems. In the Cloudron context this means, the app would have to be moved to a volume, which supports all required filesystem features like permissions.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lukas
          wrote on last edited by
          #4

          So no way to store my pictures / videos on external cifs storage? Ok, then I need a server with more space 😞

          BrutalBirdieB 1 Reply Last reply
          0
          • nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote on last edited by
            #5

            For the moment that seems to be the only viable solution unfortunately. We will revisit the possibility to set a cifs mount for the main data location for apps, but I wouldn't count on that.

            1 Reply Last reply
            1
            • L lukas

              So no way to store my pictures / videos on external cifs storage? Ok, then I need a server with more space 😞

              BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote on last edited by BrutalBirdie
              #6

              @lukas said in Add Hetzner Storage for Media:

              So no way to store my pictures / videos on external cifs storage? Ok, then I need a server with more space 😞

              Is it about multiple data directories?
              Or do you just want Cloudron to store everything from that app on a hetzner Storage box?
              If so, yes you can do that: https://docs.cloudron.io/volumes/

              or am I just confused about what is needed right now here?

              Like my work? Consider donating a drink. Cheers!

              L girishG jdaviescoatesJ 3 Replies Last reply
              0
              • BrutalBirdieB BrutalBirdie

                @lukas said in Add Hetzner Storage for Media:

                So no way to store my pictures / videos on external cifs storage? Ok, then I need a server with more space 😞

                Is it about multiple data directories?
                Or do you just want Cloudron to store everything from that app on a hetzner Storage box?
                If so, yes you can do that: https://docs.cloudron.io/volumes/

                or am I just confused about what is needed right now here?

                L Offline
                L Offline
                lukas
                wrote on last edited by
                #7

                @BrutalBirdie said in Add Hetzner Storage for Media:

                If so, yes you can do that:

                I tried this already but Immich don't like CIFS/SMB Volumes

                1 Reply Last reply
                1
                • BrutalBirdieB BrutalBirdie

                  @lukas said in Add Hetzner Storage for Media:

                  So no way to store my pictures / videos on external cifs storage? Ok, then I need a server with more space 😞

                  Is it about multiple data directories?
                  Or do you just want Cloudron to store everything from that app on a hetzner Storage box?
                  If so, yes you can do that: https://docs.cloudron.io/volumes/

                  or am I just confused about what is needed right now here?

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @BrutalBirdie I think the issue here is that immich doesn't support multiple directories.

                  1 Reply Last reply
                  0
                  • BrutalBirdieB BrutalBirdie

                    @lukas said in Add Hetzner Storage for Media:

                    So no way to store my pictures / videos on external cifs storage? Ok, then I need a server with more space 😞

                    Is it about multiple data directories?
                    Or do you just want Cloudron to store everything from that app on a hetzner Storage box?
                    If so, yes you can do that: https://docs.cloudron.io/volumes/

                    or am I just confused about what is needed right now here?

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #9

                    @BrutalBirdie said in Add Hetzner Storage for Media:

                    Or do you just want Cloudron to store everything from that app on a hetzner Storage box?
                    If so, yes you can do that: https://docs.cloudron.io/volumes/

                    or am I just confused about what is needed right now here?

                    The issue is that only EXT4 and NFS mounts can be used for data directories and it isn't possible to mount Hetzner Storage Boxes like that.

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      lukas
                      wrote on last edited by
                      #10

                      Are there any providers which offers NFS storage and are not too expensive?

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        lukas
                        wrote on last edited by
                        #11

                        Hi all,

                        I found an hosting service with NFS support, which is mounted successfully on my Cloudron server:

                        image.png

                        I added it into Immich as Data directory:

                        image.png

                        Means, all data within this Data directory will be part of my backups, I can exclude it but every "manual" backup takes space from my backup location. I hope to have in very near future some options to set different backup locations for my Apps 🙂

                        1 Reply Last reply
                        0
                        • imc67I Offline
                          imc67I Offline
                          imc67
                          translator
                          wrote on last edited by
                          #12

                          did you read this: https://docs.cloudron.io/volumes/#nfs

                          L 1 Reply Last reply
                          0
                          • imc67I imc67

                            did you read this: https://docs.cloudron.io/volumes/#nfs

                            L Offline
                            L Offline
                            lukas
                            wrote on last edited by
                            #13

                            @imc67 said in Add Hetzner Storage for Media:

                            did you read this: https://docs.cloudron.io/volumes/#nfs

                            no, what is this article supposed to tell me?

                            1 Reply Last reply
                            0
                            • imc67I Offline
                              imc67I Offline
                              imc67
                              translator
                              wrote on last edited by
                              #14
                              Insecure traffic
                              Please note that NFS traffic is unencrypted and can be tampered. For this reason, you must use NFS mounts only on secure private networks.
                              
                              L 1 Reply Last reply
                              0
                              • imc67I imc67
                                Insecure traffic
                                Please note that NFS traffic is unencrypted and can be tampered. For this reason, you must use NFS mounts only on secure private networks.
                                
                                L Offline
                                L Offline
                                lukas
                                wrote on last edited by
                                #15

                                @imc67 yes that's fine for me

                                1 Reply Last reply
                                0
                                • nebulonN Away
                                  nebulonN Away
                                  nebulon
                                  Staff
                                  wrote on last edited by
                                  #16

                                  @lukas what is the nfs provider you are using? I might also be interested in checking out that option.

                                  For the backup, is there a specific reason why you don't want backups to be made for the content within immich?

                                  L 1 Reply Last reply
                                  0
                                  • nebulonN nebulon

                                    @lukas what is the nfs provider you are using? I might also be interested in checking out that option.

                                    For the backup, is there a specific reason why you don't want backups to be made for the content within immich?

                                    L Offline
                                    L Offline
                                    lukas
                                    wrote on last edited by
                                    #17

                                    @nebulon said in Add Hetzner Storage for Media:

                                    @lukas what is the nfs provider you are using? I might also be interested in checking out that option.

                                    https://ht-hosting.de/backup-storage

                                    @nebulon said in Add Hetzner Storage for Media:

                                    For the backup, is there a specific reason why you don't want backups to be made for the content within immich?

                                    I plan to install Immich von our Smartphones to have "backup" of all our photos. Currently I have only 1 TB Hetzner Storage for my backups, so I would like to backup Immich data on separate backup storage.

                                    girishG 1 Reply Last reply
                                    1
                                    • L lukas

                                      @nebulon said in Add Hetzner Storage for Media:

                                      @lukas what is the nfs provider you are using? I might also be interested in checking out that option.

                                      https://ht-hosting.de/backup-storage

                                      @nebulon said in Add Hetzner Storage for Media:

                                      For the backup, is there a specific reason why you don't want backups to be made for the content within immich?

                                      I plan to install Immich von our Smartphones to have "backup" of all our photos. Currently I have only 1 TB Hetzner Storage for my backups, so I would like to backup Immich data on separate backup storage.

                                      girishG Offline
                                      girishG Offline
                                      girish
                                      Staff
                                      wrote on last edited by
                                      #18

                                      @lukas said in Add Hetzner Storage for Media:

                                      https://ht-hosting.de/backup-storage

                                      This is a great find and very reasonably priced!

                                      1 Reply Last reply
                                      3
                                      • L Offline
                                        L Offline
                                        lukas
                                        wrote on last edited by
                                        #19

                                        @girish yes definitely!

                                        1 Reply Last reply
                                        0
                                        • R Offline
                                          R Offline
                                          rollermy
                                          wrote on last edited by
                                          #20

                                          Maybe off topic: I have cloudron and immich as the only app installed on https://contabo.com/en/storage-vps/. The 400GB is what made me go for it.
                                          I can't vouch yet for reliability or performance, but seems as expected for $5
                                          Backups sent to Backblaze for cheap price too.

                                          L 1 Reply Last reply
                                          2
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search