this post was submitted on 17 Jan 2025
72 points (97.4% liked)

Selfhosted

41124 readers
644 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
 

For this new year, I’d like to learn the skills necessary to self host. Specifically, I would like to eventually be able to self host Nextcloud, Jellyfin and possibly my email server too.

I've have a basic level understanding of Python and Kotlin. Now I'm in the process of learning Linux through a virtual machine because I know Linux is better suited for self hosting.

Should I stick with Python? Or is JavaScript (or maybe Ruby) better suited for that purpose? I'm more than happy to learn a new language, but I'm unsure on which is better suited.

And if you could start again in your self hosting journey, what would you do differently? :)

EDIT: I wasn't expecting all these wonderful replies. You're all very kind people to share so much with me :)

The consensus seems to be that hosting your own email server might be a lot, so I might leave that as future project. But for Nextcloud and Jellyfin I saw a lot of great tips! I forgot to mention that ideally I would like to have Nextcloud available for multiple users (ie. family memebers) so indeed learning some basic networking/firewalling seems the bare minimum.

I also promise that I will carefully read the manuals!

you are viewing a single comment's thread
view the rest of the comments
[–] LiveLM@lemmy.zip 3 points 17 hours ago* (last edited 17 hours ago) (1 children)

If you end up going the USB route, ask me for tested hardware.

Send these my way chief

[–] avidamoeba@lemmy.ca 4 points 16 hours ago* (last edited 16 hours ago) (1 children)

As briefly as possible:

  • Host side
    • If you use Intel, all is well.
    • If you use AMD...
      • Prior to AM5
        • Use an ASMedia PCIe USB card (StatTech, Sonnet)
        • X570 is especially bad, though I've had some success with B350, when using the chipset ports. The CPU ports are all bad. Small form factor PCs often only expose CPU USB ports. They work with single disk per port but if you peg a port with a multi-disk box, they crap out regularly.
      • Post AM5
        • Have only tested USB4 on X870 and it's solid.
  • Client side
    • WD Elements / MyBook
      • If you get disconnects under load and you're not on a shit AMD USB host, the USB-SATA controller is overheating. Open them and ahere a heatsink on it. Drill a hole in the case above it for better ventilation. Disconnections will stop. If you don't want to deal with any of that buy the item below.
    • OWC Mercury Elite Pro Quad
      • Well built, solid controllers, no issues over a year of testing. I have 2, hosting an 8-disk RAIDz2 and 2 hosting a 5-disk RAIDz2.
    • Terramaster
      • A friend bought a 6-bay and tore it down for me. It has the same controllers as the OWC in a similar topology. If it's cheaper it might be OK. I can vouch for the OWC though.
    • Cables
      • Get name brand cables, ideally higher spec than what you'd need! They aren't important for a single USB disk but running a 4-disk box can max out the port bandwidth. If the cable can't handle it... errors.
[–] LiveLM@lemmy.zip 2 points 13 hours ago* (last edited 13 hours ago) (1 children)

Much appreciated 🙏
Gnarly stuff with the WD's huh? Unfortunately I think that's what I'll end up having to put up with since I can't really find the other options for a decent price around here.
Funny enough I was half-considering just using a bunch of WD Elements. You think the MyBooks might fare any better?

[–] avidamoeba@lemmy.ca 2 points 10 hours ago* (last edited 10 hours ago)

I used a mix of Elements and MyBook for years. Upon opening to heatsink, I didn't see any significant differences between them. They use ASMedia or Jmicron, mostly ASMedia. The overheating issue depends on ambient temp and load. I've had one machine in a basement never experience them. Either way the solution is pretty straightforward and cheap. Once heatsinked, I haven't had a problem.

The cables they come with are good.