posted in Selfhosted

Part 3: They said a phone can’t run without a battery. Unfortunately, Pettyl didn’t get the memo.

This post is an update of the second part of my Moto server series: lemmy.zip/post/72142441

Rumor has it that keeping an 8-year-old phone permanently plugged in with its equally ancient Li-ion battery might not be the greatest idea ever conceived.

Some even claimed that a phone needs a battery to work.

Very negative people.

Anyway, I removed it.

Pettyl did not care.

nginx: UP PHP-FPM: UP MariaDB: UP WordPress: UP cloudflared: UP sshd: UP

The battery is currently sitting next to the phone, contributing absolutely nothing to the project.

Pettyl is now running entirely from USB power, at around 37°C, while continuing to serve the website like this is completely normal.

There is, however, one tiny detail the haters may enjoy:

It can’t boot without the battery.

So the official Pettyl disaster recovery procedure is now:

  1. Insert battery
  2. Boot Pettyl
  3. Connect USB power
  4. Remove battery
  5. Pretend this is enterprise infrastructure

The battery is no longer a battery.

It is the starter motor.

I see no problems with this architecture.

Anyway, Part 3 is going great.

Replying to @⁨tradicije@lemmy.zip⁩

I have a challenge for you, if you dare!

How many “Google-like” services could your phone server serve at the same time?

  • Google Photos <-> PiGallery2
  • Google Keep <-> Memos
  • Google Drive <-> Syncthing
  • Google Calendar <-> Radicale
  • Google Contacts <-> Radicale
  • Google Tasks <-> Radicale
  • YouTube Music <-> Navidrome
  • Google Password Manager <-> Vaultwarden
  • Google Reader <-> FreshRSS
  • Chrome bookmarks <-> linkding
  • Google Analytics <-> GoatCounter

And, if the little Moto still has RAM left:

  • Google Docs <-> Etherpad
  • Google Search <-> 4get

How far can 1 GB actually go?

There - now you have the perfect excuse to buy a second moto to play with.

en