this post was submitted on 07 Apr 2024
46 points (96.0% liked)

Selfhosted

40041 readers
749 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 1 year ago
MODERATORS
 

TL;DR: is there an app that can alert me when a new version of some other app is available?

I have about 12 - 15 services (freshrss, heimdall, photoprism, Wordpress, etc) running using docker compose spread across 4 hosts. Through my self-hosting journey I’ve been burned a few times using “latest” images so I now pin app image versions within compose.

The problem then becomes that every couple of weeks, I have to go out to different GitHub’s, docker hub, etc. to see if a new update for that service is available. It gets a bit tedious with 12-15 services every couple of weeks so I need a centralized and more efficient way of “keeping up”.

Is there some type of app that can track whether an app/service has a new version available? Ideally it can send me some type of notification, self-hostable, and ideally not Portainer?

top 35 comments
sorted by: hot top controversial new old
[–] socphoenix@midwest.social 27 points 7 months ago (2 children)

GitHub has the option of emailing you on releases etc. by email.

[–] Cupcake1972@mander.xyz 12 points 7 months ago (1 children)
[–] mark@programming.dev 3 points 7 months ago* (last edited 7 months ago)

Yeah, depending on the branch I've found that method not to be too reliable. openrss offers branches for RSS feeds for commits on every branch though: e.g. https://openrss.org/github.com/octokit/octokit.rb/commits/main

[–] lal309@lemmy.world 3 points 7 months ago

Simple solution. I like it! Although I think it will get lost in the sea of daily emails….

[–] dezvous@lemmy.world 18 points 7 months ago (2 children)

I just subscribe with RSS to the releases page on github of each project

[–] megaman@discuss.tchncs.de 7 points 7 months ago

Thanks!

If im doing this right, the url is just the releases page for the repo with a .atom at the end. So for Vaultwarden it is https://github.com/dani-garcia/vaultwarden/releases.atom

[–] lal309@lemmy.world 5 points 7 months ago

This sounds like the simplest and most effective solution. Thanks!

[–] Mutterwitz@feddit.de 14 points 7 months ago* (last edited 7 months ago) (1 children)

Maybe take a look at Diun or Watchtower

I use Diun and ntfy to get push notifications about new docker image versions on my smartphone. Other options include notifications for Discord, mail, MQTT, Slack, Webhook and more.

[–] lal309@lemmy.world 2 points 7 months ago (1 children)

Was not aware of Diun, will check out!

[–] wreckedcarzz@lemmy.world 4 points 7 months ago (1 children)

Taking a brief look at that blog post, the author doesn't know that wt can be set to only notify... Or that wt can be set to act at specific date or time... It's like they never looked at the wt env variables at all, just yolo defaults and then complain that it doesn't do what they want out of the box ('because my settings are the best and they should clearly be the default for everyone!'). For someone who spent much time exploring other options and complaining, they didn't take ~10 minutes to learn that the initial issue was indeed themselves.

(I use wt and set up many options to avoid these issues, successfully)

[–] B0rax@feddit.de 1 points 7 months ago (1 children)

While of course Watchtower can be configured to not update and only notify there is also a nice, lightweight alternative out there that is built only for image update notifications: Diun.

I think he looked at it.

[–] wreckedcarzz@lemmy.world 1 points 7 months ago

Why did they spend 8 paragraphs of 'this is terrible' and then be like 'but you can change that, though I decided not to'. I dunno, the whole post is stupid, imo. It's complaining about something that has already been resolved, then suggesting a different solution.

shrug

[–] vegetaaaaaaa@lemmy.world 11 points 7 months ago (1 children)
[–] lal309@lemmy.world 5 points 7 months ago (1 children)

Love that username tho!! Yeah might just do RSS. I already run FreshRSS and it’s ability to filter stuff would probably come in handy too

[–] Strit@lemmy.linuxuserspace.show 3 points 7 months ago

RSS notifications from their respective release pages is how I'm doing it.

[–] schmurian@lsmu.schmurian.xyz 6 points 7 months ago (2 children)

I used this for a while, aside from rss feeds: newreleases.io

[–] mhzawadi@lemmy.horwood.cloud 2 points 7 months ago

Plus 1 for newreleases.io, I use it for both GitHub repos and docker hub things.

You can get alerts to a boat load of things on a daily week or monthly basis

[–] lal309@lemmy.world 1 points 7 months ago (1 children)

Interesting… do you like this way more or the rss route more?

[–] schmurian@lsmu.schmurian.xyz 1 points 7 months ago

Not more but I would say it offers some additional options and integrations, because it's api based. For example, on my server I connected it with ntfy.sh which executes the command to pull the update, for the apps' docker container. (It's working 90% of the time)

[–] halm@leminal.space 6 points 7 months ago* (last edited 7 months ago) (1 children)

I don't know how well this is supported by sundry source repos but off the cuff I'd say you're looking for an RSS feed of their individual releases?

Edit: Github seems to have release feeds for projects: https://piraces.dev/short-bits/github-releases-feed-atom/

[–] lal309@lemmy.world 3 points 7 months ago

After you mentioned it, I looked it up too and stumbled on a similar answer to that link. Thanks!

[–] mbirth@lemmy.mbirth.uk 5 points 7 months ago

I just have Watchtower stopped and configured in "one-shot" mode sitting on all my Docker hosts. And when I'm in the mood of updating and fighting with possible issues, I just run it. Works much better for me than some update notification popping up in the worst possible moment, me dismissing it and then forgetting about it. 🤣

[–] iggy@lemmy.world 4 points 7 months ago (1 children)
[–] lal309@lemmy.world 1 points 7 months ago

This looks interesting too

[–] blackbarn@lemm.ee 4 points 7 months ago* (last edited 7 months ago)

I use renovate myself. Via a cron job against a self hosted gitea instance.

https://github.com/renovatebot/renovate

Works for many dependency types including docker images. You can also have it pin non version tags (using digests).

[–] __init__@programming.dev 3 points 7 months ago

If you have your compose files in git, you might be able to use renovate to send you pull requests with image updates. I’ve done something similar with kubernetes but I think it supports docker compose too. You might need some kind of automation on your hosts to keep things in sync.

[–] Moonrise2473@feddit.it 3 points 7 months ago
[–] HumanPerson@sh.itjust.works 2 points 7 months ago (1 children)

Watchtower will automatically update docker containers.

[–] lhamil64@programming.dev 1 points 7 months ago (1 children)

That will just pull the latest image though right? I.e., if you explicitly have a container on a tag for v1.2.3, it wouldn't upgrade you when v1.2.4 is released right?

[–] HumanPerson@sh.itjust.works 2 points 7 months ago (1 children)

Yes, but I believe it can be configured for notifications as well, I just never needed that.

[–] lhamil64@programming.dev 1 points 7 months ago

No, I mean doesn't it only look for updates of the current tag? That works fine if you set every container to the "latest" tag, but if you set your containers to specific version tags then you won't get a notification unless that specific tag gets updated.

[–] bluegandalf@lemmy.ml 2 points 7 months ago* (last edited 7 months ago)

Check out WhatsupDocker. I use the same to inform me of updates. It is self-hostable as well. I then use the WUD widget for homepage to let me know that there's an update available on my dashboard

[–] Nibodhika@lemmy.world 1 points 7 months ago

I use diun and rss feeds. So far I've had different levels of success with different services.

For example for Immich the RSS is a lot more useful because it lets you know when you need to run manual steps.

[–] crony@lemmy.cronyakatsuki.xyz 1 points 6 months ago

I selfhost an instance of ntfy and changedetecttion.

Ntfy is for simple push notifications from absolutely anything, even just curl.

Changedetection is for detecting changes on websites, prices, is something in stock, ... It supports ntfy for push notifications so I just add the releases page from github to changedetection and then I get a push notification on my phone when anything gets an update.

[–] MrSoup@lemmy.zip 0 points 7 months ago* (last edited 7 months ago)

The best thing would be to make yourself a web crawler which get executed by cron.
I'm not sure there is something which check some specific strings on some specific github repos for checking updates, but I could be wrong.