1
40
submitted 2 years ago* (last edited 2 years ago) by Zoe8338@lemmy.ml to c/selfhost@lemmy.ml
2
5
submitted 18 hours ago* (last edited 10 hours ago) by geneva_convenience@lemmy.ml to c/selfhost@lemmy.ml

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.

3
37

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/

4
1
YunoHost login issue (feddit.online)

So, I decided (via a virtual machine) to download debian. Everything seems to be working fine, except when I open debian, it takes me to "yunohost login". I tried everything I could think of, from "root" to the username it told me to put for the user, even "admin". Nothing worked.

5
6

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?

6
6
7
5

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.

8
100
submitted 1 month ago by JRepin@lemmy.ml to c/selfhost@lemmy.ml

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

9
20
submitted 1 month ago* (last edited 1 month ago) by ocean@lemmy.selfhostcat.com to c/selfhost@lemmy.ml

Edit: I of course mean diary private diary entries.

10
6
submitted 1 month ago* (last edited 1 month ago) by nfreak@lemmy.ml to c/selfhost@lemmy.ml

Started my first home server about 3 weeks ago and I really need to reconsider my storage options, but everything I read about NAS setups is going right over my head. This is gonna be a novel partially because writing this down helps me think through it, and I also just want to be sure I'm on the right track.

Here's my current setup and what I'm looking to do:

  • My server itself is a little HP mini PC. i7, 2 TB SSD, solid little machine so far. Running Proxmox with a single debian VM which houses all my docker containers - I know I'm not using proxmox to its full advantage, but whatever it works for me. I mostly just use it for its backup system.

  • Currently using an 8 TB powered usb external, primarily for media and backup files. Everything else fits directly on the server's internal SSD with plenty of space available, but being able to expand or migrate nextcloud and immich down the road would be nice

  • Coincidentally, I've been using a similar 8 TB external for my desktop for the past 3-4 years. Right now it's just for desktop backups (cachyOS) and storing about 500GB worth of ROMs and growing. I used to use this to expand my steam library, but over the years internal storage has gotten much cheaper so I really don't need to do that any more.

  • I've been reading about external drive shucking, since apparently that's a thing? Seems like my best bet here would be to crack both of these external drives open and slap them into a NAS. 16TB would be plenty for my use.

  • Hardware: while I like the form factor of Synology/Terramaster/etc, seems like the better choice would be to just slap together my own mini-ITX build and throw TrueNAS on it. Easy enough, but what sort of specs should I look for? Since I already have 2 drives to slap in, I'd be looking to spend no more than $200. Alternatively, if I did want the convenience and form factor of a "traditional" NAS, is that reasonable within the budget? From what I've seen it's mostly older models in that price range.

  • I assume I can essentially just mount the NAS like an external drive on both the server and my desktop, is that how it works? For example, Jellyfin on my server is pointed to /mnt/external, could I just mount a NAS to that same directory instead of the USB drive and not have to change a thing on the configuration side?

  • Will adding a NAS into the mix introduce any buffering/latency issues with Jellyfin and Navidrome?

  • What about emulation? I'm going to set up RomM pretty soon along with the web interface for older games, easy enough. But is streaming roms over a NAS even an option I should consider for anything past the Gamecube era?

11
7
submitted 2 months ago by some_dude@lemm.ee to c/selfhost@lemmy.ml

BLUF: Do I really need to run TrueNAS VM?

Newbie, running ProxMox to host Plex and associated *arr servers, Nextcloud, DNS, and about a dozen other services. I am running TrueNAS Core in VM.

I have three zfspools; one for OS install, one for Cloud storage, and one for Media storage.

In configuring my Media storage pool, I passed the disks from ProxMox to TrueNAS VM and created a SMB share. Then, apparently to mount the share to Plex, I needed to pass the pool from TrueNAS back to ProxMox. This seems overcomplicated to me but I'm not sure if my thinking is correct.

Basically I'd like some sort of management GUI for storage, just to the extent that shows me how full the storage is, errors, and if a disk goes bad.

If I do get rid of TrueNAS, how do I properly mount the disks back into ProxMox without losing the TBs of data I have on my Media storage pool?

12
1
submitted 2 months ago* (last edited 2 months ago) by trilobite@lemmy.ml to c/selfhost@lemmy.ml

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?

13
13
submitted 2 months ago by cyberwolfie@lemmy.ml to c/selfhost@lemmy.ml

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
14
18
submitted 2 months ago by 6R1MR34P3R@lemmy.ml to c/selfhost@lemmy.ml

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.

15
3
submitted 2 months ago by ch00f@lemmy.world to c/selfhost@lemmy.ml

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

16
14

I run one huge media server, one backup, three mini optiplex server (one public, private, and local), and one off site.

  • Is there a cheap Pi or something similar I could bring for the optiplex servers and then just let go of the others until I'm back?
  • Do I just throw everything in a VPS except for local stuff?
17
4
submitted 2 months ago* (last edited 2 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?

18
4
submitted 2 months ago by obsidianfoxxy7870 to c/selfhost@lemmy.ml

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?

19
3
submitted 2 months ago by ch00f@lemmy.world to c/selfhost@lemmy.ml

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?

20
9
submitted 3 months ago by Campers@lemmy.world to c/selfhost@lemmy.ml

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.

21
19
submitted 3 months ago by nawordar@lemmy.ml to c/selfhost@lemmy.ml

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?

22
5
submitted 3 months ago by lemuria@lemmy.ml to c/selfhost@lemmy.ml

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.

23
30
submitted 3 months ago by ComradeMiao@slrpnk.net to c/selfhost@lemmy.ml

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?

24
15
submitted 3 months ago by Chaphasilor@feddit.nl to c/selfhost@lemmy.ml

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

25
9
submitted 3 months ago by lent9004@lemmy.world to c/selfhost@lemmy.ml

cross-posted from: https://lemmy.world/post/27452084

MAZANOKE is a simple image compressor and converter that runs entirely in your browser. No external uploads, works offline as a web app, and is powered by the "Browser Image Compression" library.

Github project page: https://github.com/civilblur/mazanoke

Features

  • 🚀 Compress & Convert Images Instantly In Your Browser
    • Adjust image quality (0-100%).
    • Set a target file size.
    • Set max dimensions, to not exceed a certain width/height.
    • Convert between JPG, PNG, and WebP.
  • 🌍 Installable Web App
    • Use as a Progressive Web App (PWA).
    • Dark and light mode.
    • Fully responsive for desktop, tablet, and mobile.
  • 🔒 Privacy-Focused
    • Works offline.
    • All image processing happens locally.
    • No data is uploaded to external servers. Your files stay on your device.

Use case

This app is designed to compress smaller batches of images, aimed at casual users who need to compress and convert a few images at a time.

I created it primarily for friends and family who are less tech-savvy, to help them compress and convert images in a simple, safe, and private way.

Since the compression is handled in the browser, it won't cause any additional load on your server.

Additional notes

  • I wanted it to be low-dependency, so it's built using pure HTML/CSS/JS.
  • If you're wondering about the excessive amount of animations used, it's simply because I wanted to have fun working on this project. These types of animations are usually impractical for general purpose websites and are impractical to maintain.
view more: next ›

Self Hosted - Self-hosting your services.

14673 readers
5 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