Self Hosted - Self-hosting your services.

16021 readers
43 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

Important

Cross-posting

If you see a rule-breaker please DM the mods!

founded 4 years ago
MODERATORS
26
 
 

A new open-source Single Sign-On (SSO) provider designed to simplify user and access management.

Features:

  • 🙋‍♂️ User Management
  • 🌐 OpenID Connect (OIDC) Provider
  • 🔀 Proxy ForwardAuth Domains
  • 📧 User Registration and Invitations
  • 🔑 Passkey Support
  • 🔐 Secure Password Reset with Email Verification
  • 🎨 Custom Branding Options

Screenshot of the login portal:

27
 
 

I struggled quite a while to install HomeAssistant on the new Truenas Scale Incus system because there are no good guides for it. So here is one.


💾 STEP 1: Create a ZVOL

I gave mine 50GB. Minimum needed is 32GB.

Scroll down and save.


🛜 STEP 2: Create a network bridge

This step can be skipped if you already have a bridge with DHCP enabled.

I struggled a bit with this and eventually did it on the physical Truenas PC instead of the web interface because trying to enable DHCP kept crashing my webUI and resetting the connection. This is probably the worst documented part of this tutorial and you might need to look this up elsewhere. Make your default ethernet connection part of this bridge.


🔻 STEP 3: Write HomeAssistant image to Zvol

Optionally: change link in upcoming bash command with latest KVM (.qcow2) from https://www.home-assistant.io/installation/linux

Open shell

Download the VM image in the shell and unzip it:

cd /tmp
wget https://github.com/home-assistant/operating-system/releases/download/15.2/haos_ova-15.2.qcow2.xz
unxz haos_ova-15.2.qcow2.xz

Now write the VM image to the Zvol you made above. Keep in mind that the zvol is in /dev for some reason, not in /mnt

sudo qemu-img convert -p -O raw haos_ova-15.2.qcow2 /dev/zvol/NAS/HomeAssistant


📁 STEP 4: Import the ZVOL to Incus

  • In TrueNAS UI: Instances → Configuration

  • Enable Instances

  • Set Default Pool: (pool where zvol was saved. NAS for me.)

  • Network Interface: Automatic (bridged) or your LAN bridge

  • Save

  • In top right click Create Instance

  • Name "HomeAssistant" (Or what you want to name it)

  • Virtualization method: click VM instead of container

  • Upload ISO -> select Volume

  • Popup menu: Import Zvols

  • Browse the file tree and find your ZVOL. Select 'move' option. Then click Import.

  • Now "select volume" popup should have the volume selectable. Select it.

🎌 STEP 5: Finish the VM settings and run it

  • CPU configuration: 2 or 3 (or however many cores you want to give the VM)
  • Memory size: 4GB (Min1GB. Can be set lower or higher. Can always be adjusted later)
  • Root disk size: Same as volume size the ZVOL had (50GB for me)
  • scroll down, Network: untick default network. Select the 'Bridged NIC' option.
  • USB devices: If you have a Zigbee stick or HA Skyconnect, tick it.
  • Create.

After a few minutes you should be able to find the HomeAssistant VM in your router's dhcp list. Go to that IP but write :8123 at the end. For me it is 192.168.0.150**:8123**.

If it doesn't show up, consider checking the serial console button of the VM and see if it has any output after restarting it. It can take around 15 seconds for text to show up.

28
 
 

So, I had to shutdown my mini pc home server (on NIXOS) so that it could be used for something else. Most of my data is in a pair of external hdds in a RAID configuration. However the Postgres database was in the boot drive. I still have it, but it refuses to boot anywhere else (tried some old spare laptops). How can I recover it?

29
 
 

Homebox v0.20.0 released!

Homebox is proud to announce the release of version v0.20.0!

But first, what is Homebox?

Homebox is the inventory and organization system built for the Home User! With a focus on simplicity and ease of use. Homebox is the perfect solution for your home inventory, organization, and management needs.

About the update

We have officially released v0.20.0 and at the same time are making progress towards v1 (stable). This release covers a range of new features and bug fixes, including:

  • Fix untranslated strings
  • Printable label improvements
  • Move passwords to use Argon2ID
  • UI improvements
  • Add page title for label and location pages
  • Thumbnails
  • Fixes for our VS Devcontainer
  • ... And much more!

You can see a full list of changes here: Changelog

What about V1..?

Great news! We're making some solid progress towards a v1 release, and have documented our roadmap update here: Homebox v1 Roadmap: Update

Important Note

If you have a custom data path specified for attachments please read the updated documentation to ensure that attachments still work.

Follow the Homebox journey

Translate Homebox: https://translate.sysadminsmedia.com/

30
31
 
 

cross-posted from: https://lemmy.ml/post/31718711

Always wanted to selfhost your Fediverse instance but were always worried about system administration trauma?

Do you ever have to run around your flat, picking up all the leftover parentheses from yesterday's party with your hosting coop coworkers?

Then you are probably the right person, check out this post about fearless Bonfire hosting on a Guix System. You'll learn that taking care of a community is much more manageable when you let computer do the boring work for you.

Set up HTTPS, automatic backups, automatic nightly upgrades and join the awesome Bonfire community without a single worry on losing data from your instance.

32
 
 

cross-posted from: https://lemmy.ml/post/31250679

"this morning, as I was finishing up work on a video about a new mini Pi cluster, I got a cheerful email from YouTube saying my video on LibreELEC on the Pi 5 was removed because it promoted:

Dangerous or Harmful Content Content that describes how to get unauthorized or free access to audio or audiovisual content, software, subscription services, or games that usually require payment isn't allowed on YouTube.

I never described any of that stuff, only how to self-host your own media library.

This wasn't my first rodeo—in October last year, I got a strike for showing people how to install Jellyfin!

In that case, I was happy to see my appeal granted within an hour of the strike being placed on the channel. (Nevermind the fact the video had been live for over two years at that point, with nary a problem!)

So I thought, this case will be similar:

  • The video's been up for over a year, without issue
  • The video's had over half a million views
  • The video doesn't promote or highlight any tools used to circumvent copyright, get around paid subscriptions, or reproduce any content illegally

Slam-dunk, right? Well, not according to whomever reviewed my appeal. Apparently self-hosted open source media library management is harmful.

Who knew open source software could be so subversive?"

33
 
 

Hey all, been wanting to get into self hosting for a while. I won't be doing a whole lot - probably just a Plex server and photo/video archives.

Maybe a personal assistant if I get really bored, lol.

At work, I've got a selected of taking either:

  • HP Prodesk 400 G4 - i5 7th Gen

OR

  • Dell Optiplex 7020
  • Dell Optiplex 3010
  • Dell Optiplex 3040 All Intel i5

Let me know if they're all shit too, lol.

Many thanks

34
 
 

So I'm very new to self hosting. When I set up Ubuntu server and jellyfin it formatted as a logical drive. I can't for the life of me parse how I add the other terabytes worth of disks I have to the machine. Can someone eli5?

35
36
 
 

Hi, I want to get Frigate installed on DELL Optiplex 3020. Given its a Intel Gen4 i5, I suspect I would be asking too much if I installed it on a VM that is running on Proxmox? From the Frigate website "Frigate runs best with Docker installed on bare metal Debian-based distributions. For ideal performance, Frigate needs low overhead access to underlying hardware for the Coral and GPU devices. Running Frigate in a VM on top of Proxmox, ESXi, Virtualbox, etc. is not recommended though some users have had success with Proxmox.". Anyone had any luck getting it up and running on a VM?

37
 
 

I am in the process of migrating my Nextcloud instance from one server to another. I copied the Borg archive to one mountpoint, /mnt/ncbackup and intend to keep my data in /mnt/ncdata.

I couldn't really find out what to mount the backup directory to, so I just fired it up as documented in the documentation, and I was able to retrieve my backups from the non-mounted directory.

So this reveals a fundamental flaw in my understanding of how Docker works - I had assumed the container only had access to whatever was explicitly mounted. But I guess I am wrong?

This is the command I run:

sudo docker run \
--init \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 8080:8080 \
--env APACHE_PORT=11000 \
--env APACHE_IP_BINDING=0.0.0.0 \
--env APACHE_ADDITIONAL_NETWORK="" \
--env SKIP_DOMAIN_VALIDATION=false \
--env NEXTCLOUD_DATADIR="/mnt/ncdata" \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
ghcr.io/nextcloud-releases/all-in-one:latest
38
 
 

Recently in Spain we have suffered a complete power outage, with no electricity for a long time. Some were able to have power on their computers with generators, solar panels, etc. And I know you can have data connectivity with SDR or HAM radio. But my question here is, what are some good self-host/local offline software that we can have and use for when something like this happens. I know kiwix, and some other for manuals. Please feel free to share the ones you know and love, can be for any type of thing as long as it works completely offline, I don't search for any specifics, if it is designed for offline use, just name it. For GNU/Linux only please (using Arch myself BTW). Thanks in advance.

39
 
 

I’m running funkwhale in docker. This consists of a half dozen docker containers one of which is postgres.

To run a backup, funkwhale suggests shutting down all of the containers and then docker compose running pg_dump on the postgres container. Presumably this is to copy the database when nobody is accessing it.

For some reason when I do this, I get an error like:

pg_dump: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
	Is the server running locally and accepting connections on that socket?

It would seem that postgres isn’t running. I see the same error with other commands such as psql.

If I fully boot the container and then try exec-ing the command, it works fine.

So it would seem that the run command isn’t fully booting the instance before running the command? What’s going on here?

The container is built from postgres:15-alpine

40
1
submitted 5 months ago* (last edited 5 months ago) by glowing_hans@sopuli.xyz to c/selfhost@lemmy.ml
 
 

So this includes diverse set of services one could self host. For example:

  • tor relay
  • scientific compute nodes for protein folding
  • ipfs node (I would not host that one with my current knowledge)

Thoughts on this?

41
 
 

I'm looking into to building a small media server. I will be th only user of it. So I don't need the ability to do simultaneous streams. I am planning on running Jellyfin.

Sense I am on a more limited budget I was thinking and older desktop and transcoding my files (on my powerful desktop) to be best supported and play smoothly.

Are there any specific recommendations you guys have for hardware I should keep a look out for that's cheaper or other recommendations for cheap hardware?

42
 
 

Just got Whisper working on my local server so I can send it audio files via curl POST request and receive transcribed text.

Are there any keyboard plugins for phones that could be directed to a personal server running Whisper to replace functions like Siri/Google assistant voice transcription?

43
 
 

I am trying to plan my home lab to satisfy two different needs:

  1. I want a stable environment where I will put a relatively expensive NAS and maybe some other Zima boards.
  2. I also want to try new versions and configurations in an env where I can break stuff BEFORE trying things on my Production environment. I would also like to use that environment to try other things like playing with Kubernetes, Docker, Iceberg, etc. I am a backend software engineer so this is very useful to me. Besides being fun.

So, I am just trying to gather ideas on how to configure this both in terms of software and hardware.

44
 
 

The services are maybe hosted by myself, but the servers aren't mine. I'm only borrowing a small chunk of resources from some company, so can it still be considered self-hosting?

45
 
 

I run a Clickhouse database. My usecase is 99% writes and 1% reads - I rarely query the database. Currently, the tables (excluding system logs) use 6GB of the 80GB on my Ionos VPS, with the VPS having 50GB free space total.

In the far future, when that 50GB starts to run out, are there any cheap storage services out there that support a filesystem or a database? Due to querying the data so rarely, read speed isn't that big a deal, and if the storage is on HDD, so be it.

46
 
 

I’m asking in general but also in terms of privacy. Is it worse that you’re more easily connected to your real identity through owning the domain?

47
 
 

cross-posted from: https://feddit.nl/post/31222548

TL;DR:

Digital Hackathon for Finamp, an open source Jellyfin music client.
From today until April 6th, so two weekends and the week in-between. Looking for designers and developers, as well as anyone else interested in contributing! Check out the Finamplify GitHub project and our Discord server for more info!


Hey everyone!
Today's the day, Finamp's first-ever Hackathon - called "Finamplify" - is starting! Let's have a week of hacking together on your favorite open source music client for Jellyfin :D

This is a digital event happening on Finamp's GitHub repository and our beta Discord server.

Check out our previous post for some background information, including the Whys and Whats: https://lemmy.ml/post/27593730

How To Get Started

If you want to contribute, that's awesome! Here's how to do it:

  1. Take a look at the Finamplify GitHub project, that's the central place for keeping track of the Hackathon
  2. Check out the issues we've pre-selected and categorized. Feel free to pick an issue from that list, and then comment on that issue so we can assign it to you!
  3. Fill out the contribution form so we can send you some free stickers at the end of the Hackathon for your successful contribution: https://app.formbricks.com/s/cm8tajvx13912s001l9it719v
  4. Chime in on our Discord server for chatting, discussing, and asking questions!

We hope you'll have a lot of fun, and are looking forward to seeing you there!

Timeline

The Hackathon will consist of three sections: The two power phases during the weekends, and an iteration phase during the week in-between.

First Power Phase:

This kicks of initial contributions, and should see the first finished implementations.

Start: Saturday, March 29th, around 10.30am UTC
End: Monday, March 31st, during the early morning hours :P

Iteration Phase:

During this phase, more complex implementations can be worked on, PRs can be reviewed, and designs can be discussed.

Start: Monday, March 31st, around 10.30am UTC
End: Saturday, April 5th, during the early morning hours

Second Power Phase:

This final phase is meant to finish up any remaining implementations and tie up any loose ends.

Start: Saturday, April 5th, around 10.30am UTC
End: Sunday, April 6th, during the early morning hours


Let me know if you have any further questions!
Looking forward to seeing you there, happy hacking, and thank you for using Finamp!

- Chaphasilor