en
Feedback
r/SelfHosted

r/SelfHosted

Open in Telegram

@r_channels

Show more
The country is not specifiedThe category is not specified
169
Subscribers
+124 hours
+77 days
+3530 days
Posts Archive
Brief rant: OnlyOffice in NextCloud doesn't have undo available by default. Just a heads up for my homelab/selfhosted comrades, OnlyOffice in NextCloud defaults to "Fast Mode" which feels like O365's collaborative feeling. If you are distracted and accidentally CTL+A and Delete the contents of an important financial Excel document instead of a single cell you are working on, it instantly saves a blank slate over a previously useful file. There's no CTL+Z or undo option, you get a warning to enable (post fact) the Strict Editing feature. Somehow the day old copy on my wife's computer also was blank even though I unplugged our AP so it couldn't sync the ruined copy (maybe it hadn't sunk or otherwise wasn't fully shut down and still syncing when I ran over to it). You can set a file to "Strict Mode" so that you can undo mistakes, but man, hours after the fact and trying to fix it and I'm still frustrated and put off. From what I've read, it's the default for everyone, so it looks like a single user could accidentally ruin the file for everyone involved. Versioning also doesn't seem to be working on my week old NextCloud instance, so there was no rolling it back, and the only copy of the file was set up before a round of backups, so i'm just going to have to remake it from scratch. Avoid my frustration... https://redd.it/njjvpu @r_SelfHosted

Using LXC (without LXD) to host services I currently use docker-compose for my services and it works well, but I'm always looking to learn something new. I've read some self-hosters talk about using LXC containers to host their services instead of docker/podman. I know a lot of you use LXD to manage LXC containers, but LXD is not available on Debian via apt and the only way to install is via snap which seems to cause a lot of problems for a lot of people. I'm personally not interested in dealing with snap programs on my host, so I'm avoiding LXD for the time being. Are there still people here who run LXC "the old fashioned way" with lxc-create, lxc-attach, etc.? Is this a recommendable setup? With docker, backing up folders is easy using docker's volumes. How do you backup data inside an LXC container? Can you backup specific folders like in Docker or just the whole container? I'd love any advice, links to LXC guides, etc. Thanks. https://redd.it/njkc32 @r_SelfHosted

Publicly accessible sites with authentication - Authelia alternatives? There are a few things I wanna deploy in Docker (Dokuwiki, Homer, and more) but neither of them have authentication. My plan was to use Nginx to proxy in HTTPS but I don't wanna have a simple .htpasswd/access file because the authentication box is ugly. I will be hosting these publicly. I guess what I'm after is an authentication provider. ​ I did some research and saw Authelia. Looks good but I would like some more options. Does anyone know of anything else? https://redd.it/njlxf0 @r_SelfHosted

StrongFiles - Best free file hosting solution for everyone deleted https://redd.it/njke4v @r_SelfHosted

Android/iPhone not using local CoreDNS Hi. I've been banging my head against the wall for a while now, so now it's time to ask for help. I have a coredns service setup(both UDP and TCP), in my local microk8s cluster, using metalLB ( using the arp method), running on a separate vlan. So my devices are running on vlan(172.19/16) and coredns on the server is on vlan(172.29/16). The device network is setup to handout the coredns ip as primary dns via DHCP. The dns service is setup to provide internal names on a .home domain, and forward everything else. For our Ubuntu laptops name resolution works fine, mostly. But on our phones it just doesn't work. I can force my android using a dns changer app, and then it works. On our laptops, I've noticed that sometimes it changes configuration to use the secondary dns from DHCP, and then stuff starts failing. I have a couple things that I think could be the source of the problem, which I'm going to try out today. But I'm also deep enough that I really could use another opinion or two. I'm also completely open to alternate solutions altogether. Today I'll try, 1) switching over metalLB to use the bgp method, 2) putting a dns server on the device vlan. Thanks for your time 🙂 https://redd.it/nji3l6 @r_SelfHosted

How to easily migrate from hardcoded directories to docker volumes? I'm starting with self-hosting and I'm taking my first steps with docker recently. I did a mistake and hardcoded location for files in one folder instead of using volumes. Can I somehow easily move my files into containers? bonus question: can i just throw volumes to backblaze b2 via duplicati to backup my data? https://redd.it/njihev @r_SelfHosted

Helped needed with IP routing Hi, I've got openvpn-as working in a docker container, any item that is connected to the openvpn network can ping each other. Device 1 - 172.27.240.10/20 Device 2 - 172.27.240.20/20 the docker container is running on 172.17.0.3 the physical ethernet connection to the device running ubuntu / docker is 192.168.20.22 if my windows machine running on 192.168.20.50 wants to ping device 1, what route do i need to setup, the ubuntu device also provides my dns and dhcp services. thanks https://redd.it/njfpn8 @r_SelfHosted

To Raid or Not to Raid My first ever homelab is a test case on an old laptop. It's a Ubuntu server running the standard gambit of self hosted mostly using docker-compose. That has been working great but it's time to move to something with a little more storage than just my 500gb Crucial MX300 and an external HDD. I've got an old i7-975 tower not doing anything and I've decided to turn that into my new NAS/Home server. Here's the issue. I've accumulated quite a few storage devices over the years and would really prefer to use them over buying new ones. Both cost and environmental concerns. My use case is as follows: Jellyfin and associated files and services Calibre Seafile for Photo backup and Work files (small and frequent changes) Seatables Codeserver Vaultwarden Home assistant Blocky Viewphoto other smaller services, recipe manager, trivia game, personal project. Virtual Firewall (opensense/pfsense) This is a possible as my new motherboard has a dual nic. My current devices are as follows: 2 x 500GB Crucial MX300 SSD 1 x 1 TB HDD 1 x 750GB HDD 1 x 500gb HDD 1 x 1TB USB 3.0 External 1 x 4TB USB 3.0 External 1 x 500GB 2.0 External None of the HDD are NAS drives. (I realize that's not ideal. But hopefully with backups and not having a ton of drives I can get away with it?) So I'm looking at a few different options as to how to set everything up. 1. Use Unraid. The HDD's would be the Array with the 1TB being parity. The 2 SSD would be in a raid1 cache pool. Pros: Drive set up is easy, VM manager included (possible OpenSense Firewall, Kali Linux, etc), web ui for monitoring, HDD will be spun down a lot of the time, different sized drives work. Cons: No native docker-compose, questionable automation support, more restrictive than a straight Ubuntu Server. (Native app support such as Kopia) Cost of the software. (really not that bad but a consideration) 1. Set up something similar to LinuxServers.io's Perfect Media Server. Using MergerFS, SnapRaid, ZFS, and Proxmox to achieve something similar to Unraid. Pros: Runs on Ubuntu Server, Free, Docker-compose support, lots of automation options, I've grown more comfortable with cml and my workflow with VScode. Cons: More complicated drive setup, ZFS is more restrictive in array setup, Snapshot model rather than real time. 1. Similar to Option 2 but not worry about using Raid. Just have an offsite backup for sensitive/irreplaceable data. (This is also included in the other two options. Raid not being a backup and all) I've considered TrueNAS Core as well. It seems to not really provided anything that options 1 or 2 don't already while being more restrictive for my use case. In the end I'm just looking for any thoughts or experiences you might have. Thank you very much in advance! TLDR; I'm looking to upgrade my homelab being an old laptop. Debating the use of Raid / Unraid or just sticking with Ubuntu server and offsite backups. Looking for any opinions on what fits my use case the best. https://redd.it/njetv8 @r_SelfHosted

Getting intermittent 502 errors with Nginx Proxy Manager when using Pi-hole DNS entries. I have Nginx proxy manager working correctly at this point, but when I try to change my proxy hosts from IP addresses to the DNS entries I added to my Pi-hole DNS resolver, I get 502 errors like every 3-4 refreshes (and API calls fail as well). I have disabled IPv6 on NPM, but still have the issue. Anyone know what the problem may be? NPM logs don't seem to offer any help either. https://redd.it/njdubo @r_SelfHosted

gitserv — A selfhosted alternative to GitHub Pages Hey all, I just made this simple web server thing that serves contents of Git repositories as if they were static sites. An alternative to GitHub Pages, if you will. As an example, my site ecmelberk.com is now using the files at https://git.ebc.li/www/ecmelberk.com. This isn't limited to Gitea. Anything (I know of) that drops git repositories as folders on your drive should be compatible. You can find it at https://sr.ht/~admicos/gitserv, and if the docs are unhelpful (they probably are, not going to lie) I'll be here to answer any questions you might have. https://redd.it/njdeiv @r_SelfHosted

Help with Mayan EDMS - Watch Folder's new files always permission denied Hey, I'm trying to run Mayan EDMS in a docker container and I'm using the official docker compose from here: https://gitlab.com/mayan-edms/mayan-edms/-/blob/master/docker/docker-compose.yml I've also added a watch folder and a staging folder:
  volumes:
    - ${MAYAN_APP_VOLUME:-app}:/var/lib/mayan
    - ./staging_files:/staging_files
    - ./watch_folder:/watch_folder
and configured them in the UI. I wanted to the test the watch folder by downloading a pdf via wget from outside of the container (via root), but in mayan I keep getting following error:
PermissionError; [Errno 13] Permission denied: '/watch_folder/Rechnungsmuster_de.pdf'
I've already tried to fix some owner rights inside of the container:
chown -R mayan:mayan /watch_folder
But new files are always owned by root:
root@f658abde71c4:/# ls -l
drwxrwxrwx   2 mayan mayan 4096 May 23 14:04 watch_folder
root@f658abde71c4:/watch_folder# ls -l
total 300
-rw-r--r-- 1 root root 305430 Oct 15  2019 Rechnungsmuster_de.pdf
Any idea how to fix it? https://redd.it/nj8nz7 @r_SelfHosted

Running displaying two docker containers under one domain? Hi everybody i've just had a thought: Is it possible two show more than one docker container under one domain? My current situation is that i have two servers running and want to manage them in an easy way. For example i've got two instances of cloudcommander running (one on each docker host) and therefore two different domains i reverse proxy the containers too. If i had them "proxied" (is that a word?) to one domain with a simple switch button it would save a lot of time. I already did a lot of searching but the only i found was organizr, which is more of a total solution for many problems and not quite what I actually want. So does anybody know how i could achieve this? If you know a software or a way how i could build something like this myself please comment, Thanks in advance https://redd.it/nj939l @r_SelfHosted

Help with internal reverse proxy (nginx proxy manager) So I've been pulling my hair out over this for a while now and I just haven't been able to solve the problem. I appear to have hit a brick wall and wanted to reach out and ask for any assistance. I'm running a small home network from my local NAS and have multiple services running in docker containers on their respective ports (Plex, Pi-Hole, etc). Instead of navigating to "NAS-IP:PORT", I just want to be able to enter "plex.MYDOMAIN.com" or "pihole.MYDOMAIN.com" and be directed to the correct ip:port location. Most tutorials recommend purchasing a domain, and exposing your services to the internet, but all I want to do is run this in a local non-public facing network. I followed this tutorial (https://www.youtube.com/watch?v=iWvCN2j7xjo) to get Nginx Proxy Manager installed and I can successfully connect, but nothing works when I try to add a proxy host. Does anyone have any tips on how to get this working? I'm at my wits end. Am I even going about this the right way? I initially tried using Pi-Hole's local DNS but realised that it could only point to unique local IP's, whereas my network is on one IP with different ports, and so that won't work. https://redd.it/nj6g6v @r_SelfHosted

Some help with wireguard setup I didn't setup wireguard yet and lacking to find good guides matching my exact Usecase. Maybe someone can quick help how general config could look like. I want to achieve the following: - don't route traffic! - set DNS server for clients - fixed IP for every client Goal is to just build intranet without routing traffic, setup DNS to match clients and/or internal services. https://redd.it/nj3yzk @r_SelfHosted

Self hosting and IP leak Hello, I'm trying to set up services like email, matrix and nextcloud on an old pc and a raspberry pi at home. It seems like by doing it at home, these services will share the same ip as all my other connected devices which will leak my ip address if people try for example to send me emails or connect to the same matrix home server. I was wondering if this is a good approach for privacy. I don't want to host my services in an external vps or hosting service because that will add a third party to the equation. https://redd.it/nj4833 @r_SelfHosted

Family Friendly Messaging Service Is there a family friendly Messaging service I can host? I am wanting a safe place and method for my kids to be able to message certain people. This way they can learn about typing, keep in touch with family but not have access to lots of randoms on the Web. It would need an app to allow family to have it on their phone and that I can install on the kids tablets. Cheers in advance https://redd.it/nj2t72 @r_SelfHosted

Looking for a working Docker-Compose file for Clarkson Can someone who has successfully set up a clarkson (linuxserver/clarkson) docker container share their docker-compose configuration please? I am still in my learning phase of the docker/linux environment and I am not sure how to set up clarkson container with its own sql database. So, if you could share you configuration - it will be much appreciated! Thanks! https://redd.it/nizz8c @r_SelfHosted

Free VPS for creating a wireguard tunnel to my home network Hello folks. I recently started trying out self-hosted solutions after stumbling upon this sub. I currently have a contabo VPS subscription on which I was hosting PhotoPrism for photos, Nextcloud for file sync and some other apps which are not critical to my workflow, but I like using. But these days I hardly step out of the house because of covid and work from home situations. So I was thinking of canceling my VPS subscription to save the monthly cost. I also, through some luck, chanced upon a Synology NAS, which now makes my setup redundant. However, I would still like to have anywhere access to my files when I do need them sometime in the future. But because my Internet is behind ISP NAT, I can't directly expose my home network over the Internet. I need a VPS with a static IP for that. I know that Amazon, Google Cloud, and Oracle cloud all offer some form of free VPS. However, their billing systems are very complicated and the VPS resources are obviously quite small. So I have two questions: 1. Are any of these services truly free? As in, a free VPS, a static IP address, and domain mapping should be available for free. 2. Are these VPS, with RAMs sometimes as low as 512 MB, sufficient to run a wireguard tunnel? Any help and/or suggestions are welcome. P.S.: I live in a low income country, so VPS subscriptions like Contabo, even though cheap from western perspective, work out to be expensive for me. https://redd.it/nizf87 @r_SelfHosted

Now that I've "degoogled," I'm looking for location history and location notes / bookmarks when I'm mobile. Any ideas? Hello, I am newly running a Pixel with CalyxOS so I have no Google location tracking or Google maps. I am looking for location history and, most of all, a mobile maps app which lets me stop somewhere interesting, mark my place on a map, and write notes about that area. Sort of like Google's place markers or their My Maps function. I am willing to use an app with decent privacy protections, or use a selfhosted service. I have a Linux home server running Nextcloud and other services. I have rudimentary Docker knowledge and am willing to learn. I am looking at OwnTracks / NextTracks and the Mosquitto server, but I'm not sure that's my use case. I don't necessarily need a home assistant or geofencing, and those seem oriented towards that? https://redd.it/niycb6 @r_SelfHosted

Scripts as a service Hey, I'm looking for a self-hosted service to manage and deploy scripts. What I mean is, say I wrote a small python script, I want the platform to manage its execution, e.g. run it every x mins, enable/disable, loggiing etc. Has to be in a Docker container, highly preferably with a Web UI. Know anything good for this? :) https://redd.it/nixl35 @r_SelfHosted