this post was submitted on 24 Jul 2026
20 points (95.5% liked)

Selfhosted

60910 readers
1149 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I was having some issues with Invidious the other day, which I resolved. However, I came across this tidbit of info that I'd never seen before when I first deployed it:

Post-install configuration:

Highly recommended

Because of various issues, Invidious must be restarted often, at least once a day, ideally every hour.

https://docs.invidious.io/installation/#windows

Anyone else observing this weird restart schedule?

you are viewing a single comment's thread
view the rest of the comments
[–] TeaWithDani@lemmy.world 6 points 20 hours ago* (last edited 20 hours ago) (1 children)

I haven't used this tool specifically, but anything involving Youtube is always going to be an uphill battle. In the instance of a video downloader like Channeltube, you frequently need to feed it fresh cookies to make sure Youtube doesn't flag it as a bot. I assume this is a similar situation.

The requirements also list ''2gb if you restart frequently'' so there might be a memory leak issue, or the way it's setup means the RAM usage will increase in perpetuity.

I would just script a task to restart the docker container every hour. Shouldn't be too much a hassle, you're unlikely to ever notice since it shouldn't take more than a few seconds. I would track its RAM usage over a few days too. See if there's something fishy happening. Something like Beszel will let you track your docker socket, so usage per container. Preferably left on read only imo.

[–] irmadlad@lemmy.world 3 points 20 hours ago (1 children)

I would just script a task to restart the docker container every hour. Shouldn’t be too much a hassle.

Yeah, I was thinking about that. A script fired by a cron every hour. I do have the occasional, rare issue with Invidious. So, I'm wondering if indeed I need more restarts. It couldn't hurt.

[–] TeaWithDani@lemmy.world 2 points 20 hours ago (1 children)

What kind of issues have you had? How did you resolve them?

[–] irmadlad@lemmy.world 1 points 20 hours ago (1 children)

Well, it was quite simple and I feel a bit embarrassed. LOL When I ran an update, I thought it updated all three components: Invideous itself, the companion app, and the database. However, only the Invidious and database updated leaving the companion app for whatever reason out of the loop. So after fumbling around and doing a little reading, I just so happened to look at Portainer which has a green checkmark beside the container signifying it's the current version. The companion app had an orange checkmark. So I updated again, and Jack's a doughnut, Bob's your uncle. But during my reading I came across the 'reboot hourly' admonishment that I don't believe I've seen before. Long story short, everything is fine now.

[–] TeaWithDani@lemmy.world 3 points 20 hours ago (1 children)

Oh, I've been there! lol Yeah, you sometimes don't expect to have to update an entire stack, not just one thing. Possible the companion app image was just released later and it wasn't on you either. :P

But yeah, give the cron job a try. I'd be curious to try it out myself! In theory your webinstance shouldn't cut out unless you click on something the exact moment the container is resetting.

[–] irmadlad@lemmy.world 2 points 20 hours ago* (last edited 19 hours ago) (1 children)

In theory your webinstance shouldn’t cut out unless you click on something the exact moment the container is resetting

Most of what I use Invidious for is inspiration and some tutorials such as this I'm trying to learn:

12-string BASS

The guy makes me want to snap the neck of my bass in half.

[–] TeaWithDani@lemmy.world 2 points 19 hours ago (1 children)

Fuck yeah! This slaps. Brb while I get my headphones to listen to it again.

[–] irmadlad@lemmy.world 2 points 19 hours ago

Yeah, if that doesn't move you then you're dead. LOL