Selfhosted

41638 readers
558 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:

  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!

founded 2 years ago
MODERATORS
1
 
 

First, a hardware question. I'm looking for a computer to use as a... router? Louis calls it a router but it's a computer that is upstream of my whole network and has two ethernet ports. And suggestions on this? Ideal amount or RAM? Ideal processor/speed? I have fiber internet, 10 gbps up and 10 gbps down, so I'm willing to spend a little more on higher bandwidth components. I'm assuming I won't need a GPU.

Anyways, has anyone had a chance to look at his guide? It's accompanied by two youtube videos that are about 7 hours each.

I don't expect to do everything in his guide. I'd like to be able to VPN into my home network and SSH into some of my projects, use Immich, check out Plex or similar, and set up a NAS. Maybe other stuff after that but those are my main interests.

Any advice/links for a beginner are more than welcome.

Edit: thanks for all the info, lots of good stuff here. OpenWRT seems to be the most frequently recommended thing here so I'm looking into that now. Unfortunately my current router/AP (Asus AX6600) is not supported. I was hoping to not have to replace it, it was kinda pricey, I got it when I upgraded to fiber since it can do 6.6gbps. I'm currently looking into devices I can put upstream of my current hardware but I might have to bite the bullet and replace it.

Edit 2: This is looking pretty good right now.

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
 
 

I had to restore my homelab and took the opportunity to move from docker to rootless podman quadlets. Well almost full rootless, I kept pi-hole and caddy at the root level because I did not want to deal with sysctl.

I have everything running but for now I have to disable my firewall. With docker I was using this script: https://github.com/chaifeng/ufw-docker But I’m having a hard time finding an alternative for podman.

Do you know how any scripts that would magically fix podman and ufw? Would it be a better solution for me to manage iptables manually?

My needs are pretty simple as I do not really care if the ports are visible on my private network, I just want to allow specific IPs on port 80 and 443.

4
 
 

I'm not sure the best way to ask or if there is a better community to post...

I'm hoping to use my home server to control my home thermostat but not sure where to start.

Does anyone use Home Assistant for this? Another software?

I'm not sure if I'm allowed to ask about hardware here, but are there things to be aware of in making sure that a wifi thermostat is best suited for the job?

5
 
 

I'm running TruNas Scale with a docker image for NextCloud and Collabora. Under Collabora, the nginx application is logging a GET to robots.txt about every second and I'm having a hard time filtering this out because it looks like the conf files for nginx get replaced on every restart. I also tried mounting my own version of the nginx.conf file, but that didn't reflect any changes.

6
 
 

cross-posted from: https://lemmy.selfhostcat.com/post/93395

I've gone handwritten, obsidian, onenote, and now Trilium. Considering switching to something else because there is no offline mobile support.

I use memos and trilium together but since neither offers mobile offline support considering switching both. No reason to run two services when I could run one.

Considering:

  • Joplin
  • Logseq
  • SiYuan
  • ?
7
 
 

I'm looking for a bookmark manager with offline capabilities. I want to host it at home and don't want to expose any ports so I should cache the links when it can't reach the server and also keep newly added links in cache and upload them when the server is reachable again (i.e., I am at home).

Is anyone aware if Linkwarden, Hoarder, Linkding (or something else) has this feature?

8
 
 

It was easy enough to do it with self hosted mastodon, cant seem to login to any of the Lemmy apps with my selfhosted website? Lemmy.rip

UPDATE: I had to renew through a setting in yunohost, not automatic, porkbun was showing it as valid and I I'm used to them grabbing it automatically or having me paste it in during setup.

9
 
 

For some time, I've hidden my nextclould behind CF zero trust. When refreshing certificates via letsencrypt I would manually disable the tunnel, refresh and re-enable the tunnel. Now that letsencrypt will no longer notify me via email I need a more robust (read automated) way of refreshing certs. Do I have any options other than disabling zero trust? (the advantage would be I no longer need vpn to have the mobile app working).

10
 
 

I thought of a weekly thread to post about what you set up lately, what kind of problems you currently think about or are running into, what new device you added to your homelab or what interesting service or article you read.

So I decided to just try it. Maybe we find a format that works! It doesn't have to be me, feel free to create this post on Sunday if it's not up already.

11
 
 

What are the pros and cons of using Named vs Anonymous volumes in Docker for self-hosting?

I've always used "regular" Anonymous volumes, and that's what is usually in official docker-compose.yml examples for various apps:

volumes:
  - ./myAppDataFolder:/data

where myAppDataFolder/ is in the same folder as the docker-compose.yml file.

As a self-hoster I find this neat and tidy; my docker folder has a subfolder for each app. Each app folder has a docker-compose.yml, .env and one or more data-folders. I version-control the compose files, and back up the data folders.

However some apps have docker-compose.yml examples using named volumes:

services:
  mealie:
    volumes:
      - mealie-data:/app/data/
volumes:
  mealie-data:

I had to google documentation https://docs.docker.com/engine/storage/volumes/ to find that the volume is actually called mealie_mealie-data

$ docker volume ls
DRIVER    VOLUME NAME
...
local     mealie_mealie-data

and it is stored in /var/lib/docker/volumes/mealie_mealie-data/_data

$ docker volume inspect mealie_mealie-data
...
  "Mountpoint": "/var/lib/docker/volumes/mealie_mealie-data/_data",
...

I tried googling the why of named volumes, but most answers were talking about things that sounded very enterprise'y, docker swarms, and how all state information should be stored in "the database" so you shouldnt need to ever touch the actual files backing the volume for any container.

So to summarize: Named volumes, why? Or why not? What are your preferences? Given the context that we are self-hosting, and not running huge enterprise clusters.

12
 
 

Hi everyone!

I have been using Grisbi for at least 15 years now to get around personal finances/expense tracking.

It is a very basic tool that tracks expenses, clearances, etc… Nothing crazy but it helps a lot to follow your budget, keep things on track. Everything is backed up through a file that I sync with Nextcloud.

For some reasons, I won’t be able to use it as easily in the coming months (new restrictions on my work laptop) so I’m looking for a Web-based selfhost-friendly alternative. I’ve already narrowed it down to 3:

  • Firefly III which looks pretty nice (and PHP is kind of a plus in my case)
  • Actual Budget which looks pretty cool too
  • Kresus much more barebone but might get the job done eventually

Do you have some feedback on any of those applications? Do you know any other alternatives worth looking at? Have you had the same kind of experience going from Gnucash/Grisbi/other to Web-based app?

13
 
 

Since 2016, I've had a fileserver mostly just for backups. System is on 1 drive, RAID6 for files, and semi-annual cold backup.

I was playing with Photoprism, and their docs say "we recommend placing the storage folder on a local SSD drive for best performance." In this case, the storage folder holds basically everything but the pictures themselves such as the database files.

Up until now, if I lost any database files, it was just a matter of rebuilding them by re-indexing my photos or whatever, but I'm looking for something more robust since I'll have some friends/family using Pixelfed, Matrix, etc.

So my question is: Is it a valid strategy to keep database files on the SSD with some kind of nightly backup to RAID, or should I just store the whole lot on the RAID from the get go? Or does it even matter if all of these databases can fit in RAM anyway?

edit: I'm just now learning of ZFS caching which might be my answer.

14
 
 

I didn't copy in the updates this time because there are so many, and I can't tell what's important since I haven't tried this one out yet. See the link above for the changes :)


More info for those that aren't familiar

Calibre, while a fantastic tool for its age, has several problems when containerised, including its reliance on a KasmVNC server instance for the UI, which is near impossible to use on mobile and is relatively resource-heavy if you're running a small, lower power server like I am.

For many, Calibre-Web has really swooped in to save the day, offering an alternative to a containerised Calibre instance that's resource-light and with a much more modern UI to boot.

However, when compared to full-fat Calibre, it unfortunately lacks a few core features leading many to run both services in parallel, each serving to fill in where the other lacks, resulting in an often clunky, imperfect solution.

Goal of the Project 🎯 Calibre-Web Automated aims to be an all-in-one solution, combining the modern lightweight web UI from Calibre-Web with the robust, versatile feature set of Calibre, with a slew of extra features and automations thrown in on top.

15
16
 
 

I think it's a good idea, everyone should be automating this anyway.

17
102
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

Hey,

I was wondering what folks use to quickly send a file or a link between your PC and android phone in a lightweight and self hosted way.

Currently I use syncthing to copy files around, but I'm looking for something more immediate, and quick than doesn't involve searching for folders in a file manager.

Example use case: Send a file from PC to phone. Notification pops up on phone, tap it to access.

(PC runs OpenBSD)

What lightweight software do you guys use?

Stuff I tried so far:

  • syncthing
  • xmpp
  • tox
  • scp and termux.
  • magic wormhole
  • telegram saved messages
18
 
 

I selfhost changedetection.io to get notifications when a webpage changes.

Most of the time, the build-in visual selector is all I need to select the parts of the page I want it to monitor.

Some of the time I need to write custom (CSS) query selectors.

Today I had an interesting case where both of those methods failed. The page (laposte.fr) uses webcomponents who write to shadowdom. Shadowdom isn't directly addressable by CSS or Xpath or ... filter.

The trick was to run some custom javascript, in the "browser steps" section:

document.body.innerHTML = document.querySelector("#shadowdom_parent_container").shadowRoot.textContent;

This replaces the document body with whatever text is inside the webcomponent. Now it's as simple as having the monitor watch for changes on the body tag.

19
 
 

I've written a bot for [email protected] that I'm currently just running on my desktop. But I'd like to be able to set and forget it (except for when I do updates) by running it on my Synology NAS.

How can I best pull the node app from GitHub and run it on my Synology, preferably automatically running on start-up if the Synology is restarted.

20
 
 

Hi all!

This is my first post from my self-hosted Lemmy instance!

Thanks all you guys who gave me suggestions and help!

Hope you can see it, BTW :)

21
23
submitted 4 days ago* (last edited 4 days ago) by [email protected] to c/[email protected]
 
 

It stores all message data exclusively in volatile RAM, ensuring that no logs are retained and messages are automatically erased when the server is powered down or restarted. This ephemeral storage, combined with client-side quantum-resistant end-to-end encryption and default traffic routing over the Tor network, enhances user anonymity. Additionally, Amnesichat includes defenses against traffic analysis, operates efficiently on cheaper hardware, and supports group chats with pre-shared keys.

Source code: https://github.com/umutcamliyurt/Amnesichat

22
23
40
submitted 4 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

Not sure if this 100% goes here but I'm relatively new to the self hosting world. Please advise if this needs to be moved elsewhere and I will.

I recently picked up a beelink mini PC and have been running Proxmox for things like jellyfin, home assistant, etc.

I'm looking to set up OpenWRT and found a helper script that sets up the VM but I'm having issues being able to configure wireless. According to the official docs, wireless is off by default if there are eth ports. When I go to edit it, both in the LuCl and in the /etc/config/wireless file, I hit 2 issues:

  1. The web client doesn't have a wireless option.
  2. There is no wireless file In the config directory.

I tried looking for some solutions online but wasn't sure what was exactly specific for me. I wasn't sure if this was a hardware issue or a Proxmox/OpenWRT config issue. Any advice on this?

Side note: My thoughts were I could use the internal wi-fi adapter for wireless but would I need a USB adapter of some sort for this capability?

Edit: I realized later I left some context off. In case i wasn't clear enough. Sorry. Currently I use a Google nest wifi pro router and was hoping to replace it with OpenWRT for more control/customization.

24
 
 

Hi guys,

Just picked myself up an EliteDesk 800 G6 SFF:

Current specs:

  • CPU: i5-10500
  • RAM: 8 GB
  • NVMe SSD: 256 GB

My plan is to beef this up with:

  • RAM: Crucial Pro DDR4 RAM 64GB Kit (2x32GB) 3200MHz

  • HDD: 4TB ironwolf NAS drives * 2

  • NVME SSD: Samsung 970 EVO Plus 1 TB PCIe NVMe M.2

How I'm planning my setup:

The existing 256 GB NVMe will host Proxmox.

The new 1 TB NVMe will be for VM's & LXC's

The 4TB ironwolf NAS drives will be configured in a mirror and will be used as a NAS (Best way to do this?) as well as for bulk data from my services, like recordings from Frigate.

Services:

  • Home Assistant (Currently running on a pi4)

  • Frigate (Currently running on a pi4)

  • Pi hole (Maybe, already running on an OG pi)

  • Next cloud (Calendar, photos)

  • TailsScale

  • Vaultwarden

  • Windows 11

My follow on projects will be:

Setup PBS to back up my Host(proxmox-backup-client), VMS & LXC's

I have a Raspberry Pi 4 that I was thinking to use for PBS in the short term, but will eventually move it to something like an n100 mini PC.

I will also setup a second NAS(TrueNAS most likely, bare metal) to back up the 4TB ironwolf NAS.

This is my first proper homeLab, having mostly tinkered with Raspberry Pi's and Arduino's up to this point, any advice on my setup would be really appreciated.

25
 
 

Just exposed Immich via a remote and reverse proxy using Caddy and tailscale tunnel. I'm securing Immich using OAuth.

I don't have very nerdy friends so not many people appreciate this.

view more: next ›