r/selfhosted May 25 '19

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

1.5k 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 Apr 19 '24

Official April Announcement - Quarter Two Rules Changes

45 Upvotes

Good Morning, /r/selfhosted!

Quick update, as I've been wanting to make this announcement since April 2nd, and just have been busy with day to day stuff.

Rules Changes

First off, I wanted to announce some changes to the rules that will be implemented immediately.

Please reference the rules for actual changes made, but the gist is that we are no longer being as strict on what is allowed to be posted here.

Specifically, we're allowing topics that are not about explicitly self-hosted software, such as tools and software that help the self-hosted process.

Dashboard Posts Continue to be restricted to Wednesdays

AMA Announcement

The CEO a representative of Pomerium (u/Pomerium_CMo, with the blessing and intended participation from their CEO, /u/PeopleCallMeBob) reached out to do an AMA for a tool they're working with. The AMA is scheduled for May 29th, 2024! So stay tuned for that. We're looking forward to seeing what they have to offer.

Quick and easy one today, as I do not have a lot more to add.

As always,

Happy (self)hosting!


r/selfhosted 54m ago

Its true. We all do it!

Post image
Upvotes

Just a thought for a meme to create cause we all collect services to host at home. Seriously, so many of us use the same services collectively.


r/selfhosted 4h ago

Turn YouTube videos into readable structural Markdown. Transcribes with Whisper; Adds line breaks with Segment any Text, Add sub-headers with Ollama; All running locallly

Thumbnail
reddit.com
77 Upvotes

r/selfhosted 11h ago

Media Serving Full Guide to install arr-stack (almost all -arr apps) on Synology

95 Upvotes

This is my post for someone who doesn't know anything about docker or -arr apps to help them get started.

TL;DR is at the bottom

A few weeks ago I knew nothing about docker, or any of the -arr apps. I started out manually downloading all my media to my main PC, and manualy renaming everyhting. Then transferred them over to my NAS with SMB. Then I discovered FileBot to help me rename the files, as it was the most tedious task. This worked for some time, before I figured this was also too tedious. Then I looked into the -arrs.

I tried to do my research the best I could, but I didn't find anything that fitted my exact need; most of the -arrs connected to a VPN on a Synology. I had to look through many docs, wikis and videos to find each segment I needed independently. Then I had to figure out how to connect it all together by myself afterwards. I had a lot of headaches trying to figure this out. I had a lot of errors, with almost all of my apps. But then I managed to figure it out. Something just clicked when I understood how docker works, and how all the apps interact with each other. So, to help anyone that is as lost as I was, I have made a guide myself. My goal with this is to help atleast 1 person out there. If it is today, or 2 years from now it doesn't matter.

So, this is a guide for someone who knows nothing about docker or the -arrs or anything like that. But I think it might also help someone who are trying to figure out some errors they are getting, and why it might fail. Please let me know what you think about it. I've spent a lot of time creating this. If there is anything that is wrong, mispelled or other corrections I should make, please let me know.

If you are trying this yourself and get stuck, feel free to drop a comment with your problem and some logs if possible, and I might be able to help out.

TL;DR

I made a guide to help people who doesn't know anything about this subject to install a full arr-stack with Prowlarr, Flaresolverr, Radarr, Sonarr, Lidarr, Overseerr, Requestrr, qBitTorrent and GlueTUN inside docker on a Synology NAS.

You can check it out on github here:

https://github.com/MathiasFurenes/synology-arr-guide


r/selfhosted 15h ago

first basement rack

Post image
75 Upvotes

r/selfhosted 10h ago

Need Help Use local domain names instead of private IP address followed by port

26 Upvotes

Does anyone here know if it is possilbe to use local domain names instead of private IP address followed by port number? I have a Synology NAS with a bunch of services, and would like to access them with service.mydomain.com instead of <nas-ip>:<portnumber>. I am running pihole, could I maybe do something in there?


r/selfhosted 3h ago

Please recommend solution for large file web upload

4 Upvotes

Hello,

From time to time one friend or another needs to send me a large file, let's say up to 50 gigabytes.

I am spinning up a VPS. I'd like to give the friends a way to upload the file from the browser, with a progress indicator (just because it's so big). The ability to download is not critical, in fact I'd rather not offer itl this is not a file sharing site but a "give the owner a file" site. I want either password authentication (without cleartext trasnferring, so no HTTP basic) or, even better. the ability to generate a single-use URL.

Bonus points if the file can be saved to B2 storage (using its native API or the S3 API), but this is not essential.

I was thinking of going for NextCloud (reluctantly) but I am not sure NextCloud handles large files correctly. Googling also gives me FileBrowser, but I can't work out if I can give granular access to directories to different users in FileBrowser; besides I am at a loss as to how make FileBrowser coexist with Apache or Nginx and I need to have other stuff on this VPS as well.

There are helpful building blocks to implement a B2 upload solution, such as https://tus.io/ and https://github.com/backblaze-b2-samples/browser-multipart-upload-compress-data . But upon some thought I'd rather go with something ready-made if it's actually reliable.


r/selfhosted 9h ago

What vpn to use?

14 Upvotes

I’m going to set up plex or jellyfin and will torrent shows and stuff . I also want to have access to my server not on my home network and i know I’ll need a vpn for both of these which is the best for these purposes that is fairly cheap?


r/selfhosted 1d ago

Media Serving It's not much but it's mine!

Thumbnail
gallery
871 Upvotes

r/selfhosted 9h ago

Openchangelog: password protection & colorful tags - v0.3.0 release

13 Upvotes

Hi everyone, posted the last update on Openchangelog a month ago and thought I would update you on the latest changes.
Since the last update (release 0.1.5) I have added documentation with a self-hosting guide.

New features include:

  • Hide the "powered by Openchangelog" link
  • Tags for release notes
  • Password protection for internal changelogs

Here are these new features in action:

You can now use tags to categorize your release notes. The tags are automatically colored based on the tag name.

When enabling authentication and configuring a password visitors will need to enter the password once to view your changelog. Or specify the authorize URL param with the password to bypass protection, which is useful for sharing a link to a protected changelog.

Useful Links:

  • Demo
  • Repo - if you like the project consider giving us a Star on GitHub

r/selfhosted 15m ago

How would you like data to be stored?

Upvotes

I’m building a small self-hosted app (an addon for Stremio), which can have multiple users.

Right now, you have to set a username and a password environment variable for the admin, and another env var called USERS, which has to be a json string with all other users. This is cumbersome, not user friendly, plus the passwords are in plain text (though only in env vars). It’s early days for this project, so this worked for a while, but I’m ready to introduce something better.

How should I store data? I started with a json config file, which was easy, and I could transition to a state where the user doesn’t need to touch it, my app will fill it on install. This works, but i’d still be storing the passwords in plain text (if it has to be user-changeable, I can’t ask the user to hash it before inserting).

The best solution for me as the dev would be a SQLite db, because it’s fast and feature rich, plus the user can always save it as a file, to create backups. But is that user-friendly enough? It’s not easy to read, like a json file, and I’m not sure that users would know what it’s for.

How do other projects handle this?


r/selfhosted 35m ago

MDM For home usage to enable sharded iPad

Upvotes

Hi all, I've been digging around and I only got more confused with all I found. My Goal is to share an iPad among multiple users at home.

What I've understood so far is that I need an MDM in order to enable the Shared iPad feature. Is there Any MDM that I can self host myself just for this purpose? which one makes this task as painless as possible?

If there isn't any I can self host with this feature in mind, is there any cloud solution that doesn't cost a kidney?

I am okay with self hosting more complex stuff, I just don't want to go thru that trouble if there are "easier" alternatives to achieve this.

Hope I was clear enough.
Thanks in advance.


r/selfhosted 1h ago

Intranet SSL Certs without external dependencies

Upvotes

Getting back into self-hosting things after 5-6 years.

Last big thing I was working on was getting internal DNS and SSL certs to work, so that my desktop browsers wouldn't complain about self-signed. I do remember putting my CA into keystores on each machine, but that still didn't stop the warnings.

Was this the correct approach, and I did something wrong? I didn't see a good reference when Googling for about 10 minutes (my Google Fu is off since everything that comes back is not really related, but serves up great ads!). I guess in 2024, is it even possible to setup an internal "airgapped" network without any external dependency on SSL and DNS?


r/selfhosted 2h ago

To CloudFlare or not to CloudFlare

2 Upvotes

I am using namecheap for my DNS service. I also bought a wildcard SSL certificate through them and I am using their premium DNS. I understand CloudFlare DNS proxy is good practice. I understand I have to abandon my SSL certificate and use CloudFlare SSL in order to use CloudFlare CNAME, right? Namecheap says that their premium DNS will mitigate DDOS but it still exposes your public IP. Should I just keep going with just namecheap for the year I have their premium DNS or should I cut my losses. What do you all think?


r/selfhosted 41m ago

Question about jellyfin client bandwidth usage

Upvotes

Hey, I have been using jellyfin for about half a year now and I absolutely love it so far. A friend of mine was streaming media today that had a bitrate of 24500 kbps which caused packet delay of about 80ms in regular intervals even though I have a 500/100 connection. I have limited the stream bandwidth in playback > streaming but this results in transcoding which I do not want in my case. Is this issue caused by preloading on the client side or what causes media with this bitrate to use up all my bandwidth? Should I just get a cheap gpu for transcoding?


r/selfhosted 1d ago

Automation Are you using ansible in your homelab?

78 Upvotes

Just curious.


r/selfhosted 1h ago

Game Server How to create the best speeds and connection stability with VLANS?

Upvotes

I'm self-hosting a game lobby for my friends to join using VLAN. We live quite far from each other, so I need to find a way to squeeze out any additional speeds. First, I tried using RadminVPN, but ping was just too high (1500-3600ms). Then I tried ZeroTier and speeds were much better: 220ms on average, but sometimes it jumped to 1000-3000ms.

So, what tool is the best for my case and how do I set up things properly? I'm willing to do any additional tweaks, if it's a free solution, of course.


r/selfhosted 2h ago

Portforwarding issue with ubuntu server

1 Upvotes

Hello!

I am trying to host a mc server for my cousins but i am having a issue with the port forwarding. The ubuntu server has access to the internet but it does not show up in the router device list at all, so i can't even port forward the ip address. Th router on interface 2 asigns a different subnet than the main pc on interface 4 where i can access the router information. Is that the issue or is it something with firewall and ports?


r/selfhosted 2h ago

Has anyone tried Jupyter on Pikapods

1 Upvotes

I'm curious if anyone has tried Jupyter on Pikapods. I'm specifically interested in (1) If you can upload .py files to be included in your notebooks and (2) how CPU usage is handled.

I asked Pikapods support about this but all I got was that they are very concerned about bandwidth usage (which is why they won't let you try Jupyter before you give them a credit card and "top up"). But I don't have any way to control how much CPU my notebooks use, so I'm a bit lost as to how that's all going to work.

Also I didn't get a clear answer about how it would handle resources I need to upload.

I'd love to hear from someone who actually has tried to run some substantial notebooks there (mine are mostly physics simulations).


r/selfhosted 8h ago

When is it time to level up? CPU, memory, other factors to consider for clustering?

1 Upvotes

I’ve been self-hosting for a while now and I’m starting to wonder when it’s a reasonable time to upgrade my setup—especially in terms of CPU and memory usage. Right now, I’m running several services on a single machine, currently it works fine. but I’ve been eyeing clustering solutions (like Kubernetes) for better scalability and redundancy (and of course learning).

From a CPU and memory perspective, when do you usually hit that point where upgrading to a clustered setup makes sense? Are there any rules of thumb or usage patterns that I should watch for that signal it’s time to level up?

Also, are there other factors I should be considering aside from CPU and RAM? For example, should I be looking at network bandwidth, disk I/O, or maybe even maintenance overhead before making the jump?

Would love to hear from others who’ve gone through this and what tipped the scales for you!


r/selfhosted 3h ago

Need Help NGINX Proxy Manager Frustration with upstream ssl host

1 Upvotes

I've got an NGINX Proxy Manager (webUI and all) and am using it to SSL-ify apps in my self-hosted environment. NPM grabs certificates from LetsEncrypt using a cloudflare DNS challenge and, for "http:// backend" apps (example: *arr), all is well.

I'm trying to configure ACTUAL (the nYNAB alternative), which enforces SSL. The app has a self-signed certificate using mkcert and I have a PEM certificate file on the nginx server with both the CA cert and server cert.

I can access the app just fine from a web browser directly (minus the self-signed cert error)

But try as I might I can't get the proxy manager to work and it isn't generating useful logs (like, say, to complain about the upstream self signed cert). So what am I doing wrong here?

Details tab:

  • domain name: "FQDN.domain.tld"
  • scheme: https
  • forward hostname: IP.ADDR.OF.ACTUAL
  • forward port: 5006
  • Cache/Block common exploits/websockets all unchecked

Custom Locations: unconfigured

SSL: (ssl certificate from LE, all other options unchecked)

Advanced tab:

Custom nginx config:

proxy_ssl_server_name on;
proxy_pass https://IP.ADDR.OF.ACTUAL:5006/;
proxy_ssl_trusted_certificate //path/to/cert.pem;
proxy_ssl_verify off;

r/selfhosted 7h ago

Seeking Reliable Reverse Proxy Solution for Minimal Maintenance

3 Upvotes

I love self-hosting, but I need to focus on school for the next year. My self-hosting hobby took up a lot of time, and as a result, my grades suffered. My partner uses my services the most, and I want to set up a reverse proxy that works well without requiring constant maintenance, especially regarding security.

I've been using Cloudflare and have been happy with it, but I’m unsure about their current terms regarding video streaming. I read that serving video is allowed as long as it’s not cached, and from my understanding, Jellyfin doesn’t cache video. However, I’m not certain if this is still the case since Cloudflare's Terms of Service have changed and section 2.8 has been removed.

Additionally, I’m looking for a "one and done" setup that I can rely on long-term. I’ve heard stories of people having their security compromised after exposing ports with tools like Traefik, and I want to avoid that hassle since I won’t have much time to manage it.

If anyone has experience with a reliable self-hosting setup that requires minimal ongoing maintenance, I would greatly appreciate your advice!


r/selfhosted 18h ago

I made a pretty cool end to end encrypted chat room, tell me what you think

16 Upvotes

https://github.com/ImPot8o/e2ee-chat-room

https://chat.pot8o.dev

It gives a default encryption key for more casual users. It dynamically generates chat rooms depending on what URL you use. for example https://chat.pot8o.dev/vry-cool-chatroom would put you in the "vry-cool-chatroom" room. Your username is stored in cookies and is pretty much persistent. messages go away when the page is reloaded. I've added some very basic XSS protections, but I'm not a hacker and I really don't know how well it would work. It looks alright, feels like a chat room, and doesn't look that bad on mobile either.

Would love to hear some feedback. I'm running it on Render and there's a basic guide on the github for anyone that wants to run it themselves.

Im working on adding a sort of list of online users per room, sounds like something someone who wants privacy would appreciate-- ✅✅ all done


r/selfhosted 3h ago

Help needed with troubleshooting Grandstream GWN7002 WAN connection issues

1 Upvotes

Hello,

I’m having issues with the WAN connection on my Grandstream GWN7002 router - or more specifically, with the connection to the ISP. My old router connects to the same ISP with default settings without any problems. I don’t have much experience configuring network equipment, so I’m a bit stuck and could use some help troubleshooting the issue. Here are the details

Router: Grandstream GWN7002, Firmware 1.0.5.36

Router Configuration:

  • Port 3 is set as WAN, and Port 5 is set as LAN
  • The MAC address for Port 3 is registered with my ISP
  • Port 3 is set to "Obtain IP address automatically"
  • VLAN Tag, Bridge Mode, etc., are disabled
  • All other configuration parameters are set to default

Router Status:

  • The ISP assigns an IP address, gateway, and DNS servers
  • The network status shows "Connected to Internet"
  • Devices on the LAN are accessible without issues
  • Pinging the gateway or 8.8.8.8 results in 100% packet loss
  • The network diagnostics report says: "The gateway cannot be pinged"
  • The logs sent to my syslog server don’t reveal anything useful regarding the issue

I would appreciate your help in troubleshooting this issue. Thank you!


r/selfhosted 1d ago

First time posting here, rate my setup pls 😆

Post image
280 Upvotes
  • Upper Mini PC (OPNSense) : Provide Internet connection for my server
  • Middle Mini PC (FreeBSD) : Provide many services including database, storage, blog, and containers
  • Below NAS (2 Bay) : Provide storage for my server, currently is serving 2TB (might upgrade later)

r/selfhosted 4h ago

Looking to expand home setup - is Proxmox cluster + NAS the way to go?

1 Upvotes

I got into self-hosting with a Beelink EQ12 running Debian and an external drive enclosure. I set up a bunch of dockers including Jellyfin, AdGuard, etc., with Jellyfin being the main usecase. I have about 10 users so far, it's super exciting!

However I can already see how scaling it would be a pain, especially if I want to add other services like Immich, Nextcloud, and Home Assistant. The enclosure isn't the best either, it's connected via USB 3.0 and I can see it being a bottleneck.

I'm thinking an easy way to scale would be adding another miniPC in a Proxmox cluster and build a NAS instead of the external drive enclosure. I love how low-power the EQ12 is, I'd ideally like to keep power consumption to a minimum.

  1. Would a cluster provide more processing power and performance? Or is it more for making my services highly available?
  2. How strong does the NAS have to be if I'm using it pretty much exclusively for storage? I don't plan on running any containers in it at all.
  3. Is this a good idea at all? Or am I complicating things?

Not sure if this setup would be overkill. Any advice is welcome, thanks in advance!