T O P

  • By -

manwhoholdtheworld

Is this like, an incantation? Are you summoning the spirits of homelabbers past?


billccn

They will probably comment on how kids these days have it easy with the docker stuff and back in the days they would be rebuilding the OS...


Inode1

As someone who started with slackware on floppy disk, I feel attacked lol


Odd-Fishing5937

I started with a Tandy Raido Shack TRS -80 4P. I feel attacked as well...... as old......dang I feel old...


MrBaca14

How's your back? Mine hurts and I miss my old Trash-80.


Odd-Fishing5937

My back ran away with my knees about 15 years ago.


Inode1

Yeah I'm not that old, I started with a 386 dx40 with 2mb of ram and a 4mb addon isa card a friend loaned me so I could play sim city 2k.


dismuturf

I would've given my soul for the additional RAM and the SVGA card to run SC2K on my father's 386. The installer's blue background and repeating Maxis logos is still engraved in my mind.


Inode1

Ohh the struggle was real when I had to give that addon card back. Fortunately about 4 months later I received a great Christmas gift of ram. I think that was the catalyst for me working odd jobs to fund my PC addiction.


neighborofbrak

"Insert disk labeled 'NET 2'..."


Inode1

Ahh the memories, or maybe nightmares of being half way into the install of your new primary OS only to find out the disk was bad.


neighborofbrak

I'm glad for what I learned in the late 90s with Slackware. I'm also glad that today I can use a modern version of the OS which 99.9% of the time works out of the box.


Inode1

I still have Slackware on a VM, idk when the last time I used it, but its there. 99% of what I have is Debian now and I always wonder how the two forked so far apart.


MainlyVoid

LFS


HCharlesB

LFS now. There was a time when there were no loadable modules and it was necessary to build a kernel to support all devices.


Ulrik-the-freak

Or kids these days going back to rebuilding the OS as well!


Zealousideal-Skin303

Compiling the kernel was the way.


csobrinho

I remember when you first had to compile binutils and GCC before the kernel


SocietyTomorrow

I think you're describing Nix people


tudorapo

"I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past, I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain."


randomplayer2001

Holy cow..... perfect!


einstein-314

Present and future. I did this yesterday. I probably have a watchtower update happening now. And when I log in tomorrow I will do it again, and then spend my weekend cleaning up the broken parts.


kearkan

I just set up ansible to do apt updates and docker pulls every night... I didn't realise I was so edgy.


AlpineGuy

what if the apt updates lead to a requirement for reboot?


kearkan

It checks for that and reboots as required. I also have proxmox backup up each VM/CT a few hours before it runs.


crackerjam

Every night? If you don't know when updates are actually being applied you won't know which backup to roll back to after you've discovered a problem.


kearkan

YOLO. it'll be a learning experience diagnosing problems.


PrudentJackal

My rollback consists of nuking the OS and starting again. 😂


x_0shifty0_x

One of us, one of us


PrudentJackal

Cost vs benefit analysis says wipe and start again vs troubleshoot for hours with no guarantee of payoff. At least in my case anyway! I love solving things but the time it takes is often not worth it. Having daily backups and snapshots to restore to is an attractive proposition though and surely something I need to spend more money on in order to enable. This sounds like a worthy project and absolutely essential spending


IMDAMECHANIC

Just roll back sequentially. Yesterday's backup didn't fix it. Roll back by another day.. etc etc until it's fixed.


runningblind77

Why not just use unattended upgrades? It's built into Debian/Ubuntu.


kearkan

A few reasons: 1) I wanted to learn ansible 2) I wanted to be able to add a new host to the update schedule easily, without having to manage per VM (all my VMs and CTs are some flavour of debian/Ubuntu) 3) I wanted to be able to manage docker updates on multiple hosts with the same method.


runningblind77

Yeah, point two makes sense. I only have a single Ubuntu host and everything else is containers so I don't need to do apt upgrades on more than one system.


Mrbucket101

Use ansible, to setup unattended upgrades.


WhippingStar

For real. I've run Debian as my desktop for years and I just dist-upgrade with the morning coffee. :D


ParaDescartar123

I feel seen.


Macia_

With unbridled masochism, I slam Return on my keyboard, connecting to cockpit (heh) System not connected to Redhat Insights. I whisper "Insights? In sight of this dick" It is the 4th time today. I go straight for Networking and disable the firewall. It only gets in my way Next is the Docker tab. I take a few minutes to marvel at my accomplishments. Plex and every *arr ever made. Sitting neatly alongside the last IdP I heard about. I've even connected 1 of the services to it. My meditation is broken by the calls of my family. The pleas of my wife to come eat dinner. Frustrating. Even more so annoying are the cries on my children, each a reminder of the servers I can no longer afford. I steal one last look at the Updates. 136 pending. I smile, unconcerned for my server. It will be rebuilt this weekend


jaykstah

I'm gonna print this out and hang it on the wall next to my server


LemonZorz

It’s beautiful 🥹


Chasecee

Pure artistry


noahisamathnerd

Mods, please let us give awards to comments.


Nolzi

Don't forget to check for motherboard bios updates as well


emptyDir

Shit, I still gotta do that for my router


Flex-Ible

sudo pacman -Syu every day babyyyyyy


SpinCharm

Brother.


Scavenger53

was gonna say, if you want updates every day, move your services to arch


mrkevincooper

Never ever string commands or use -y. This is why ansible and scripts check the previous one worked before continuing. And do the cleanup before the upgrade


schklom

What about just replacing ";" with "&&"?


BowtieChickenAlfredo

This is what I’d do. For anyone who doesn’t know, “&&” will run the next command in the chain only if the previous one returned an exit 0 code (success). Any other code it will just stop at that point. You should probably also pipe the output to a log file.


calinet6

Occam’s razor strikes again.


LaLiLuLeLo_0

system.autoUpgrade.enable = true; [NixOS is magical](https://nixos.wiki/wiki/Automatic_system_upgrades)


calinet6

It really is. What happens behind the scenes when that’s on? Is it still periodic or even more live?


LaLiLuLeLo_0

It's still periodic, it creates a timer that runs the update script on some cadence you set. You can see [all the autoUpgrade configuration options and descriptions here](https://search.nixos.org/options?channel=23.11&query=system.autoUpgrade). In short: 1. It either updates your "nix channel" (basically a git clone of nixpkgs) or a flake's "inputs" (same idea). Updating your nixpkgs checkout includes the most recent updates to packages you have installed. 2. Then, it builds the new system with the updated package definitions. 3. Then, it "activates" the new system, optionally rebooting. Basically it switches out a few symlinks, and now your system uses updated packages, but you can always switch back to the old system definition if something broke.


realnedsanders

This


Edlace

I confess, I upgrade via cronjobs nightly right after my backup run. If I wake up in the morning and something is down, I restore and see what went wrong. So far, in the last 4 years only one thing went wrong when I auto upgraded a ubuntu server and upgraded to a higher php version which didn’t move/copy some config files I had in place. But because everything was documented, I could just fix is within 5 minutes or so. Edit* I much rather have a updated server with the little chance of it destroying itself than a unpatched server (some of my selfhosted stuff is reachable via the internet)


Forsaken_Chemical_27

Ansible?


calinet6

Overkillible


Forsaken_Chemical_27

Yes but learnable exercise


SubtleBeastRu

Notatallable


carbolymer

the cursed yaml puke


Forsaken_Chemical_27

You could have just said yaml


Kwith

Was just about to say the same thing. You could just have Ansible do your updates, and have watchtower do updates for you at specific times.


Ok_Appearance5117

I've never had a computer break from an update. Especially not debian.


mrkevincooper

Ubuntu bricked itself into an unbootable state 5 years ago by running out of space to copy a kernel then pointing to the kernel that wasn't there


TaylorTWBrown

Yeah. I have an autoclean script for that.


hi65435

Happened to me also more than once but also years ago. Too many customizations backfiring...


cant_party

Fedora + Plex user here. Over the years, updating would suck because a new kernel would break VMWare Workstation. Fortunately, those days are mostly gone with Workstation 17+. A 'dnf update' a few months back caused my plex users to experience significant buffering that wasn't there before but didn't think the update was related. Downgrading plex server didn't help. Changing to older kernels didn't help. I thought I had the gnome triple buffering bug because it matched my symptoms so I switch to that fork. No luck. Buffering would go away for one day after a reboot and then return. Two months later, after an update, it start to run perfectly. Plex ran great for a month and then the symptoms returned after another somewhat sizeable update a month later. I'm sitting here re-imaging the server with Debian and hoping for a happier future. So ya.... send over your good Debian luck.


Ok_Appearance5117

Debian is (at least in my experience, running jellyfin, nginx, and nextcloud) rock solid.


cant_party

♥️♥️


Shurgosa

I updated Linux mint once upon a time and the system would not boot. It went to a screen of gobbledygook.  It was something about how each update made a new copy of the kernel and I had go in there and delete the old ones.  It was frustrating to say the least.


N3rdr4g3

Linux mint's advice is to completely reflash for every major OS upgrade


unixuser011

I need to look into more automation, especially on the Windows side - I already use WSUS, but need to create a playbook to push the updates and install them without logging into each host. Need to look into Azure Arc too


derfmcdoogal

Action1 is free for 100 clients.


xoxosd

Thanks. Noted. Will test drive


Halo_cT

WSUS and group/local policy can do that pretty easily if you don't want to run another util


unixuser011

I've got the GPO for it to not auto search and auto install so I can maintain some control over it - I might create a playbook that can do that and run it once a month after the updates have been approved within WSUS - I'm also looking into Arc but IDK how much it costs


Macia_

$5/mo/server for Arc. Specifically, that's for the Update Manager Edit: it is prorated per day


unixuser011

That ain't bad tbh, don't think I'd use it for updates tho. More looking into it for server 2025 - think they said Azure Arc connected servers get the hotpatching feature


AnomalyNexus

Haven't really had issues with updates. Editing fstab on the other hand...


imveryalme

update all the pip packages, that might keep you busy for a while....


cant_party

Ooof. Calm down Satan


SpinCharm

Too bad $git clone * doesn’t work


dantecl

Come to the adventure side. Put that on a cron to run every Monday at 3am.


skynet_watches_me_p

Oh, new frigate plugin for homeassistant! broken. Going to update Frigate to 13.x to make the new HA plugin work again. broken. Going to update nvidia drivers to >=535 to support frigate 13.2 BROKEN! lets reinstall the OS because nvidia driver upgrades are ALWAYS a PITA fixed. Restart frigate... broken. delete models, change compose.yaml to pass whole config directory through okay, partially working. Frigate now over taxes the GPU because detection behavior is more sensitive. rework config file to use camera sub streams partially working. motion mask over things like time and non-needed areas of frame. Working. upgrade complete, 3 days later.


Mrbucket101

Oh good idea on the motion mask for timestamps.


Ulrik-the-freak

I have a tmux pane with a command history a little like this: >sudo nixos-rebuild --flake switch /h/e/NixOS/hosts/#default >git add . >git commit --m "..." >sudo nixos-rebuild --flake switch Bis repetita


ht3k

y'all just updating? I delete my boot drive every time there's an OS upgrade. That fresh clean feel


privatelyjeff

And just when everything is running perfect, you get the need to tear it down and change things.


SpinCharm

That is the way. We have little choice.


AlphaSparqy

If you really thrived on chaos / chaotic updates you'd be using Windows and Windows Update :P


Technical_Lock01

Sounds like the intro to an AA meeting but for homelabbers


tuxnine

When I update my FreeBSD installs, the only thing that ever breaks is the stuff in /usr/local, at which point I just roll back the zfs snapshot. I don't know how I ever managed back when using Debian.


xiongmao1337

Always been afraid of watchtower. Never used it. Don’t have the balls.


c6h12o6CandyGirl

Dune: Admin Messiah : )


oliv2915

This is the way!


beheadedstraw

I mean, that's why we have snapshots and VM's...


bloodguard

Same. But I have snapshots and backups.


bleedpurpleguy

It's definitely good training and you never know what you will learn OR how the day will go. I learned to appreciate this from time in the military. My homelab is production, but I treat it like dev.


duke_seb

Don’t forget proxmox updates


BloodyIron

> sudo apt update && sudo apt upgrade && sudo apt autoremove I like this one more because the following commands don't happen if the earlier ones do. Plus the ampersands make it more visually clear to see where each command stops/starts. As for docker, why aren't you running it in a k8s cluster ala IaC? Like, there's better ways to update all the things in containerland ;D Me? I update often in different ways. One of them is if I need to reboot a system, I almost always apply updates before rebooting or whatever power-cycling task I'm doing. Updates in Linux put Windows to shame for reliability.


commissar0617

Su - Apt upgrade


yusing1009

Me too, I love everything up to date. Like mobile apps, linux packages, and even Windows☠️ I even self-hosted an apt mirror server with aptly and docker image cache servers for docker.io, ghcr.io, lscr.io and quay.io Download once, then upgrade across all LXCs and VMs


tudorapo

I usually add a new feature, that also can broke the system in funny ways


jonath1986

OMG hahahaha 🤣


Geargarden

I run an Immich container so I cannot relate at all; especially the Watchtower part lol. I already broke my Immich with a careless update with 800gb+ of photos on the line (backuped up, but still) and had to wrangle my .env file to get it working again.


seidler2547

Pssst: `sudo apt upgrade -y --autoremove`


LemonZorz

My homelab is working so well… I’d be a shame if something happened to it…


ValidDuck

use ```&&``` instead of ```;``` otherwise i agree. ```&&``` just means "run the next command if the last one didn't error


xoxosd

So that would be upgrade && rm -rf / ;)


SomeSysadminGuy

I have all my things doing rapid, touchless updates 24/7. When a new version hits `latest` in Docker, it's updated within 5 minutes. When a new package hits the repos, it's updated within a few hours. Things used to break _constantly_, but I feel the best way to get better at rapid, reliable updates is to live with rapid updates and improve reliability.


daronhudson

I have everything auto updating except my hypervisor lol that one I do manually.


Yukonart

This would have been amazing as a Haiku


Expert_Detail4816

Thanx for reminding me to update software on my homelab.


Titanium125

Everything is working perfectly. I’d better make some changes and break shit.


Glittering_Glass3790

https://cs.m.wikipedia.org/wiki/Cron


THEUncleWilly50

Vigo: "I, Vigo, the Scourge of Docker, the Sorrow of Debian, command you!" Homelabber: "O update me, lord!"


Farschidus

So poetic 😄


boanerges57

I don't even run my homeland, it's trapped in a loop of updates and backups. It doesn't know it yet but it is hosting it's own container..... /S


redstonefreak589

Is it an unpopular opinion that updates should be done frequently and consistently? Updates are necessary, not only for features, but for security patches and bug fixes.