this post was submitted on 05 Oct 2024
36 points (95.0% liked)

Selfhosted

39479 readers
267 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
 

I have an old ThinkPad 11e running Debian that I have repurposed into a home server. It's only supposed to run TVheadend. I don't need any other services for now, but later on i might add a few uding docker.

Is it enough to set multiuser.target as default to disable gui and keep the system always on?

How can I disable all unnecessary services and minimize power usage?

you are viewing a single comment's thread
view the rest of the comments
[–] leisesprecher@feddit.org 17 points 17 hours ago (2 children)

In case you didn't already do that: remove the battery. It's probably dead anyway, you don't need it and it poses a potential (albeit low) risk.

[–] mfat@lemdro.id 1 points 8 hours ago (1 children)

Thanks. Yeah I'll do that. Is it also possible to enable auto power on after power outage and restore? My celeron mini pc has this feature.

[–] leisesprecher@feddit.org 2 points 7 hours ago

That's typically a feature for servers or business desktops. Maybe your laptop has it, just look into the BIOS.

As I wrote in my other comment: try to be realistic about your needs. Chances are, pressing the power button every few months (if at all) is perfectly fine for your use case (and most others here).

[–] poVoq@slrpnk.net 4 points 15 hours ago (1 children)

Depends. Usually it is still good as a UPS for a few minutes, and some laptops have a bios option to limit full charge which lowers the risk even further.

[–] leisesprecher@feddit.org 3 points 15 hours ago (3 children)

And how much need is there for a UPS in this scenario - realistically.

Some of the people here take their admin-LARPing a tad too seriously. Most households have reliable enough electricity, and even if there's an outage once every quarter, would a dead battery even help?

I advocate for being realistic with one's own needs. Don't build a five-nines datacenter for a glorified weather station or VCR.

[–] richieadler@lemmy.world 1 points 5 hours ago

Most households have reliable enough electricity

US defaultism in action, it seems.

[–] curbstickle@lemmy.dbzer0.com 4 points 15 hours ago (1 children)

The nice thing about some battery backup is not keeping it running during an outage, but safely shutting it all down.

I agree on the laptop battery, I'm just disagreeing on battery backup. It serves a purpose, as does decent surge elimination.

[–] leisesprecher@feddit.org -2 points 7 hours ago (1 children)

But not for us.

That's what I meant by larping. The vast vast majority of us here would probably not even notice if their systems went down for an hour. Yes, battery backup has its purpose. In a datacenter.

I mean, what's on the line here in the worst case? 15min without jellyfin and home assistant? Does that warrant taking risks with old batteries or investing in new ones?

That equation might change if you're in a place with truly unreliable electricity, but I guess those places have solutions in place already.

[–] curbstickle@lemmy.dbzer0.com 3 points 5 hours ago* (last edited 5 hours ago)

No, hard disagree.

I have many thousands of dollars worth of hardware. I have seen the results of a surge. I have seen a NAS reduced to a paper weight. You're making incredibly silly assumptions here - this has nothing to do with uptime, and everything to do with protecting your equipment.

You will not ever convince me otherwise, because I'm not willing to dump thousands of dollars on replacements because someone on the internet thinks it has anything to do with uptime.

You are wrong.

Edit: anywhere that weather exists is an area with "unreliable electricity". Full stop.

[–] poVoq@slrpnk.net 2 points 15 hours ago* (last edited 12 hours ago) (1 children)

That is why I said it depends. There are many places where electricity cuts for a short duration are quite frequent. Often you don't even notice it, but a 24/7 server would be effected.

In general, I think the risk of laptop batteries catching fire is overstated especially if you limit the charge to 80% or so. So weighting these two issues against each other you can come out either way, but I think for most places it will come down towards a UPS being nice to have.

[–] hendrik@palaver.p3x.de 2 points 13 hours ago* (last edited 13 hours ago)

Everything has pros and cons. I've seen 3 laptops (of my family) with batteries that looked like a baloon after several years. I've subsequently removed or replaced them. I'd definitely check on them every now and then. A UPS is nice. Burning down a house isn't. I haven't seen them catch on fire (yet), they supposedly have at least some protection. But definitely get them out of the laptop once they're dead anyways or don't look alright. Everyone is responsible to make that decision on their own. Take care.