My path to EU hosted Immich instance on Hetzner servers (Germany + Finland)

In the post you can find:

  • Why Immich
  • Why Hetzner
  • Repository with examples
  • Backup strategy
  • Cost comparison

Hope you will enjoy this post

  • kossa@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    Teach me your magic. Even when trying to mount from a Hetzner VPS my storage box always unmounts, no matter if cifs or sshfs. And then, when the VPS tries to automount again, for some reason the IP gets blocked for some time 😮‍💨

    • kaosterra@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      I followed Hetzner’s docs on how to mount it with a small twist.

      The docs say to edit /etc/fstab to add some automount config using charset=utf8 but the VPS OS did not include the utf8 charset module by default (Ubuntu used to to bundle it but now it doesn’t). So had to run:

      # Install additional packages
      sudo apt install linux-modules-extra-$(uname -r)
      
      # Make OS load nls_utf8 module on boot
      sudo echo "nls_utf8" >> /etc/modules-load.d/cifs.conf
      

      There was a way to load the module without reboot but can’t remember. Once I did that, I followed Hetzner’s docs and that was it.

      • kaosterra@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        and I just found out that running sudo apt full-upgrade may update your kernel which means you have to do the module setup again for the new kernel