r/selfhosted May 25 '19

Official Welcome to /r/SelfHosted! Please Read This First

1.3k Upvotes

Welcome to /r/selfhosted!

We thank you for taking the time to check out the subreddit here!

Self-Hosting

The concept in which you host your own applications, data, and more. Taking away the "unknown" factor in how your data is managed and stored, this provides those with the willingness to learn and the mind to do so to take control of their data without losing the functionality of services they otherwise use frequently.

Some Examples

For instance, if you use dropbox, but are not fond of having your most sensitive data stored in a data-storage container that you do not have direct control over, you may consider NextCloud

Or let's say you're used to hosting a blog out of a Blogger platform, but would rather have your own customization and flexibility of controlling your updates? Why not give WordPress a go.

The possibilities are endless and it all starts here with a server.

Subreddit Wiki

There have been varying forms of a wiki to take place. While currently, there is no officially hosted wiki, we do have a github repository. There is also at least one unofficial mirror that showcases the live version of that repo, listed on the index of the reddit-based wiki

Since You're Here...

While you're here, take a moment to get acquainted with our few but important rules

When posting, please apply an appropriate flair to your post. If an appropriate flair is not found, please let us know! If it suits the sub and doesn't fit in another category, we will get it added! Message the Mods to get that started.

If you're brand new to the sub, we highly recommend taking a moment to browse a couple of our awesome self-hosted and system admin tools lists.

Awesome Self-Hosted App List

Awesome Sys-Admin App List

Awesome Docker App List

In any case, lot's to take in, lot's to learn. Don't be disappointed if you don't catch on to any given aspect of self-hosting right away. We're available to help!

As always, happy (self)hosting!


r/selfhosted Jan 01 '24

Official Happy New Year, /r/selfhosted - January Announcements

25 Upvotes

New Year Announcement - Happy 2024!

Welcome to 2024! It's been a wild 365 days, and we're ready for the next 366 (Forget it was a leap year? I didn't)! That said, We've got some big changes planned, and we want your insight! Let's get right to it.

New Moderators

As many have noticed over the last several months, my ability to keep up with the growing subreddit (Thanks, /u/a_sugarcane for being excited about 300k members!) has been overwhelmed as my personal life has become increasingly busy. My hobbies and work life are taking up a lot more time than they have in the past.

That said, I'd like to officially welcome the first of at least 5-6 new moderators to be brought on for the new year to help with the community!

I reached out to these folks specifically due to their existing involvement in the community and the positive and productive contributions they've made thus far. So welcome!

New Survey - Your Participation is greatly appreciated

We're looking for two things with this survey:

  1. We want to make this place a better place by ensuring the rules and goals still align with the desires of the community
  2. We want to gauge interest in new moderators!

Please take some time to fill this out as best as you can. The more feedback we get here, the better we can do moving forward for this year.

Google Forms Survey (Email address login is not required, but please, do not abuse the survey)

Survey Questions Open Discussion!

The questions all ask fairly specific questions, save for a couple of optional open-ended questions. What do you think this subreddit can use to improve its benefit to the community best?

Please, feel free to share here, and help us make it a better place for all involved.

As always,

Happy (self)Hosting!


r/selfhosted 20h ago

Today I left the cloud.

Thumbnail
gallery
1.2k Upvotes

r/selfhosted 4h ago

Automatically backup Vaultwarden - my way

12 Upvotes

I've been running Vaultwarden on my Unraid server for several years. I usually export it to a json file and zip it with a password.

Now I let it back up automatically to an external drive by deploying a docker from https://github.com/Bruceforce/vaultwarden-backup

Here is my docker compose file, to automatically backup it every 12 hours, and keep the last 7 days backups in gpg encrypted files:
version: '3.7'

services:

vaultwarden-backup:

image: bruceforce/vaultwarden-backup

restart: on-failure

init: true

# depends_on:

# - vaultwarden

volumes:

- /mnt/user/appdata/bitwarden:/data/:ro

# uncomment this if you want your backup to be written to ./backup/ folder"

- /mnt/remotes/BTHOVEN_DDWRT_NAS/bitwarden_backup:/backup/

- /etc/timezone:/etc/timezone:ro

- /etc/localtime:/etc/localtime:ro

environment:

- BACKUP_ADD_DATABASE=true

- BACKUP_ADD_ATTACHMENTS=true

- BACKUP_ADD_CONFIG_JSON=true

- BACKUP_ADD_RSA_KEY=true

- DELETE_AFTER=7

- TIMESTAMP=true

- CRON_TIME=0 */12 * * *

- TZ=Asia/Bangkok

#- UID=1000

#- GID=1000

- BACKUP_DIR=/backup

#- BACKUP_DIR_PERMISSIONS=777

#- BACKUP_DIR_PERMISSIONS=-1

#- LOG_DIR_PERMISSIONS=-1

- LOG_DIR=/backup/logs

- LOG_LEVEL=INFO

- LOG_CLEAR_AT_START=true

- BACKUP_ON_STARTUP=false

- ENCRYPTION_PASSWORD=yourpassword

#- ENCRYPTION_BASE64_GPG_KEY="LS0tLS1CRUdJTiBQR1AgUFVCSQTUKbUZvPQo9ZUhDdwotLS0tLUVORCBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCg=="


r/selfhosted 2h ago

Any Lidarr experts out there? How can I set my preferred release region?

3 Upvotes

Here's an example, where the default was a 6 CD - 65 track release:

https://preview.redd.it/f55pb4p3t7vc1.png?width=1061&format=png&auto=webp&s=f229c6618018de47b2e56ae7cf1c75064576e83d

I want it to default to the standard release (11 tracks in this case) for a region and not the super deluxe edition.

Any ideas?


r/selfhosted 16h ago

Does .tv look stupid for a self-hosted e-mail?

49 Upvotes

Does it look stupid to use a .tv domain for a personal email? My lastname is taken for the major domains such as .com, but .tv is available for my lastname and it would match my initials. An example (not my real name) would be [tyson@vaughn.tv](mailto:tyson@vaughn.tv)


r/selfhosted 19h ago

Morphos v0.3.0 is out!

81 Upvotes

As the title says Morphos v.0.3.0 is out!

Remarkable changes:

  • XLSX - CSV is now possible!
  • Unipdf was removed in favor of go-fitz

Go check it out!!


r/selfhosted 3h ago

Small business chat

3 Upvotes

We are a Microsoft based business and before I throw in the towel and use Teams I wanted to explore self hosted chat options. I dislike Teams because it lacks some basic features and to me, is too coupled to other parts of Office 365.

I'm struggling to find a self hosted option, all of the ones I've read or tried have features behind a subscription that I need. I'm ideally looking for a platform that will support SSO, desktop & mobile apps and notifications on both desktop and mobile. Rest of my use case is fairly basic, channels with certain users invited.


r/selfhosted 1d ago

Product Announcement Pi.Alert is dead...šŸ’€ Long live NetAlert X šŸš€

Thumbnail
github.com
163 Upvotes

r/selfhosted 14h ago

Proxmox or Ubuntu with Docker?

17 Upvotes

I recently got an Intel NUC (11th Gen i7, 32 gigs RAM, 1TB NVMe, 4 Bay DAS) and I'm trying to decide on the best way to set it up. As of right now I plan to migrate my *arr stack from my desktop, qbittorrent, and my plex server. I'd also eventually like to move my Home Assistant and Pi-Hole off of their respective Pi's. I know running HAOS would need a VM so that's why I'm leaning a bit towards proxmox. The other option was run everything in docker containers except the HAOS which would be in a VM.

Any recommendations?

Edit: Forgot NGINX and Immich will be on there as well


r/selfhosted 18m ago

Nextcloud Talk as alternative to Matrix/Rocketchat/Mattermost?

ā€¢ Upvotes

I am looking for an OS and self-hosted WhatsApp replacement for around 1,000 users.

  • Mattermost and Rocket.Chat have shifted toward the enterprise market, increasingly placing more features behind an "Enterprise License" wall. In particular, sending push notifications has become problematic.
  • Matrix is an option but may be overkill for a simple chat application.
  • Zulip is appealing but can also be a bit complicated and too technical for end-users.

Nextcloud Talk has improved recently. What do you think? Is it feasible for this scenario, or do you have any other suggestions?I am looking for a WhatsApp replacement for around 1k users.

  • Mattermost and Rocketchat went the enterprise direction and move more and more features behind the "Enterprise license wall". Especially sending push notifications is a problem.
  • Matrix is an option but can be also an overkill for a simple chat app
  • Zulip is a nice option but can be also a bit complicated or too techy for end users

Nextcloud talk got better recently, what do you think? is it feasable for such a scenario (just texting, no video calls) or do do you have any other ideas?


r/selfhosted 4h ago

VPS to act as an public NAT for internal services (Cloudflared "self host" alternative)

2 Upvotes

Due to constrains mainly regarding public IP from ISP and limits on certain ports I'm thinking of paying for an cheap VPS to do NAT via an Wireguard tunnel to my internal services. And while Cloudflared is an awesome thing, it only supports HTTP(s) and I need raw TCP/UDP for some services.

Currently I got a solution in mind, se below;

  • Setting up an Docker Wireguard server instance on an VPS, and manipulate iptables and sysctl to forward specific ports to the Wireguard client
  • Setup Docker container on my main docker-compose stack (let's call it vps-vpn-client) that connects to the VPS
  • Configure the Traefik container instance to use docker-compose network_mode: "service:vps-vpn-client"
  • Configure Traefik to use HAproxy Proxy protocol and TCP/UDP/HTTP mode to internal services

However I'm wondering if there is an simpler altarnative to what I'm trying to achieve?


r/selfhosted 27m ago

Radarr and Sonarr in Docker will not start

ā€¢ Upvotes

Last week when updating my Ubuntu box after a restart I noticed that Sonarr and Radarr both failed to start back up with docker compose. The only error provided is "resource temporarily unavailable" and looking through various log sources I do not see any information thrown to chase down what could be the issue. All of my other containers/services are working just fine, it's only these 2 out of 10 or so. Has anyone else run into this before? I've stopped both and downloaded a fresh image, still the same error. Could my databases be corrupted?


r/selfhosted 28m ago

Self Help NextDNS conflict with wireguard

ā€¢ Upvotes

I have Wireguard installed. It worked fine from my phone. Today I set up NextDNS. I have no internet when I turn Wireguard tunel on (when I am not gome), even can't access my selfhosted services with domain name (and nginx). Should I ditch NextDNS and back to Blocada? Any help, please?


r/selfhosted 58m ago

LLM front end

ā€¢ Upvotes

Iā€™m looking for open source front end project that allows me to chat with backend servers (OpenAI compatible etc), ideally I can self host the front end and enter API keys and backend url


r/selfhosted 1h ago

Photo Tools Has anyone had success setting up Ente with Traefik?

ā€¢ Upvotes

I'm using Docker. So far, my best result is being able to reach the server and log in. However, while uploading photos, the process gets stuck waiting on encrypting the backup.


r/selfhosted 1h ago

I have launched a complete platform to capture, manage and share Data- User Generated Content.

ā€¢ Upvotes

I have build Feedspace https://www.feedspace.io/ - A Platform where you can Collect, Manage and Share Audio, Video & Text Data Feeds. Be it testimonials, feedback, reviews, bug reports, interviews, user-generated data and more! Create your own Wall of Love with these feeds and showcase on your website/ Social Media and build social proof to increase your revenue and business. You can import your reviews from all over the internet. Currently you can integrate with Google, Play Store, Amazon, Facebook, Trustpilot, Tripadvisor. I am adding more to the list.

Everyday I am encountering different use cases for this product. You can checkout the product and give your opinions.


r/selfhosted 9h ago

Need Help unRaid, Proxmox, TrueNas? Need advice upgrading my homelab

3 Upvotes

Hi folks, Iā€™m hoping I can get some advice and opinions from folks smarter than I. Iā€™ve been running a homelab for the past year or so and Im on the verge of upgrading/changing a few things. I figured it was time to reassess my current set up and perhaps find ways to improve.

I currently have an unRaid server for everything. I only use unRaidā€™s docker setup to run a bunch of containers (Plex, *arr, Ombi, Grafana, etc).

Iā€™ll admit I didnā€™t do enough research before committing to unRaid. My primary reason for going with it last year was that I wanted to be able to easily add or replace drives in my array, and the other options sounded like they werenā€™t quite as straight forward to do this. Iā€™ll also admit Iā€™m likely very wrong here, but thatā€™s what I thought back then.

Iā€™ll cut to the chaseā€¦ Iā€™m slowly working to split this unRaid server into 2 physical servers. One will be all media/Plex/*arr, and the other will be for other containers, VMs, and services unrelated to media.

Needs:

- Ability to easily expand my drive pools as I add more drives.
- Run docker containers
- Run VMs (eventually)

Questions:

  1. If my primary use for unRaid is its docker container system, do I even need/want unRaid? Should this just be swapped out for a Linux install, Proxmox, or other, and just run docker containers there?

  2. Iā€™m very curious about Proxmox. I donā€™t currently have a need for VMs, but likely will in the future. Should my secondary physical server use Proxmox to keep things as future proof as possible? It would initially only house docker containers, but again, definitely more in the future.

  3. If I *do* commit to running Proxmox on both, would it make sense to cluster them? Iā€™m probably getting ahead of myself with this question, but figured Iā€™d toss it in here.

Thanks in advance!


r/selfhosted 1h ago

Ssh vuln in putty client

ā€¢ Upvotes

https://www.techradar.com/pro/security/security-flaw-in-top-ssh-client-could-let-hackers-recover-cryptographic-private-keys

This needs you to have exposed your ssh port so you can connect directly and be using putty over an interceptible network.

This is why defence in depth is important, to layer your security and not rely on just one level.


r/selfhosted 2h ago

Calendar and Contacts Simple PHP scheduler with mail notification option

1 Upvotes

I am looking for a simple PHP solution to schedule several tasks and send out a mail. Currently using a Google Calendar, but need more overview (list) and easier adding and removing of tasks.

Do not need much, a simple UI where I can enter some details of the task and set a reminder date + recurrence period will do.

Found a lot, but all with very much features or paid solutions. Want to keep it as simple as possible.

Any suggestions to look at?


r/selfhosted 14h ago

What's your full music stack?

10 Upvotes

r/selfhosted 16h ago

Bigcapital - A self-hosted and open source alternative to Quickbooks releases v0.16.0

Thumbnail bigcapital.ly
16 Upvotes

r/selfhosted 4h ago

Coinbase tracker on Homepage (docker)

0 Upvotes

I recently installed Homepage on my docker server. It works wonderfully! But I have zero programming skills and would like to add an API of some sort to integrate my Coinbase wallet into the homepage. Read only access, but would show me my current asset value (total) and give a graph of each asset I have over the past month. Is this doable? Is there already something like this I can drop in place?


r/selfhosted 5h ago

Need Help Spotify playlists

1 Upvotes

Is there an app to download spotify playlists on mobile?


r/selfhosted 18h ago

DNS leak with Gluetun in qBittorrent TrueNAS

10 Upvotes

Hello, I hope I can figure this out with your help. The Gluetun sub is sadly quite small.

I run Gluetun with the TrueCharts version of qBittorrent on TrueNAS. ProtonVPN is my VPN Provider and Wireguard is the Protocol.

Generally the Tunnel works. When I use ipleak.net and I use the torrent-test they provide it get's the IP address of my exit node Provided by ProtonVPN. However, a more extensive test like what doileak.com/classic.html Provides shows that my DNS Request is coming from my own IP address (see Image below).

I have two hypotheses why this could be the case, but so far I wasn't able to get around this.

  1. This is due to the fact that I use a self-hosted DNS server. I use unbound and therefore my DNS's IP address comes from my IP address. I don't like this solution, however, as I find it weird that the request doesn't come from the tunnel as well.

I was reading through the Gluetun wiki and came across the DNS_KEEP_NAMESERVER variableIt has this description:

"KeepĀ /etc/resolv.conf untouched.Ā āš ļøĀ this will likelyĀ leak DNS traffic outside the VPNĀ through your default container DNS. This implesĀ DOT=off and ignoresĀ DNS_ADDRESS"

The "this will likely leak DNS traffic outside the VPN" seemed like exactly what I was experiencing. So I tried to set this variable to on just to see what happens. Nothing really changed, but when I set the variable to off (which it should have been by default) I wasn't able to connect to torrents anymore. I wasn't able to download the test file I was trying to download, and test websites like ipleak.net and doileak.com also no longer showed my IP address.
So I assume is that somehow this variable is set to on by default instead of off.
Is this possible? I haven't changed any configs outside from the environment variables (see below).

A few more notes:
- I was a bit suspicious if doileak just takes my computers DNS, as I access the Website from a computer inside of my network. So I tried to access it through mobile data (aka outside of my network) and I still got my home IP adress as Torrent DNS. So I can exclude that Factor.
- I've been told multiple times that a DNS leak is irrelevant for downloading Linux ISOs, however I am a but paranoid about it and I would like to fix it nontheless.
- I've also tried the Option "Perform hostname lookup via proxy" in qBittorrent, however this doesn't seem to affect the DNS IP.
- This is the Wiki-Page for the Gluetun DNS variables: https://github.com/qdm12/gluetun-wiki/blob/main/setup/options/dns.md

this is a screenshot from doileak.com/classic.html

My current environment variables:
VPN_SERVICE_PROVIDER=custom

VPN_ENDPOINT_IP=149.88.27.235

VPN_ENDPOINT_PORT=51820

WIREGUARD_PUBLIC_KEY=*****************************************=

WIREGUARD_PRIVATE_KEY=*****************************************=

WIREGUARD_ADDRESSES=10.2.0.2/32

VPN_PORT_FORWARDING=on

VPN_PORT_FORWARDING_PROVIDER=protonvpn

(with the following variables I tried to "fix" the leak, but so far no luck)

DOT_PROVIDERS=quadrant

DOT=on

DOT_CACHING=off

BLOCK_MALICIOUS=off

BLOCK_ADS=off

DNS_ADDRESS=194.242.2.2 (This is a public mullvad DNS)

I hope I can figure this out. I've been at this for literals days now.
Thank you in advance.


r/selfhosted 5h ago

Alternatives to the GL-iNET Flint 2 as a VPN Server and home router

1 Upvotes

Hi there. I have a home network with a few machines and servers that I want to access from the outside world via a VPN. The VPN is only needed to access data and run jobs on my compute server rather than a tunnel for privacy (futile, since I only have a 50MBit/12MBit internet connection anyway) and my ultimate goal is to have a "it's as if I were at home" setup: DNS resolution just works for all devices, whether they're connected directly to the router or via the VPN.

I'm just getting into in the self-hosting and home networking domain and I was delighted to find out that my home internet connection has a public ipv4 address and that there exist home routers with built-in VPN servers (openvpn or wireguard). These two factors make my endeavor significantly easier and I found the Flint 2 (FL-MT6000) router by GL-iNet a possible candidate router and wanted to ask you about your opinions on it, considering my situation. Are there similar routers comparable in functionality and price you have had a good experience with? Did I not think about something obvious? Will I have trouble setting up my German internet connection?

In summary, I need a router to - act as VPN Server - have a smart-enough internal DNS to that devices can be reached by their fully-qualified hostnames (rambo.home.intranet), whether they're part of the home network or are connected via VPN - have a reconfigurable DNS Domain (home.intranet) - (optional) be configurable by scripts (e.g. via ssh or HTTP)

Thank you šŸ™


r/selfhosted 5h ago

Investment tracking & energy monitoring

1 Upvotes

Does anyone know of any good self-hosted (or free webapp) solutions for:

  1. Monitoring investment portfolio stocks & funds? A particular interest is dividend tracking

  2. Home energy use monitoring. Green button compatibility is ag plus.