this post was submitted on 20 Jun 2023
62 points (94.3% liked)

Selfhosted

39247 readers
358 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
 

Hey yall, I want to get into self-hosting. I want to start from hosting on a raspberry pi, and I am just wondering if yall have any recommendations (I've never hosted anything before, but have experience in linux and programming). Sorry if it's bit of a stupid question.

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

honestly it is good to start with and for controlling machines like an array of 3d printers but a dumpster dive laptop will be faster. RPI4 is quite old now.

with that done:

  • jellyfin
  • smb server
  • syncthing
  • tftp with wake on lan / clonezilla to backup your other machines
[–] Fudgeknuckles98 3 points 1 year ago (1 children)

I think you’re underselling the RPi a little there. I have an 3B+ which is running a few services well and it’s being undervolted so I could squeeze some more performance out of it with a better power supply. My Pi is currently running:

-Pi-Hole -FreshRSS -WireGuard -Gluetun -Libreddit -Deluge

[–] Redditiscancer789 1 points 1 year ago

is libreddit going away with the API changes?

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

jellyfin

How good is the performance of that on a rpi4? Does it work for transcoding videos?

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

It doesn’t. Not well. And for larger files, even on cable connection without transcoding performance is god awful, sometimes it doesn’t play, or stutters or you get awful audio desyncs. Don’t do jellyfin on rpi

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

Are you talking about 4k files? Because I have been running Jellyfin on my pi400 for the past two years and I've not had those issues at all. My content is 1080p max though.

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

Yep, 4k, sometimes with HDR. It was happening mostly on those. But 1080p files were also sometimes affected

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

I ran JF for about a year on a Pi 2B. Transcoding off at the server. No issues at all playing any file using Direct Play - including large 4K rips. I moved to an Odroid C2, again, absolutely no issues with playback.

If you’re seeing trouble with Direct Play I’d bank on it being network or storage related rather than the power of the Pi. E.g. the network hasn’t got enough throughput to serve the files. In Direct Play you need very little in terms of server resources as it’s handed off to the client.

[–] [email protected] 2 points 1 year ago

Dunno, maybe it was storage. I had a SATA to USB3 drive hooked up to it. Couldn't have been network. I got some old office PC with i3-6100 for free, hooked it up to the same cable, same router port and everything is working mostly smooth now, on similar drive but connected directly to SATA

[–] betoissues 1 points 1 year ago

Have you checked if those files are being transcoded? This will depend on the clients used and the codecs supported. I use mine mainly to stream anime at 1080p, the files I get from my current source don't trigger the transcoding (Direct Play); while some older files I had used unsupported codecs and required the transcoding.

[–] [email protected] 1 points 1 year ago

it ever performs awfully slow on my secondary computer with i3 cpu.