this post was submitted on 03 Mar 2025
33 points (97.1% liked)

Selfhosted

43108 readers
702 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I'm having trouble staying on top of updates for my self hosted applications and infrastructure. Not everything has auto updates baked in and some things you may not want to auto update. How do y'all handle this? How do you keep track of vulnerabilities? Are there e.g. feeds for specific applications I can subscribe to via RSS or email?

you are viewing a single comment's thread
view the rest of the comments
[–] eager_eagle@lemmy.world -1 points 11 hours ago (2 children)
[–] NaibofTabr@infosec.pub 1 points 11 hours ago (1 children)

This is also a great way to just break everything you've set up.

[–] eager_eagle@lemmy.world 2 points 11 hours ago* (last edited 11 hours ago) (1 children)

that's a lot of FUD, topgrade just upgrades using all package managers you have, it doesn't do the upgrades itself bypassing the manager that installed it, or package authors.

[–] NaibofTabr@infosec.pub 1 points 1 hour ago* (last edited 1 hour ago) (1 children)

The issue is more that trying to upgrade everything at the same time is a recipe for disaster and a troubleshooting nightmare. Once you have a few interdependent services/VMs/containers/environments/hosts running, what you want to do is upgrade them separately, one at a time, then restart that service and anything that connects to it and make sure everything still works, then move on to updating the next thing.

If you do this shotgun approach for the sake of expediency, what happens is something halfway through the stack of upgrades breaks connectivity with something else, and then you have to go digging through the logs trying to figure out which piece needs a rollback.

Even more fun if two things in the same environment have conflicting dependencies, and one of them upgrades and installs its new dependency version and breaks whatever manual fix you did to get them to play nice together before, and good luck remembering what you did to fix it in that one environment six months ago.

It's not FUD, it's experience.

[–] eager_eagle@lemmy.world 1 points 1 hour ago* (last edited 1 hour ago)

I've been doing that for years. Rollbacks are very rare, to the point that it doesn't make much of a difference whether I do them all at once or not, other than spending more time to do it.

If I wasn't using containers for everything, sure. Otherwise it's a bit of an excessive concern.

[–] just_another_person@lemmy.world -1 points 11 hours ago (1 children)

This is a bad idea for a number of reasons. Most obvious issue is that it doesn't guarantee anything in the way of actually fixing vulnerabilities, because some project you use may not even be scanning their own work.

[–] eager_eagle@lemmy.world 1 points 11 hours ago (1 children)

what's the alternative? Write a PR yourself?

[–] just_another_person@lemmy.world -1 points 11 hours ago (1 children)

Yup. Really easy in most cases if you're just upgrading a dependency version of something to the next minor release up, but then it has to pass all the project CI tests, and get an actual maintainer to tag it for release. That's how open source works though.

[–] eager_eagle@lemmy.world 1 points 11 hours ago (1 children)

That may work for a handful of projects. It'd be my full time job if I did it for everything I run. Also, I might simply suggest maintainers to adopt dependabot or an alternative before I spend time with manual changes. These things should be automated.

[–] just_another_person@lemmy.world -1 points 11 hours ago (1 children)

Well a PR means an upstream fix for the project. If you want to scan all your local running things, by all means change whatever you want, but it will just be potentially wiped out by the tool you mentioned if running.

[–] eager_eagle@lemmy.world 0 points 11 hours ago (1 children)

dependabot is a tool for repos, not to apply local changes

[–] just_another_person@lemmy.world -1 points 11 hours ago (1 children)

I'm aware, but then you mentioned "manual changes", which connotes "local changes". Putting up a PR with changes isn't considered a manual anything.

[–] eager_eagle@lemmy.world 1 points 11 hours ago (1 children)

“manual changes”, which connotes “local changes”

It doesn't. Manual as in a PR with upgrades that you're suggesting yourself, as opposed to running dependabot.

Putting up a PR with changes isn’t considered a manual anything.

If I have to open a PR myself, that's very much a manual change.

[–] just_another_person@lemmy.world -1 points 10 hours ago (1 children)

I don't even know what you're talking about now, so I'm going to stop responding. If Dependabot was already enabled for a project, you probably wouldn't need to worry, so that negates this entire thread. 🙄

[–] eager_eagle@lemmy.world 1 points 10 hours ago

exactly my point, I'd suggest automating that before I bothered with PRs that upgrade versions, as it's a waste of time.