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

Selfhosted

39985 readers
717 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 am not looking to onboard thousands of users or host large communities, just my own and some family and close friends' accounts. I don't currently have a scalable homeserver setup (just a local Home Assistant instance on a Pi) and don't have the space to put an old desktop running Proxmox on a cable.

I was browsing single-board computers and the Pine64 (2GB RAM) looks like a good deal. It seems more powerful than similarly priced Raspberry Pis (3B 1GB). Is it good for running a small Lemmy instance on?

EDIT: Thanks for the advice all, just bought an 8th gen i3 NUC (4 vCPU, 8GB RAM) to play around with Proxmox and VMs. Going to start off with migrating Home Assistant and then set up a Lemmy instance, and perhaps a static website too.

you are viewing a single comment's thread
view the rest of the comments
[–] empireOfLove@lemmy.one 8 points 1 year ago* (last edited 1 year ago) (3 children)

2gb will be limiting, and the database will kill SD cards quickly (like, a couple weeks kind of quickly) However if it's just you and <100 other people it will not be stressed otherwise

[–] dan@upvote.au 11 points 1 year ago* (last edited 1 year ago) (1 children)

For little computers like the Pi and its clones, I'd recommend using a SATA SSD via USB rather than an SD card, unless your use case has very few writes. I'd recommend this cable: https://www.amazon.com/gp/product/B00XLAZODE/. It's one of the ones that's well supported by the Pi, and is what I use.

Edit: I recommended a SATA SSD rather than NVMe because you won't really notice a major difference over USB, and some NVMe drives pull more power than the Pi's USB ports can handle (SATA uses quite a bit less power).

[–] F04118F@feddit.nl 2 points 1 year ago (1 children)

Thanks, this is what I am using now for Home Assistant, but overall it's a bit expensive for the power you get with a Pi4.

[–] dan@upvote.au 2 points 1 year ago

At least you can reuse the SSD for something else if you ever stop using the Pi. They make great portable drives (but you'd definitely want a case for that)

I was doing the same (running Home Assistant on the Pi) but these days I'm running Home Assistant on a HP ProDesk small form factor PC, mainly because I also wanted to run Blue Iris. The Pi is only my DNS server at the moment.

[–] chris@l.roofo.cc 6 points 1 year ago (1 children)

You should mount an external disk for your data. That should help keep your instance alive.

[–] derek@lemmy.one 7 points 1 year ago

Yeah, don't use SD for something, that continuously writes data on it. One power outage and it will die.

Source: lost 2 sds on my OPi 3 lts.

[–] F04118F@feddit.nl 4 points 1 year ago

Thanks, I (of course after posting this) stumbled upon this discussion: https://sh.itjust.works/comment/114723

Seems like storage use is quite intense, and RAM usage exceeds the 150MB that the docs mention too. For storage, I would probably try to use a cloud option (AWS S3?) to prevent having to replace/add disks all the time.

Although it's starting to look like more and more of a hassle and not that much benefit so far.