1
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!

2
 
 

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!

🦎

3
 
 

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?

4
5
 
 

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
6
 
 

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.
7
 
 

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.

8
 
 

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!

9
Not to flex, but... (thelemmy.club)
submitted 1 day 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)

10
easyDNS Data Breach (easydns.com)
submitted 1 day ago* (last edited 23 hours 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.

11
12
submitted 1 day ago* (last edited 1 hour 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.

13
 
 

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?
14
 
 

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)?

15
16
 
 

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!

17
 
 

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?

18
 
 

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.

19
 
 

I've been a pfSense user for years, (I started with monowall!) but I like to keep an eye on what's out there.

I tried OPNsense years ago when it was a fairly recent fork of pfSense, but decided I'd wait a bit before jumping onto what I thought might be an enthusiastic, but short lived project...

Now nfSensei is looking like OPNsense did, but I'd like to know if there's any experience before requesting to be on the beta program.

20
 
 

Note this is an ALPHA release!

Cyphernotes v0.32.3 -- end-to-end encrypted, self-hostable, shareable notes.

I'm sharing it here because I'd like to get input outside my own brain at this point.

What this is and isn't

  • It's not "the kitchen sink" -- by intention, the scope is much more limited, similar in scope to Google Keep
  • I'd like to eventually add something like tags, but there's no intent for things like channels, notebooks, or other self-contained scopes (eg Outline)
  • Sharing notes is fundamental -- if you don't need it, other projects are further along and also E2EE.
  • No feature gate-keeping, what you see is what you get.
  • Desktops should be able to use it, unlike Joplin or Obsidian
  • It also should have a mobile app, or at least the option (note that I don't have iOS ready), unlike something like Trilium
  • Notes are freeform, not just TODO or grocery lists

You're promising E2EE with slopcoding?

Yes, I am -- because this is actually Signal at its core.

To keep Signal's promises and vetting transparent, the build is actually overlaying patches on top of clean submodules. You don't even have to do a diff against Signal -- just an inspection of the patches proves that the Signal security model isn't touched.

To keep Claude in check, there are a pile of static linters and quality checkers that are bound in pre-commit and pre-push hooks.

What, notes are Signal?

This was basically the core insight. Simple notes that can be represented as text can be handled as conversation items, revisions as previous messages, and sharing E2EE is handled by Signal's group messages.

Attachments are Signal's attachments, and a valid extension in the note title enforces that syntax highlighting in the formatter.

The only change to Signal's security model is the addition of TOTP on login (which uses Signal's backup-restore functionality to restore your notes to your client). The web client is derived from Signal's desktop clients.


AI disclosure as per rule 8:

  • Design: Model has to run all choices by me beyond minor implementation details that I don't pre-specify. The core design drivers are all human.
  • Implementation: Almost entirely generated. I hop in and spot change some tooling choices, and merges to main are owned by me. I've made some prose changes and need to make more because LLMs are terrible at prose.
  • Testing: Generated test suite, mutation testing, static code quality checkers, and then lots of dogfooding
  • Documentation: Generated. Currently only light edits; I plan more extensive ones over the holidays because I hate LLMese.
  • Review: Dogfooding. Core libraries are externally vetted as unchanged Signal source code, so this is user experience.
  • Deployment: Assisted. It's currently a bespoke script for my environment, but I'll get a generic one made at some point.

Because I'm developer (though Python/SQL/Spark etc, thus the heavy reliance on Claude here) notes can be edited in pure Markdown, or in a WYSIWYG editor (WYSIWYG is pending on Android, live on web). To accomodate the grocery-list paradigm checkboxes always toggle state even in the formatted view.

I had kind of wanted some more UI/UX polish before sharing here, but I decided a long weekend in the US was probably a better share time even if it solicited some "redundant" commentary. That said, I'm not a designer and my UI/UX has always been rudimentary and utilitarian, even in my web-dev days, so I would happily entertain suggestions, mocks, or PRs especially in the UI/UX department.

I'll share out my scope when I have a chance by filing issues on my own repo with my TODOs, but I welcome comments here or issues on the repo (or even PRs).

No iOS yet because I roll Linux and will need to monopolize my wife's laptop to do it, so it'll come after web and Android are ready for a 1.0.

21
 
 

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.

22
 
 

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

23
 
 

I have those spare Pis lying around. I already run two Pihole instances and have a miniPC running a lot of services via proxmox.

Just looking for some fun ideas to use them.

24
 
 

Microsoft had a red alert yesterday, and half the internet spent the afternoon refreshing the status pages. Every company has a disaster recovery plan stored somewhere. Hardly anyone has used it.

#SelfHosted #CloudOutage #Microsoft #DisasterRecovery #DevOps #Infrastructure #Homelab #Sysadmin

Original post

25
 
 

Hi friends, curious if y'all have recommendations for domain registration and DNS providers. I currently use Cloudflare for both and have til now been too lazy to switch. Looking for something reasonably priced and not evil.

view more: next ›