this post was submitted on 19 Jun 2023
25 points (100.0% liked)

Selfhosted

40400 readers
763 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 currently running homebridge and pihole from an older Lenovo (i5, 256 SSD, 8GB ram) laptop (tweaked power settings to allow idle when closed) hardwired into a switch. I am currently running Ubuntu Server LTS, and have uptime ~2 weeks. I'm a little worried about reliability, I was originally using Ubuntu Desktop LTS, and I had an issue with the OS crashing after a 4 days of basically idle...

So my question is, is this a feasible solution? Should I pursue something like a SBC or migrate the machine to an old desktop instead? I don't mind working on the machine occasionally, performing maintenance etc but I don't want to have to troubleshoot the machine on a weekly basis.

I also would like to get into more self hosting, I find it to be super interesting and fun, does anyone have any projects they wouldn't mind recommending or sharing?

Thanks guys!

you are viewing a single comment's thread
view the rest of the comments
[–] bloodtide 5 points 1 year ago (2 children)

Oof the spicy pillow...didn't think about that one. I will def take a look into running it independent from the battery thank you

[–] sgtgig 2 points 1 year ago (1 children)

Most BIOS allow you to set a charge cap to the battery. 60% is a good number for something that will always be plugged in.

But if you can just take it out that's fine too, but not having to buy a UPS is a nice bonus to laptop servers

[–] bloodtide 1 points 1 year ago

thank you I'll take a look into that

[–] [email protected] 2 points 1 year ago (1 children)

Lenovo laptops often have a setting to limit battery charge to 80% which would solve that issue, but I think usually you have to do it from their windows utility software.

[–] Duckman 1 points 1 year ago

There’s a way to do it on Linux. It requires the acpi_call kernel module and a couple of shell commands. Here’s a write up: https://tildehacker.com/lenovo-ideapad-battery-conservation-mode-gnu-linux