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.

Jeena
link
fedilink
English
41Y

I’m hosting https://www.home-assistant.io/ on raspberry pi’s.

@sylverstream@lemmy.nz
link
fedilink
English
11Y

I just started with HA as well and it’s a massive rabbit hole haha. So far set up thermostats for rooms, motion sensors with smart lights and integration with Frigate for my security cams. Also set up a tablet with HA which displays all our photos from the NAS as screensaver.

Krafting
link
fedilink
English
61Y

Pihole is the best starting point in my opinion, helped a lot of my friend to get started !

as tempting as pihole is. The last time I tried to do that. the pi went offline causing no internet when i was asleep (i’m a night owl) so my dad got mad at me for changing the dns settings on the router. So now I just have the router set to quad9 (used to have it set to cloudflare’s 1.1.1.2, but recently changed it)

Hovenko
link
fedilink
English
31Y

You can make an HA cluster from 2 or 3 pies. One node goes down, the other takes over. Or go the docker swarm road.

Dr. Jenkem
link
fedilink
English
21Y

You can change the DNS on your personal devices instead of changing it on the router.

DunkinCoder
link
fedilink
English
2
edit-2
1Y

Goes against the spirit of self-hosting but for some stuff(Email, DNS, Passwords), I just SaaS it out. As much as I love my lab, nothing self-hosted in my prod environment is critical.

Spy
link
fedilink
11Y

Exactly, I can barely maintain a media server I really don’t want to be responsible for my passwords and photos. There are secure alternatives that are private and open enough for my needs…

zebus
link
fedilink
11Y

@zpoex Nextcloud is always a handy one

@cyanide@lemmy.world
link
fedilink
English
61Y

Pihole is easy and light enough. I used to host Transmission (transmission-daemon) on a 3B+ and it worked alright for seeding around 300-500 torrents. FreshRSS also worked alongside.

Senseibull
link
fedilink
English
11Y

Pihole my is choice too. It’s pretty good, but for some reason video ads still get through even off YouTube? Is it possible to block them?

Mogster
link
fedilink
31Y

You can’t do that with Pihole as the ads come from the same domains, and basically need a browser extension or an app with a built in equivalent.

If you’re in the UK though, it does block the ads on All4 which was a nice surprise. It even works for the TV app.

Senseibull
link
fedilink
11Y

I am in the UK and that’s really useful to know. Thanks

@cyanide@lemmy.world
link
fedilink
English
41Y

uBlock Origin gets rid of every single one.

Spy
link
fedilink
11Y

You are not wrong, but uBlock needs to be installed on each device and only works on the browser, while pihole blocks adds across the whole network for all devices.

I have pihole but still use ublock on my personal computer

Daniele
link
fedilink
English
11Y

I have two Raspberry Pi (4 / 2) and I use them to selfhost:

  • AdguardHome (two instances)
  • HomeAssistant
  • NextCloud
  • Forgejo
  • VaultWarden
  • NTP server

Those are all as Docker services so I can easily switch to new devices in case I need to. All of them work like a charm.

nicman24
link
fedilink
11Y

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

jellyfin

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

spite
link
fedilink
31Y

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

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.

spite
link
fedilink
01Y

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

DevilBoom
link
fedilink
01Y

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.

spite
link
fedilink
11Y

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

whoareu
link
fedilink
11Y

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

If you have a 3d printer also check out Klipper, Octopi etc. I run mine off a pi zero 2 and it is a leap in performance over the stock board on the Ender 5.

thehatfox
link
fedilink
11Y

PiVPN is a simple home VPN solution that’s worth exploring.

Is you are interested in smart home/home automation Home Assistant is an open source home automation platform and makes a great Pi project.

spite
link
fedilink
11Y

I’ve recently set up pivpn with duckdns. Are there any security related steps I should take or is the out of the box config good enough?

Some things that haven’t been proposed here might be to use it as a nas. If you want to access your films and shows from outside it’s easier to set up Plex instead of jellyfin for now. You can use it also as a steam machine streaming from the pc to the tv, or as Kodi/Libreelec mediacenter to make your tv smart

Raspberry Pi NAS is fun but barely usable, not to mention Plex/Jellyfin.

One suggestion might be to load a Debian build on it and use it for docker containers. With docker containers you can do so many different things. I have a PI 4 and it does all of the following:
PiHole - For blocking ads. (Everyone should have one of these)
OpenMediaVault - For NAS
Portainers - For loading docker containers
Radarr - Downloading Movies
Sonarr - Downloading TV Shows
Tautulli - Monitors my plex server
Overseer - Allows members of my plex share to request content.
NZBGET and Real-Debrid Torrent Downloader Clients - For downloading content from usenet or real-debrid.

I have one Pi4 running all of these as docker containers. Have fun!

Pihole is a good start, though I personally use my Pi 3B+ for printer server over WiFi since I have a dumb Epson printer.

Create a post

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!

  • 1 user online
  • 124 users / day
  • 419 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog