this post was submitted on 01 Sep 2024
42 points (95.7% liked)

Selfhosted

40329 readers
419 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
42
submitted 2 months ago* (last edited 2 months ago) by Shimitar@feddit.it to c/selfhosted@lemmy.world
 

Hi fellow hosters!

I do selfhost lots of stuff, starting from the classical '*Arrs all the way to SilberBullet and photos services.

I even have two ISPs at home to manage failover in case one goes down, in fact I do rely on my home services a lot specially when I am not at home.

The main server is a powerful but older laptop to which i have recently replaced the battery because of its age, but my storage is composed of two raid arrays, which are of course external jbods, and with external power supplies.

A few years ago I purchased a cheap UPS, basically this one: EPYC® TETRYS - UPS https://amzn.eu/d/iTYYNsc

Which works just fine and can sustain the two raids for long enough until any small power outage is gone.

The downside is that the battery itself degrades quickly and every one or two years top it needs to be replaced, which is not only a cost but also an inconvenience because i usually find out always the worst possible time (power outage), of course!

How do you tackle the issue in your setups?

I need to mention that I live in the countryside. Power outages are like once or twice per year, so not big deal, just annoying.

you are viewing a single comment's thread
view the rest of the comments
[–] schizo@forum.uncomfortable.business 17 points 2 months ago (1 children)

I replace the batteries in my UPS every 18 months, and don't try to outlast power outages.

I have everything configured to shut down if the power goes down and stays down more than 5 minutes, which is ~20% of the maximum rated runtime. (I'm using repurposed desktop hardware that loves it's watts as a home server.)

I picked the low number for the reasons you've outlined: even if the battery is severely degraded, it's probably not THAT severely degraded and it's a safe time span to ride out short hiccups, but still well under the runtime limits so that a safe shutdown can happen.

That and I've noticed that, typically, if the power is down for 5 minutes it's going to be down for way longer than 5 minutes, so it doesn't matter and I'm not going to have enough batteries to outlast the outage.

[–] fuckwit_mcbumcrumble@lemmy.dbzer0.com 7 points 2 months ago (1 children)

Plus lead acid batteries hate being discharged at all. But deep charge cycles are really awful for them.

That said changing batteries every 18 months is a little excessive. Unless your UPS is overcharging the shit out of them they should last way longer than that.

Little bit of A, little bit of B.

I probably go through at least one full discharge cycle a month, if not more because the power around here suuucks. (The NAS goes down, but I leave the network gear up until the UPS dies, because fuck it, why not.)

It's also a ~10 year old UPS that likes to eat a $25 battery every 18 or so months so I just haven't really had any justification to replace the whole thing yet since there's an awful lot of $25 batteries in a new UPS.