Or asked the other way around: How long do you keep your servers running without installing any software updates?

update means something like

sudo dnf update

or something ....

apt-get upgrade
apt-get update
you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 9 months ago (2 children)

On Alpine Linux I update my two Pi servers at 2 in the morning daily. It's simpler compared to Debian which needs unattended-updates. Just add apk update && apk upgrade to a cron job and you're good to go.

I only have three docker services which is simple enough to update manually.

I like to keep things as simple as possible for my already chaotic brain.

  • source
  • hideshow 4 child comments
  • [–] 4 points 9 months ago (1 child)

    Be careful with unattended upgrades, even on alpine. A recent breaking change in python3 broke my alpine 23 ansible instance. Thankfully I have backups, but if you're going to automate the upgrade, you should automate tests as well.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 9 months ago

    My web facing server has just enough packages installed to (kinda securely) host a Caddy and Kiwix docker container to work with my domain name and make a comfortable work environment through SSH. My Pi for my HomeAssistant docker container has less because it's locked down to just my local network.

    I also wrote my own install scripts so reinstalling everything and getting it back to a running state would take about 15 minutes for each device.

    And I also wrote my own backup/restore scripts that evolved over 3/4 of a year. I use them often so I have confidence in those scripts.

    I personally don't really care too much. I have multiple ways of dealing with issues for something that's a hobby to me. Which is why I stick to simplicity.

    I'm sure this is a thing for people to worry about when dealing with more complex setups. I just wanna vibe out in my tiny corner of the internet.

  • source
  • parent
  • [–] 2 points 9 months ago (1 child)

    To make it even simpler, apk -U upgrade

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 9 months ago

    apk seems to have some tricks in there that aren't as well known.

    I managed to catch in the IRC channel that apk add doc will automatically download any related man pages for packages with any future downloads through apk. That made life a bit more convenient instead of downloading all those packages separately.

  • source
  • parent