1
 
 

It's been four weeks, let's go. What are you working on, amazed by or frustrated with?

This week's minifocus: What was really just plug and play and just worked?

2
submitted 1 month ago* (last edited 1 month ago) by [M] to c/selfhosted@lemmy.world
 
 

Edit at the top:

If you see anything from a user at 1095.me, just report. Its pretty guaranteed to be a bot, usually with spam links embedded. They were cropping up a little bit back and seem to be going another round.


The Lemmy.world TOS requires that any bot account be set as such in their profile, and that any community they post to requires approval first.

Generically speaking, I won't be approving any. What I mean by that is any bot request is going to need a valid and real reason for its use here, which I would then bring to the community to make that choice like I did for the rules discussion threads. I wish there were a better way than a basic upvote or downvote system for feedback, but its what we've got so its what I'll use.

I have not posted about any new bots since I took over here a few months ago, so no new bots should be considered as having community approval.

If you see them, please just report and I'll get to it as soon as possible. The current one seems to just be getting new accounts all over the fediverse, and tacking their home instance onto the end. They are banned, but I'll have to ban again as things come up. I'll bring this up to the lemmy.world admins as well. This also goes for any other new bot that begins flooding the community.

Thanks!

3
 
 

Hello everyone! Mods here 😊

Tell us, what services do you selfhost? Extra points for selfhosted hardware infrastructure.

Feel free to take it as a chance to present yourself to the community!

🦎

4
 
 

I was reading on a news (fact checking news site) that Anthropic and/or OpenAI may have broken RSA encryption. If that were to be true, we are all screwed. But that has made me wonder whether i should be thinking about this when selecting encryption protocols when setting up access to my machine e.g. SSH. What do peopke think about this and what are most robust encryotion protocols compared to RSA?

5
 
 

I've run a bunch of self-hosted services for quite some time now. Mostly, the usual media and file storage suspects.

Last week, I switched my network over to Firewalla boxes for routing, network monitoring, and mesh wifi. I went with them instead of a self-hosted solution because of the push alerts you get on mobile, plus setting up vLAN and vqLANs to separate family, IOT, work, and guest networks.

Slowly started moving over different devices. Within 5 minutes of putting the server on the network segment, started getting warning alerts that the server was contacting potential malware sites. In Japan, Africa, then Pakistan! The mobile app let me block this outbound traffic, but it kept changing. Russia, South America, Canada, etc. Definitely a botnet, and the volume of outbound data kept going up.

After a few minutes of this, I just went over and pulled the power plug. This server is mainly running media hosting stack via Docker on top of Ubuntu. Pretty stock, with no manually installed plugins or anything. I'm likely going to nuke the whole thing and manually install only the bits that I need.

Anyway, as a PSA, recommend everyone set up an active network monitoring system, ideally separate from the host itself. I thought I was pretty careful with my ports, regular virus scans, and firewall rules. Have learned my lesson.

No affiliation with any vendor. Just passing it forward.

6
 
 

Created by hand with draw.io.

Details:

  • The PVE cluster is all Lenovo Tiny PCs with extra NICs
  • Icons under the cluster are some of the "production" services running full-time.
  • Storage server is a Terramaster F4 running TrueNAS, serving SMB/NFS for general NAS and NVMe/TCP, and is runs a local PBS instance (synced to the offsite instance).
  • Switches are a mix of brands.
  • The cable colors vaguely indicate the network use but aren't truly representative of specific vlans.
  • Connection to the IDF is only gigabit, but more than adequate for its purpose.

For any amateur radio folks out there, the pi serves as a pipewire audio and rigctld server, allowing remote access to the Icom IC7100. Antenna is an OCF 40m dipole.

This all started several years ago because I wanted to host a hobby website at home. It's a slippery slope...

7
 
 

I started hosting my own email server with stalwart and my dkim dmarc spf etc is all configurrd right but i get sent to spam with all the major providers so any tips to improve ip reputation?

8
9
 
 

I have an old book I want to digitize and am looking for options and ideas. I have a phone I could use for a camera or a canon DSLR and I want to use FOSS options where possible. I have unraid and proxmox if hosting something on the back end is necessary. Thanks in advance.

10
 
 

With the price of storage these days, I can't afford to upgrade my array.

I don't know how much more optimizing and compressing I can do before deleting old media becomes essential.
11
 
 

I keep seeing projects trying to replicate the functionality and feel of Discord, personally I'm not a fan of Discord and prefer TeamSpeaks 6 way of doing things.

Kōrero was built to be a open source alternative to TeamSpeak 6 with a lot of small improvements.

https://github.com/WardPearce/korero

AI Disclosure:

  • Design - Assisted
  • Implementation - Pair
  • Testing - Generated
  • Documentation - Generated
  • Review - Assisted
  • Deployment - Human
12
 
 

I have two Raspberry Pi's I bought used a few years ago. An RPi4 that is dedicated to HomeAssistant which controls 6 coloured lights and two dimmer switches. The other is an RPi5 which hosts a Kiwix instance and a simple file server which has a few survival/sustainability ebooks, Linux/scripting resources and copies of my git repos. It also has an encrypted USB SSD that holds a copy of my backups. I intend to add a blog to this but first I am going to build new install scripts for both RPi servers. All of my devices run Alpine Linux with Podman containers and a minimal set of packages to make it all work.

My main focus over the past few years has been working with low powered or used devices. I can't say I predicted today's hardware pricing insanity but I saw early trends that discouraged me from investing heavily in newer or more powerful technology. Scaling down my expectations has helped reduce a lot ot headaches, especially with all these new vulnerabilities lately.

I've always felt a bit out of place within any self hosting community with my focus on simplicity/minimalism and alternative solutions which has unintentionally challenged current hosting practices and norms. I have had a number of strange interactions within the self hosting community for my approach which has discouraged me from engaging more.

I would like to hear from others who self host on the more simple side of things. What hardware do you use? What do you host? Do you track your energy usage? How have you kept things simple or minimal? What are some experiences you would like to share?

I would enjoy hearing from the simpler side of things because wow, things are overwhelming lately.

13
 
 

I am setting up a selfhosted entertainment service for friends and family. (Truth: I am setting it up for me because I fucking hate GAFAM, but since I am spending all this time and money, I may as well share the fruits with my loved ones)

It's a simple nginx reverse proxying a bunch of service containers I've stitched together, leveraging Jellyfin 12's Auth. So users login to the site and seamlessly have an account on the various services.

Below is what I have so far. Server has 8TB storage and 16GB RAM; plenty of spare capacity on both at present.

What are some cool containers / features / extensions / customizations you have, that my users and I will love?

So far I have:

  • Jellyfin12 for video and login service
  • Jellyfin Enhanced for the Moonfin server and retro games
  • CustomTabs, IntroSkipper, Jellyfin Wrapped (video year in review)
  • Navidrome for music
  • navidrome-mood-plugin and NaviBeats for playlists
  • navidrome-lyrics-plugin
  • custom scripts to tag/ID music from MusicBrainz and pull missing album art
  • retro game saves/sharing via RomM
  • self-hosted scrobbling via Maloja
  • upload service with:
  • CopyParty for basic file upload (ISO, MP4, MP3, etc)
  • MeTube for downloading YouTubes
  • Zotify for snarfing Spotify songs/playlists
  • custom video converter/tagger/TheMovieDb integration
  • custom script to add an 'Uploaded_by' tag on all files

One thing I know I want is some kind of audiobooks functionality (fuck Audible)

But other than that... I don't know what I am missing. Suggestions, please -- TIA!

14
Not to flex, but... (thelemmy.club)
submitted 2 days ago* by to c/selfhosted@lemmy.world
 
 

Me and some friends got this bad boy for 450€, which is like a fraction of the price. (No it was not a scam, a local school was upgrading hardware and wanted to get rid of it)

15
16
easyDNS Data Breach (easydns.com)
submitted 2 days ago* (last edited 2 days ago) by to c/selfhosted@lemmy.world
 
 

Extent of information affected:

The affected data varies by customer, but may include:

  • name
  • email
  • address on file -phone & fax numbers; and/or -limited billing data (see below) -If you have easyMail enabled, the affected data may also include: -the email address -your email password hash (SHA256)

While easyMail passwords were not stored in plaintext, the SHA256 hashes were not salted, which means weaker passwords may be susceptible to cracking.

Extent of billing data exposure:

We have never stored customer credit cards. We use Stripe and Paypal for credit card payments, and recurring billing was handled via Stripe. However, for users who had enabled recurring billing, the affected data may also include:

  • last 4 digits of credit card;
  • expiry month/year;
  • postal code;
  • and/or billing name, address and phone number.

To be clear: NO credit card numbers were obtained.

What information was NOT affected:

  • easyDNS control panel passwords and password hashes were NOT exposed.
  • User REST API keys and their Argon2id hashes were NOT exposed.
  • DYN tokens (for dyamic DNS) and their salted SHA256 hashes were NOT exposed.
  • Customer account secret question/answer pairs and recovery codes were NOT exposed.

That said, we are still forcing across the board password resets on your next login to the control panel.

Your easyDNS account password was not stolen. Your easyDNS REST API keys were not stolen. If you use easyMail, your mailbox password hash was exposed and you should change that password.

What you should do next:

    • Your domains, DNS, email and web-forwarding remains operational and unimpacted.
    • If you use easyMail,
  • *your mailbox password hash was exposed and you should change that password*.
    • Your contact information may have been exposed. Be on guard for phishing and for any attempts to gain unauthorized access elsewhere.

We have a visceral understanding of the seriousness of this incident and will make no attempt to downplay or soft-ball it.

We wish that we had better news, and acknowledge that the timing of this incident may be especially difficult for our US customers celebrating Thanksgiving weekend.

I woke up this Saturday Morning to find this in my email, I am grateful that I got this email but had to go in to my services and change a bunch of passwords. I am thinking of changing my credit card number as well, fun and exciting!

Even though they say To be clear: No credit card numbers were obtained, with social engineering it would not be hard to get that information, with AI doing its thing it can figure out what is what where the card likely was issued and than wham either pass it on to a person or spin up a bot that can answer security questions to the financial institution and get the rest. I take security very seriously; not using the same password (as even not so serious people should do), even using different email addresses across different services. I know having your ID stolen is a whole different ball game than having a credit card stolen, but my ID was stolen once and it was not a fun time having my credit card stolen still would not be a fun time either.

*edit: to make things clear I use easyDNS to host my VPS and email, it does not appear that they offer public DNS addresses like Quad9, I use pi-hole and CIRA for DNS lookups and DoT. Even with this hiccup I would suggest easyDNS to people looking for hosts, but I would also suggest people use strong passwords everywhere.

17
 
 

Hello selfhosters!

I'm considering an upgrade of my setup with an external/internal Bluray reader. I'd like to use it to rip physical media I own and add them to my media collection. So far (with DVDs), my process on a Linux desktop PC has been this: physical DVD > ripping with MakeMKV > compression with Handbrake (H265 NEVC) > playback with Jellyfin

Why I'm still a bit cautious about this: I know movie companies like to pull shenanigans to keep you from actually owning your stuff, and I have zero tolerance for this kind of shit. I suppose Bluray will be riddled with all kinds of DRM mechanisms. So I'd love to hear from the more experienced folks here: what kind of fuckery will I be up against? What ways are there around it? What do I need to pay attention to when buying a drive? And would you even still buy one in 2026, seeing that Bluray actually seems to be on its way out (what with LG and another manufacturer dropping the tech and only Sony and Panasonic still selling drives)?

18
submitted 2 days ago* (last edited 22 hours ago) by to c/selfhosted@lemmy.world
 
 

I was getting tired of connecting a laptop to the TV with a long-ass HDMI cable so I could play movies on there, or running the movies through an arcane combo of apps so the Chromecast would deign to play from Jellyfin...

,,,when I thought, hey, the server is near the TV, can't that fucker somehow play to the TV directly?

The server is a barebones Debian with just the basic packages installed and everything running in Docker containers, no graphics stack. But it has an Intel CPU+iGPU and it does have a HDMI out.

That's when I remember the framebuffer. Long story short, here's the Dockerfile for a container that installs mpv and all that's needed to play on the framebuffer:

FROM debian:trixie-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get -y install ca-certificates openssl
COPY <<"EOT" /etc/apt/sources.list.d/debian.sources
Types: deb
URIs: https://deb.debian.org/debian
Suites: trixie trixie-updates trixie-backports
Components: main non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: https://security.debian.org/debian-security
Suites: trixie-security
Components: main non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
EOT

RUN apt-get update
RUN apt-get -y dist-upgrade
RUN apt-get -y install \
  mpv vainfo libdrm-tests \
  mesa-va-drivers libva-drm2 libdrm2 alsa-utils \
  nnn
RUN rm -rf /var/lib/apt/lists/*

Can probably simplify it further. And here's a compose.yaml for it:

services:
  fbplayer:
    image: local/fbplayer:1
    container_name: fbplayer
    hostname: fbplayer
    volumes:
      - "./playmovie:/usr/local/bin/playmovie:ro"
      - "./nnn:/usr/local/bin/nnn:ro"
      - "/mnt/nas/multimedia:/media:ro"
    devices:
      - "/dev/dri:/dev/dri"
      - "/dev/snd:/dev/snd"
    group_add:
      - 44 # getent group video
      - 105 # getent group render
      - 29 # getent group audio
    environment:
      - TZ=Continent/Capital
      - NNN_OPENER=/usr/local/bin/playmovie
    entrypoint: ["tail", "-f", "/dev/null"]
    restart: 'always'

The playmovie and nnn scripts are helper scripts so I don't have to re-type all the mpv parameters or refer the file by hand.

Here's playmovie. Find out your audio card name and device number with aplay -l). The DejaVu fonts are installed by default on Trixie.

#!/bin/sh
case "$1" in
  *.[Mm][Kk][Vv]|*.[Mm][Pp]4|*.[Aa][Vv][Ii])
	exec mpv --vo=drm --drm-device=/dev/dri/card0 --hwdec=vaapi \
	--ao=alsa --audio-device=alsa/hw:CARD=PCH,DEV=3 --volume=50 \
	--sub-font="DejaVu Sans Mono" --sub-font-size=40 --sub-bold=yes --sub-ass-override=force \
	--sub-color="#FFFF00" --sub-border-size=5 --sub-border-color="#000000" \
	"$1"
	;;
  *)
    exit 1 ;;
esac

And here's the nnn script (make sure to place it in a dir that's before /usr/bin in PATH):

#!/bin/sh
exec /usr/bin/nnn -coQ /media

It's still pretty arcane and I have to grab a shell in that container from the PC or a laptop, and remember mpv keyboard shortcuts... but at least I don't have to run cables or fuck around with phone apps.

If anybody knows some sort of media/DLNA browser that can run in framebuffer please leave a comment. It would be nice to have some sort of UI that runs standalone on the TV all the time, and I can probably figure out how to add a bluetooth airmouse/remote or something to control it. I've seen some cute BT gadgets that even have a mini keyboard so you can do a quick search.

Edit: I also got jellyfin-mpv-shim to work, at the recommendation of people in comments, here's how.

Here's what I added to Dockerfile to install the shim:

RUN apt-get -y install python3-venv libmpv-dev
RUN mkdir -p /opt/venv
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade jellyfin-mpv-shim

The compose is the same but the entrypoint can be the shim. The command needs to be:

jellyfin-mpv-shim --server address --username user --password pass add

In order to securely give the password to the entrypoint there are several methods. You can set env vars in a chmod 600 .env file, bring them in with env_file: and use sh -c to expand the variables. Another approach that doesn't leak into the environment is to put the command (with hardcoded credentials) in a docker secrets file and make the entrypoint execute the /run/secrets/name.

I also needed to modify ~/.config/jellyfin-mpv-shim/conf.json and set "headless" to true, "enable_gui" to false, and "audio_device" to the mpv audio device (""alsa/plughw:CARD=PCH,DEV=3" in my case).

Once the shim is running and connected it will appear in the casting menu on jellyfin clients and you can control it from there.

One more tip, the shim may not connect if started too soon after the jellyfin container. To fix this I've set a healthcheck command on jellyfin (curl -q http://localhost:8096/health) and made the shim container depends_on the jellyfin container with condition: service_healthy.

Edit 2: and here's a compact version based on alpine:

FROM alpine
RUN apk update
RUN apk add python3 mpv-libs fontconfig font-dejavu
RUN fc-cache -f
RUN mkdir -p /opt/venv
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN python -m pip install --upgrade pip
RUN python -m pip install --upgrade jellyfin-mpv-shim
19
 
 

I'd like to make USB drives as gifts for my family members containing digitized family photos and videos, and increase the resilience to data corruption. These are non-technical folks, so ease of use is still the biggest priority. Are there any best practices out there?

Assumptions:

  • ntfs will be the most resilient file system out of the 3 universally accessible ones (vs fat and exfat)
  • i could include a backup folder containing checksums of the files, an .iso archive of the collection, and a text file explaining how the family member can contact other family members or a data recover professional if any files are corrupted.
  • the .iso format contains some error correction, but i don't know the details.

Open questions:

  • Do i need a name brand USB drive, or is microcenter brand OK?
  • Can i used one of those dual USB-A and USB flash drives?
  • any other best practices exist?
  • anything else i should know?
20
21
 
 

I'm moving soon and planning some overhauls to our home lab and local network.

We have security cameras and I really want them on their own VLAN without internet access. Then I got even more ambitious and decided I want to separate a lot of things into different VLANs without internet access, but can still talk to each other.

My long term goal will be to have an OPNsense box that I can do even more intricate network configs with, however in the short term I don't think I can afford the hardware to do so. So for now, I'm trying to find the simplest, ideally cheapest way to implement at least one VLAN in my local network.

My ISP's router will not support it, however should support bridge mode. So I'm thinking the easiest way is to buy a VLAN capable router and pass through to it, however I'm still new to this and learning as I go.

Curious if anyone here has VLAN tips, tricks, or suggestions for a cheap/easy setup.

Cheers!

22
 
 

I know jellyfin has a specific naming convention for it to populate the metadata for erm linux ISOs (eg https://jellyfin.org/docs/general/server/media/shows/ and https://jellyfin.org/docs/general/server/media/movies) .

So what I plan to do is have a staging folder for the raw downloads and prod folder where it's just a relative path symlinks to the raw data following the naming conventions.

But this would be too much toil so I would like to ask how are you automating it? Off the top of my head, I would have an LLM generate an adhoc script to do ln -s periodically but I really don't want to do that.

23
 
 

I want to be notified about stack traces and certain events in my logs.

I don't want to setup the ELK stack or other complicated resource hungry software. I'm not interested in searching or aggregating the logs.

My current idea is:

Is this a wise idea? What other solution would you suggest?

24
 
 

Like everyone else, I've been looking for a good mesh VPN solution and I finally found Nebula. Apparently it was created by Slack and later open sourced. I don't know people don't talk about it more.

Pros:

  • really easy to self host
  • clear logs make it easier to troubleshoot then other options
  • free Android app (as it it doesn't require subscription)

Cons:

  • setup is quite manual
  • doesn't offer DNS (I just deployed PiHole instance)

(there's Nebula Commander that should make the setup easier but I haven't tried it).

You basically create one node accessible to all the other nodes. In my case I have to expose a single port to the internet. Then you manually create private keys and distribute them to servers. With a bit of configuration you setup the firewall, routing and relays. And you really only need a bit of configuration. I only had to connect about 5 devices so it was totally doable by hand (i.e. without commander).

Before that I tried:

  • headscale - didn't work for some reason. apparently setting it behind reverse proxy is not officially supported and it requires port 443 so I would need to setup a dedicates server for it

  • Netbird - it was working fine on severs but I got tired of the battery drain issue on Android

  • Netmaker - too many functions are locked behind the subscription. Android app doesn't work with free accounts and WG setup didn't work for me

I didn't try Tailscale because I wanted something I can self host (and headscale didn't work for me)

So if you don't have too many nodes and are looking for something easy to self host I totally recommend Nebula.

25
 
 

Apparently apps now need the "Nearby devices" permission to be able to access sites hosted on your local network. I just spent forever trying to figure out why firefox wouldn't load my local nextcloud instance. Hopefully this post saves someone else that pain. Local network permission in Android 17

view more: next ›