Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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

agnos.is Forums

  1. Home
  2. Selfhosted
  3. I've written a series of blog posts about a "hands-off" self-hosting setup intended for relative beginners.

I've written a series of blog posts about a "hands-off" self-hosting setup intended for relative beginners.

Scheduled Pinned Locked Moved Selfhosted
selfhosted
45 Posts 27 Posters 0 Views
  • 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.
  • C [email protected]

    Recently, I've found myself walking several friends through what is essentially the same basic setup:

    • Install Ubuntu server
    • Install Docker
    • Configure Tailscale
    • Configure Dockge
    • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
    • Self-host a few web apps, some publicly available, some on the Tailnet.

    After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

    As of right now, there's:

    • An introduction (with Ubuntu basics)
    • Tailscale setup
    • Optional Docker Explainer
    • Dockge setup with watchtower for automatic updates
    • MicroBin as a first self-hosted webapp

    Coming soon:

    • Immich
    • Backups with Syncthing
    • Jellyfin
    • Elementary monitoring with Homepage
    • Cloudflare Tunnels

    Constructive feedback is always appreciated.

    EDIT: Forgot to mention that I am planning a backups article

    A This user is from outside of this forum
    A This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #3

    Hell yeah, dude.

    1 Reply Last reply
    1
    • C [email protected]

      Recently, I've found myself walking several friends through what is essentially the same basic setup:

      • Install Ubuntu server
      • Install Docker
      • Configure Tailscale
      • Configure Dockge
      • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
      • Self-host a few web apps, some publicly available, some on the Tailnet.

      After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

      As of right now, there's:

      • An introduction (with Ubuntu basics)
      • Tailscale setup
      • Optional Docker Explainer
      • Dockge setup with watchtower for automatic updates
      • MicroBin as a first self-hosted webapp

      Coming soon:

      • Immich
      • Backups with Syncthing
      • Jellyfin
      • Elementary monitoring with Homepage
      • Cloudflare Tunnels

      Constructive feedback is always appreciated.

      EDIT: Forgot to mention that I am planning a backups article

      S This user is from outside of this forum
      S This user is from outside of this forum
      [email protected]
      wrote on last edited by [email protected]
      #4

      This is appreciated. As a hobbyist, I feel like my setup is hold by pins.

      EDIT: I rely on Nextcloud, BTW.

      1 Reply Last reply
      2
      • C [email protected]

        Recently, I've found myself walking several friends through what is essentially the same basic setup:

        • Install Ubuntu server
        • Install Docker
        • Configure Tailscale
        • Configure Dockge
        • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
        • Self-host a few web apps, some publicly available, some on the Tailnet.

        After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

        As of right now, there's:

        • An introduction (with Ubuntu basics)
        • Tailscale setup
        • Optional Docker Explainer
        • Dockge setup with watchtower for automatic updates
        • MicroBin as a first self-hosted webapp

        Coming soon:

        • Immich
        • Backups with Syncthing
        • Jellyfin
        • Elementary monitoring with Homepage
        • Cloudflare Tunnels

        Constructive feedback is always appreciated.

        EDIT: Forgot to mention that I am planning a backups article

        H This user is from outside of this forum
        H This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #5

        This is very cool, but also very dangerous. Many projects release versions that need some sort of manual intervention to be updated, and automatically updating to new versions on docker can lead to data loss in those situations.

        Here’s a recent example from Immich:

        https://github.com/immich-app/immich/releases/tag/v1.133.0

        It is my humble opinion that teaching newbies to do automatic updates will cause them to lose data and break things, which will probably sour them from ever self hosting again.

        Automatic OS updates are fine, and docker update notifications are fine, but automatic docker updates are just too dangerous.

        C T I 3 Replies Last reply
        11
        • H [email protected]

          This is very cool, but also very dangerous. Many projects release versions that need some sort of manual intervention to be updated, and automatically updating to new versions on docker can lead to data loss in those situations.

          Here’s a recent example from Immich:

          https://github.com/immich-app/immich/releases/tag/v1.133.0

          It is my humble opinion that teaching newbies to do automatic updates will cause them to lose data and break things, which will probably sour them from ever self hosting again.

          Automatic OS updates are fine, and docker update notifications are fine, but automatic docker updates are just too dangerous.

          C This user is from outside of this forum
          C This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #6

          That's reasonable, however, my personal bias is towards security and I feel like if I don't push people towards automated updates, they will leave vulnerable, un-updated containers exposed to the web. I think a better approach would be to push for backups with versioning. I forgot to add that I am planning a "backups with Syncthing" article as well, I will take this into consideration, add it to the article, and use it as a way to demonstrate recovery in the event of such an issue.

          O W L R N 5 Replies Last reply
          7
          • C [email protected]

            Recently, I've found myself walking several friends through what is essentially the same basic setup:

            • Install Ubuntu server
            • Install Docker
            • Configure Tailscale
            • Configure Dockge
            • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
            • Self-host a few web apps, some publicly available, some on the Tailnet.

            After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

            As of right now, there's:

            • An introduction (with Ubuntu basics)
            • Tailscale setup
            • Optional Docker Explainer
            • Dockge setup with watchtower for automatic updates
            • MicroBin as a first self-hosted webapp

            Coming soon:

            • Immich
            • Backups with Syncthing
            • Jellyfin
            • Elementary monitoring with Homepage
            • Cloudflare Tunnels

            Constructive feedback is always appreciated.

            EDIT: Forgot to mention that I am planning a backups article

            C This user is from outside of this forum
            C This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #7

            Naturally, the same day that I publish this, I discover that Watchtower is semi-abandoned, so I'm gonna have to look into alternatives to that...

            irmadlad@lemmy.worldI possiblylinux127@lemmy.zipP 2 Replies Last reply
            5
            • C [email protected]

              That's reasonable, however, my personal bias is towards security and I feel like if I don't push people towards automated updates, they will leave vulnerable, un-updated containers exposed to the web. I think a better approach would be to push for backups with versioning. I forgot to add that I am planning a "backups with Syncthing" article as well, I will take this into consideration, add it to the article, and use it as a way to demonstrate recovery in the event of such an issue.

              O This user is from outside of this forum
              O This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #8

              My experience after 35 years in IT: I've had 10x more outages caused by automatic updates than everything else combined.

              Also after 35 years of running my own stuff at home, and practically never updating anything, I've never had an outage caused by a lack of updates.

              Let's not act like auto updates is without risk. Just look at how often Microsoft has to roll out a fix for something an update broke. Inexperienced users are going to be clueless when an update breaks something.

              We should be teaching new people how to manage systems, this includes proper update checks on a cycle, with appropriate validation that everything works afterwards, and the ability to roll back if there's an issue.

              This isn't an Enterprise where you simply can't manually manage updates across hundreds or thousands of servers, and tens of thousands of workstations - this is a single admin, small environment.

              I do monthly update checks, update where I feel it's warranted, and verify systems afterwards.

              C M 2 Replies Last reply
              10
              • C [email protected]

                Naturally, the same day that I publish this, I discover that Watchtower is semi-abandoned, so I'm gonna have to look into alternatives to that...

                irmadlad@lemmy.worldI This user is from outside of this forum
                irmadlad@lemmy.worldI This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #9

                Just call me Mr. BuzzKill. LOL I learned that there is a fork at https://watchtower.devcdn.net/. Deployed it yesterday, and for the first round of updates, everything went as it should. No runs, no drips, no errors. Time will tell.

                C 1 Reply Last reply
                3
                • H [email protected]

                  This is very cool, but also very dangerous. Many projects release versions that need some sort of manual intervention to be updated, and automatically updating to new versions on docker can lead to data loss in those situations.

                  Here’s a recent example from Immich:

                  https://github.com/immich-app/immich/releases/tag/v1.133.0

                  It is my humble opinion that teaching newbies to do automatic updates will cause them to lose data and break things, which will probably sour them from ever self hosting again.

                  Automatic OS updates are fine, and docker update notifications are fine, but automatic docker updates are just too dangerous.

                  T This user is from outside of this forum
                  T This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #10

                  I use diun for update notifications. I wish there was something that could send me a notification, and if I gave it an okay or whatever it would apply the update. Maybe with release notes for the latest version so I could quickly judge if I need to do anything besides update.

                  1 Reply Last reply
                  2
                  • C [email protected]

                    Recently, I've found myself walking several friends through what is essentially the same basic setup:

                    • Install Ubuntu server
                    • Install Docker
                    • Configure Tailscale
                    • Configure Dockge
                    • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
                    • Self-host a few web apps, some publicly available, some on the Tailnet.

                    After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

                    As of right now, there's:

                    • An introduction (with Ubuntu basics)
                    • Tailscale setup
                    • Optional Docker Explainer
                    • Dockge setup with watchtower for automatic updates
                    • MicroBin as a first self-hosted webapp

                    Coming soon:

                    • Immich
                    • Backups with Syncthing
                    • Jellyfin
                    • Elementary monitoring with Homepage
                    • Cloudflare Tunnels

                    Constructive feedback is always appreciated.

                    EDIT: Forgot to mention that I am planning a backups article

                    farraigeplaisteach@lemmy.worldF This user is from outside of this forum
                    farraigeplaisteach@lemmy.worldF This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #11

                    In case it’s of help, a common problem I find with guides in general is that they assume I don’t already use Apache (or some other service), and describe as though I’m starting with a clean system. As a newbie, it’s hard to know what damage the instructions will do to existing services, or how to adapt the instructions.

                    Since docker came along it’s gotten easier, and I’ve learned enough about ports etc to be able to avoid collisions. But it would be great if guides and tutorials in general covered that situation.

                    C 1 Reply Last reply
                    5
                    • C [email protected]

                      Recently, I've found myself walking several friends through what is essentially the same basic setup:

                      • Install Ubuntu server
                      • Install Docker
                      • Configure Tailscale
                      • Configure Dockge
                      • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
                      • Self-host a few web apps, some publicly available, some on the Tailnet.

                      After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

                      As of right now, there's:

                      • An introduction (with Ubuntu basics)
                      • Tailscale setup
                      • Optional Docker Explainer
                      • Dockge setup with watchtower for automatic updates
                      • MicroBin as a first self-hosted webapp

                      Coming soon:

                      • Immich
                      • Backups with Syncthing
                      • Jellyfin
                      • Elementary monitoring with Homepage
                      • Cloudflare Tunnels

                      Constructive feedback is always appreciated.

                      EDIT: Forgot to mention that I am planning a backups article

                      oyzmo@lemmy.worldO This user is from outside of this forum
                      oyzmo@lemmy.worldO This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #12

                      Thanks 😊👌🏻

                      1 Reply Last reply
                      1
                      • C [email protected]

                        Recently, I've found myself walking several friends through what is essentially the same basic setup:

                        • Install Ubuntu server
                        • Install Docker
                        • Configure Tailscale
                        • Configure Dockge
                        • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
                        • Self-host a few web apps, some publicly available, some on the Tailnet.

                        After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

                        As of right now, there's:

                        • An introduction (with Ubuntu basics)
                        • Tailscale setup
                        • Optional Docker Explainer
                        • Dockge setup with watchtower for automatic updates
                        • MicroBin as a first self-hosted webapp

                        Coming soon:

                        • Immich
                        • Backups with Syncthing
                        • Jellyfin
                        • Elementary monitoring with Homepage
                        • Cloudflare Tunnels

                        Constructive feedback is always appreciated.

                        EDIT: Forgot to mention that I am planning a backups article

                        S This user is from outside of this forum
                        S This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #13

                        Even though I’m already experienced in self-hosting, I absolutely love that you’re making this available. We need more on-ramps for newbies. Cheers!

                        1 Reply Last reply
                        7
                        • irmadlad@lemmy.worldI [email protected]

                          Just call me Mr. BuzzKill. LOL I learned that there is a fork at https://watchtower.devcdn.net/. Deployed it yesterday, and for the first round of updates, everything went as it should. No runs, no drips, no errors. Time will tell.

                          C This user is from outside of this forum
                          C This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #14

                          Sweet! Thank you!
                          I'll test it out and update the blog posts to reflect that

                          1 Reply Last reply
                          0
                          • farraigeplaisteach@lemmy.worldF [email protected]

                            In case it’s of help, a common problem I find with guides in general is that they assume I don’t already use Apache (or some other service), and describe as though I’m starting with a clean system. As a newbie, it’s hard to know what damage the instructions will do to existing services, or how to adapt the instructions.

                            Since docker came along it’s gotten easier, and I’ve learned enough about ports etc to be able to avoid collisions. But it would be great if guides and tutorials in general covered that situation.

                            C This user is from outside of this forum
                            C This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #15

                            Hmmmm that's a good point. I'll try to work. that in P: cause Tailscale can cause issues if you're already doing Wireguard or something.

                            1 Reply Last reply
                            3
                            • C [email protected]

                              Recently, I've found myself walking several friends through what is essentially the same basic setup:

                              • Install Ubuntu server
                              • Install Docker
                              • Configure Tailscale
                              • Configure Dockge
                              • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
                              • Self-host a few web apps, some publicly available, some on the Tailnet.

                              After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

                              As of right now, there's:

                              • An introduction (with Ubuntu basics)
                              • Tailscale setup
                              • Optional Docker Explainer
                              • Dockge setup with watchtower for automatic updates
                              • MicroBin as a first self-hosted webapp

                              Coming soon:

                              • Immich
                              • Backups with Syncthing
                              • Jellyfin
                              • Elementary monitoring with Homepage
                              • Cloudflare Tunnels

                              Constructive feedback is always appreciated.

                              EDIT: Forgot to mention that I am planning a backups article

                              gedaliyah@lemmy.worldG This user is from outside of this forum
                              gedaliyah@lemmy.worldG This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #16

                              This is great, thanks!

                              1 Reply Last reply
                              1
                              • H [email protected]

                                This is very cool, but also very dangerous. Many projects release versions that need some sort of manual intervention to be updated, and automatically updating to new versions on docker can lead to data loss in those situations.

                                Here’s a recent example from Immich:

                                https://github.com/immich-app/immich/releases/tag/v1.133.0

                                It is my humble opinion that teaching newbies to do automatic updates will cause them to lose data and break things, which will probably sour them from ever self hosting again.

                                Automatic OS updates are fine, and docker update notifications are fine, but automatic docker updates are just too dangerous.

                                I This user is from outside of this forum
                                I This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #17

                                Immich is still unstable. This shouldn't happen to a stable project.

                                What it tells me is that you need a regular backup

                                H 1 Reply Last reply
                                2
                                • O [email protected]

                                  My experience after 35 years in IT: I've had 10x more outages caused by automatic updates than everything else combined.

                                  Also after 35 years of running my own stuff at home, and practically never updating anything, I've never had an outage caused by a lack of updates.

                                  Let's not act like auto updates is without risk. Just look at how often Microsoft has to roll out a fix for something an update broke. Inexperienced users are going to be clueless when an update breaks something.

                                  We should be teaching new people how to manage systems, this includes proper update checks on a cycle, with appropriate validation that everything works afterwards, and the ability to roll back if there's an issue.

                                  This isn't an Enterprise where you simply can't manually manage updates across hundreds or thousands of servers, and tens of thousands of workstations - this is a single admin, small environment.

                                  I do monthly update checks, update where I feel it's warranted, and verify systems afterwards.

                                  C This user is from outside of this forum
                                  C This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #18

                                  I don't disagree with any of that, I'm merely making a different value judgement - namely that a breach that could've been prevented by automatic updates is worse than an outage caused by the same.

                                  I will however make this choice more explicit in the articles and outline the risks.

                                  W ikidd@lemmy.worldI 2 Replies Last reply
                                  4
                                  • C [email protected]

                                    Recently, I've found myself walking several friends through what is essentially the same basic setup:

                                    • Install Ubuntu server
                                    • Install Docker
                                    • Configure Tailscale
                                    • Configure Dockge
                                    • Set up automatic updates on Ubuntu/Apt and Dockge/Docker
                                    • Self-host a few web apps, some publicly available, some on the Tailnet.

                                    After realizing that this setup is generally pretty good for relative newcomers to self-hosting and is pretty stable (in the sense that it runs for a while and remains up-to-date without much human interference) I decided that I should write a few blog posts about how it works so that other people can set it up for themselves.

                                    As of right now, there's:

                                    • An introduction (with Ubuntu basics)
                                    • Tailscale setup
                                    • Optional Docker Explainer
                                    • Dockge setup with watchtower for automatic updates
                                    • MicroBin as a first self-hosted webapp

                                    Coming soon:

                                    • Immich
                                    • Backups with Syncthing
                                    • Jellyfin
                                    • Elementary monitoring with Homepage
                                    • Cloudflare Tunnels

                                    Constructive feedback is always appreciated.

                                    EDIT: Forgot to mention that I am planning a backups article

                                    W This user is from outside of this forum
                                    W This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #19

                                    Set up automatic updates

                                    Immich

                                    You like to live dangerously, right?

                                    M C possiblylinux127@lemmy.zipP 3 Replies Last reply
                                    30
                                    • W [email protected]

                                      Set up automatic updates

                                      Immich

                                      You like to live dangerously, right?

                                      M This user is from outside of this forum
                                      M This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #20

                                      Raid is a backup

                                      N 1 Reply Last reply
                                      7
                                      • I [email protected]

                                        Immich is still unstable. This shouldn't happen to a stable project.

                                        What it tells me is that you need a regular backup

                                        H This user is from outside of this forum
                                        H This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by [email protected]
                                        #21

                                        This absolutely can happen to stable projects. This has happened with Mastodon many times, and Mastodon has been stable for years.

                                        It also has happened with Nextcloud many times, and again, Nextcloud has been stable for years.

                                        It’s not a stability thing, it’s an automation thing. We as devs can only automate so much. At a certain point, it becomes up to you, as the administrator, to manually change things. Things like infrastructure changes, and database migrations, where the potential downtime if we automate it is something we need to consider.

                                        I 1 Reply Last reply
                                        3
                                        • M [email protected]

                                          Raid is a backup

                                          N This user is from outside of this forum
                                          N This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #22

                                          Here. You dropped this: /s

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


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups