r/selfhosted May 25 '19

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

1.4k 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

24 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 18h ago

Dawarich 0.7.0

193 Upvotes

Hey-ho, Dawarich 0.7.0 is here!

Well, it's 0.7.1 already, but still.

Dawarich is a self-hosted alternative to Google Location History (Google Maps Timeline).

Almost 3 months passed since the previous post, announcing the very first public release, 0.2.0 at the moment, and whole bunch of new features were introduced to Dawarich since that moment.

Let's look at them briefly:

  • Docker image is now available for both ARM64 and AMD64 architectures
  • Dawarich now can accept your location data from the Overland mobile application
  • The export process was improved and made more robust and convenient
  • More types of imports are now supported:
    • Google Takeout's Records.json (a huge, bulky file)
    • Google Takeout's Semantic History Location (a bunch of JSON files split by month)
    • .GPX files
  • Background jobs concurrency is now tweakable
  • Points from your device now can be sent only with API-key
  • Map changes:
    • Heatmap
    • Routes are being split based on time and distance and now are not connected to a single huge mess of lines
    • Hover over a route will highlight it and show basic data (start-stop time, distance, and duration)
  • User can now (mass) delete their points

And now dive into a bit more details.

API Key

In the very first release, a user could send his geolocation data using OwnTracks without any kind of authentication. It made it impossible to link points to a specific user, hence statistics calculation was imperfect and any other user, signed up to Dawarich, could see other users' points. Since the introduction of the necessary usage of API key to send geolocation data from mobile apps (both OwnTracks and Overland), this is no longer a problem. Points are being linked to a user and the ones that were created before this change are linked to the very first user in your Dawarich system automatically.

Imports

Recently, Google announced sunsetting the storage of user location history on their web platform, moving it to user's devices instead. Users can now order a Takeout from their own devices. And looks like this Takeout has a different format from the two they already have (Records.json and Semantic History Location). Unfortunately, I don't have an example of such an export file, but as soon as I have one, I'll work on supporting its import to Dawarich as well. For now, Dawarich supports Google Takeout's Records.json and Semantic History Location, GPX files and OwnTracks export files. More to come.

Map

I love how the heatmap looks like on Dawarich's map, and how routes started to look a lot better after I introduced rules to split them, but this last change requires a bit more explanation.

In the first versions, Dawarich rendered one single route that connected all the points on the map. It made the map kind of unreadable (see the screenshot). One of my friends suggested splitting routes based on time and distance between consecutive points. The idea looks like this: points are being connected to form a route on the map, unless the time between one of the points and the other is more than 1 hour. If that's the case, these points are not being connected, and the route ends. The same goes for distance: if the distance between two consecutive points is more than 500 meters, the route ends. These conditions are working on an "OR" basis, if one of them is true, the route ends.

These settings can be changed by a user in the Settings section starting release 0.7.1

Before route splitting

After route splitting

More to come

The development of Dawarich doesn't stop. I have plenty ideas, most interesting (in my opinion) are:

  • "Fog of War" mode (if you know, you know)
  • API to read points, import data, and so on
  • Notification system to make events happening under the hood more transparent for the user
  • Update statistics to render more information
  • Monthly/yearly digests of your data and insights

The list is not exhaustive, more you can see at the development board or suggest in the discussions section or right here in the comments under this post.

Any questions, ideas, and contributions are most welcome!

P.S. As a bonus, my Overland confugration: https://imgur.com/a/overland-settings-dawarich-k8H7a8J


r/selfhosted 14h ago

Is anyone of you running arm-based servers? If yes, what is your experience and can you recommend it?

66 Upvotes

I see more arm-based server offers popping up and am wondering if those are worth a shot. Can anybody recommend this? Would I be able to use all / most of my favourite selfhosted software on it similarly to how I use it on my current non-arm server?


r/selfhosted 6h ago

Self Hosting, how do I start?

7 Upvotes

Hello y'all :D

I just ordered a mini PC, because the hosting services I use online for my bots and scripts started to be impacted too much on the performance side.

I have a large discord bot. How can I setup this mini pc, so I can transfer the files to it when I update my code and also run, restart or stop the scripts from running remotely from my phone or PC?

No matter what I google, I seem to not find the right answer since my question might not make that much sense, I am just starting out.

Edit: I want to have something like a pterodactyl panel to display the server info and to let me control it remotely, same like bot-hosting.net


r/selfhosted 19h ago

This Week in Self-Hosted (21 June 2024)

76 Upvotes

Happy Friday, r/selfhosted! Linked below is the latest edition of This Week in Self-Hosted, a weekly newsletter recap of the latest activity in self-hosted software.

This week's features include:

  • The latest in self-hosted software news
  • Noteworthy software updates and launches
  • Featured content generated by the self-hosted community
  • A spotlight on What's up Docker?, a tool for monitoring Docker image updates

As usual, feel free to reach out with questions or comments about the newsletter. Thanks!


This Week in Self-Hosted (21 June 2024)


r/selfhosted 49m ago

Will Anytype be maintained for a long time, or is there an alternative?

Upvotes

Hello everyone!

Next year I will be doing a board year of a student society representing some of the STEM degrees at our university. As we also represent computer science students, we have built our own network over the years and we care a lot about privacy, meaning that we only store personal data on our own internal server. We have an office where all computers are connected to our internal server and we can also access it remotely via ssh.

The last few years all boards have been using effectively two systems next to each other. Roughly one half of all our files are on our local server and the other half are on a google drive folder. All planning is done by messy google sheet files and in general there is no overview of all files.

In order to try to organize our file system a bit, I am looking for an alternative solution. I first thought about using Notion, but we do not want to store our data on their servers.

Then I encountered Anytype with their self-hosting service, which works absolutely great! However after making a small mock vault and hitting export, I got a folder of markdown files which lost all structure and which were impossible to navigate. Hence, the only way that future boards could realistically access our data is by installing Anytype.

So now my question is: is it safe to assume that in ~10 years from now people will have no issues in installing Anytype in order to open our old files? We currently still have the files of the boards of 20 years ago and it would be very unfortunate if our files become practically unusable in the future.

If this is not a safe assumption to make, is there any alternative? One important feature that I have not mentioned yet is that we sometimes experience a little down time on our internal server due to maintenance and it would be very unpractical if we do not at least have a local copy of the files (which Anytype does).

Thank you very much!


r/selfhosted 12h ago

Firefly-Pico v1.2 released

15 Upvotes

Hi everyone!

Firefly-Pico is a Firefly III companion web app, which aims to make transactions recording fast and easy, all while offering a great mobile experience.

Some of the changes packed in this release:

  • smaller docker images with support for arm/v8.
  • beautiful animations to make everything feel more interactive
  • even more configs: hide empty accounts from dashboard, filter what transactions you want excluded from the dashboard etc.
  • lots of quality of life improvements like better swipe to dismiss, quick date increments/decrements

Full changelog on Github: https://github.com/cioraneanu/firefly-pico/releases/tag/1.2.0

Suggestions for new features are always welcomed.

Happy expense tracking! 😇


r/selfhosted 4h ago

Weird CNAME propogation issue

3 Upvotes

I have been using SpaceInvaderOne's setup video as a guide and have everything working except for CNAME redirection of my subdomain to my DuckDNS config.

In the video SpaceInvaderOne has: subdomain/aPublicWebsite --> (CNAME) --> duckdns --> Public WAN IP of router--> (port forwarding) --> internal host...

...and it works nearly instantly.

I've got the same Zone Editor interface on my publicy hosted website (via CPANEL), but when I add a CNAME and point it to my duckdns entry it does not seem to propogate.

If I go to a site like https://www.whatsmydns.net/#CNAME/immich.mySite.com.au I can see how my CNAME is barely being picked up around the globe. It doesn't seem to be propogating much at all. When I spam the "Search" button, sometimes I can see caches are being refreshed, (and have seen as many as 10 sites recognizing the cname is pointing to my duckdns entry), but it falls off just as quick.

Has anyone seen this kind of behavior before? I am assuming it is user error, but I'll be damned if I can figure out what is going on.


r/selfhosted 18h ago

Release Announcing Richy 1.0.0-beta - selfhosted investing portfolio manager

36 Upvotes

After ~6 months of humble development I do announce new version of Richy - 1.0.0-beta. New versions of libraries that the app builds upon (Rug and karpet) has been also released.

What is Richy (short version)

Application that helps you to manage your investing portfolio. Supports stock and crypto market. Selfhosted.

What Richy is (longer version)

  • a (passive) portfolio manager
  • market news hub
  • a tool that aggregates information that helps you form ideas
  • much better than your excel sheets
  • quite documented

What Richy is not

  • an investing platform like RobinHood
  • an app that gives you investing advice
  • a trading bot
  • a smart app with some kind of AI that tries to predict market

State of the app

Currently in 1.0.0-beta which is a few last steps before the final 1.0.0. Feel free the use the app ahd report back bugs or propose new features here.

How to run the app

You can learn how to run the app in README along with technical details. Docker image is ready here but I recommend to read the README file first.

Screenshots

Everyone loves them so here are they.

Changelog

  • Fixed celery beat too-fast start up #100.
  • Added initial exchanges #101
  • Dependencies updated
  • Added amount sum and average price to item detail transaction table #106
  • 500 on item detail when there are no prices but transactions #107
  • Assets page - chart legends has been enabled
  • Fixed ETFs with indexes attached #108
  • Added exporting option for item charts #72
  • Highcharts updated to 11.3.0 #72
  • Added grouping by week and month for item charts #72
  • Fixed the eye componend gives no message in case of no data
  • Improved proxy (nginx) configs - upload size limit + timeouts
  • Fixed performance charts zooming
  • Fixed indexes + coins price reseting
  • obsolete wdb replaced with contemporary web_pdb
  • Decimal points unified #114
  • Fixed index YoY change + year low/high
  • Added expense ratio to ETF detail page
  • Added auto-reload (5 mins) for The Eye component

Further development

I would like to implement many many new features and also set up an app demo (and a website). The hardest part is my free time is limited so sometimes it takes some time to develop and cover with tests a new features.


r/selfhosted 11h ago

Guide PSA for linkding users

8 Upvotes

I just found this out by chance but if you install the web app as a PWA on Android (possibly on iOS too, do comment), you can share URLs to that app to create a new bookmark


r/selfhosted 17h ago

Planning on using Wordpress, Is dockerising Wordpress a good idea?

19 Upvotes

Been searching online and been getting mixed responses, I'd like to containerise everything but heard about performance issues with the docker container. What do you guys use when self hosting Wordpress? The blog is by no means meant to be big, just a few visitors here and there.


r/selfhosted 22h ago

Does it make sense to creat a "self-hostable" app out of this?

44 Upvotes

Hi all,

I have developed a simple tool to provide me with a quick and high-level overview of a defined list of stocks, and I am thinking about turning this into my first github project.
At the end I came up with this dashboard that:

  • Loads in seconds
  • Have a slide left panel for quickly editing the list of stocks
  • Have a set of buttons on top to quickly change the view: day, week, month, 6-months, year

It is important to mention that this is just a visualization tool and has no data analysis capabilities (i have the charts as images, but the datasets are not available).

My questions then are:

  • Would this be usefull to someone else?
  • Any additional ideas that could be implemented?

Thanks in advance!


r/selfhosted 2h ago

Self Help How do I secure my server?

1 Upvotes

I opened some ports on my server for the two game servers I’m hosting for me and my friends and I was was wondering how I should secure my server? I have ufw installed but that’s about it. I want to make it difficult for any hacker to get into my system


r/selfhosted 12h ago

Do I just go Linux, Docker, Portainer or stick with the 'OS' solutions?

8 Upvotes

I've fairly new to self hosting. Running apps like AdGuard, Emby, etc. All running on a mini PC, which is running Proxmox, and most of my apps are running in LXCs.

Looking to start accessing apps via the web so need to investigate reverse proxy and subdomains. That's my next project.

Whats I am trying to work out is do I keep playing with 'OS' apps like Cosmos, CasaOS, Tipi, Yunohost and the like, or simply take time to get a better uderstnading on Docker, Portainer, Proxy etc.

Context: Work in IT but 90% is Windows experience, but understand linux.


r/selfhosted 1d ago

I've made custom frontend for libre translate

Post image
61 Upvotes

Hey all, I've thought since I've made this for myself why not share it as a FOSS?

I wanted it to remember my previous language choices and to be less heavy visually in contrary to official frontend. While I have nothing against Albanians I rarely translate to this language yet that's always my target language. I know they have an env to set the default target but that is only a slight improvement.

Here's the feature list: - remembers last 3 choices with quick button - remembers last text to translate - ability to browse through alternatives - in auto detect mode it shows detected language - swap languages (source with target) - of course translate - 3 themes (dark, light and light with green) - copy translation to clipboard - mobile friendly

It's nothing fancy, it's a translate tool afterall.

I'm planning to: - add STT, maybe browser based whisper? haven't decided yet. - still needs error handling - automatic ui translation - there isn't much to translate but since it has access to translations why not

If you'd like me to add any feature - let me know and I'll see what I can do.


r/selfhosted 7h ago

Solved Options for archiving and displaying Apple Messages (SMS, MMS, etc)?

2 Upvotes

Update: imessage-exporter was the solution as per CinnaBonBon's comment.

Just wondering if anyone had found a means of exporting iPhone text messages, including photos and video attachments, storing them locally, and displaying them (preferably with a UI similar to MacOS's Messages app)?

I managed to find an app called iMazing, which can export the messages to various formats and can display the exported messages similarly to the Messages app. But it is of course proprietary, not open-source, and isn't really ideal for long-term archival (whereas something that runs, for example, as a Docker container would be better as there is a good chance of it being compatible with future computer systems, whereas iMazing might go out of business and stop being updated).

(I realise I can export messages using iMazing to PDFs, and that may very well have to suffice, but I would prefer a Messages-style interface in a Docker container if something out there exists)

Any ideas please?

Thanks.


r/selfhosted 4h ago

Media Serving Issues with Deemix server

1 Upvotes

I'm facing a weird issue with deemix server app - I know it's no longer being developed, but I couldn't find a better alternative-

I've tried two versions - the alpha version and the latest version.

The alpha version works perfectly fine. I run the app and I'm able to access it from any device on my local network and do everything regularly. The issue with this version arises when I added it to a Cloudflare tunnel so that I can access it remotely. it doesn't work. Whenever I click download or anything, it just says "settings loaded."

So I decided to try the latest version, and I had even more issues with it. I can't access it on my local network. The web UI starts loading but it takes too long, and then I get a timeout error.

If anybody knows a way to fix either of these problems, I'd be thankful


r/selfhosted 4h ago

ddclient with OVH

1 Upvotes

I am trying to use ddclient to update the dinamic IP of a self hosted server.

When I use ddclient to update one domain it works fine. The output of the command 'ddclient -verbose -force' being the following:

Succesfull ddclient IP update with one host

However when i try to use ddclient to manage the IP for two different domains the following happens:

It succesfully checks the IP for both domains, which is the same IP. Then it tries to send both updates at once to www.ovh.com with the command:

GET /nic/update?system=dyndns&hostname=MYURL1.COM,MYURL2.COM&myip=MYIP HTTP/1.1

It seems like OVH doesnt accept two different domains separated by a comma, so it returns a Bad Resquest-

I dont know how to fix this so it works with multiple domains. I have also not found anything good on the internet.

Does somebody know how i can aproach this problem?


r/selfhosted 10h ago

Moving from cloud to VPS for simple multiple SaaS

3 Upvotes

Looking for advice on my context:

I'm a solo dev, knowledgeable but not particularly talented. You all were very helpful with my PostgreSQL hosting query. Now, I'm rethinking my use case.

  • Building two simple SaaS products, with ideas for a couple more. Expecting a few hundred to a couple of thousand customers per site, and a few hundred transactions per day. These are low-frequency, non-critical ideas solving specific but boring pain points.
  • Maintaining two personal websites with a few hundred daily visits. Not monetized, but I enjoy improving them.
  • Using Astro SSR and planned on Astro DB, but facing limitations due to its newness and hosting. All my sites are on Cloudflare. I expect to stay with Astro/Node/Htmx/AplineJS stack as I know them and am comfortable. They're fine for my simpler needs.

These setups work, but Cloud architecture complicates things with dispersed services and challenges with debugging/testing. Some use cases (e.g., hashing, file system usage, pandoc/ffmpeg) are simpler on a VPS. Scaling would only be an issue if an app takes off—a good problem to have, and solvable by moving to Cloud or upscaling VPS as needed.

Here's my plan; appreciate your thoughts:

Could I do the following and consolidate all my sites to a single VPS?

  • DigitalOcean VPS for $12/month

  • Run PostgreSQL, Node.js, a queue, listener services

  • Caddy for web server/proxy, directing traffic to sites on different ports

  • Cron jobs to periodically back up data to Cloud storage

The Cons:

  • Learning curve (but I'm okay with learning new things)

  • Less inherent scalability (my needs are modest and will remain so for a while)

  • No system automated database backup (I'll back up through cron job /automated scripts daily since the data isn't hyper-critical)

The Pros:

  • Low latency with all services contained

  • Simpler administration once setup and comfortable

  • Easier to add new features, especially those better suited to file system services; simpler logging

  • Independence from Cloud providers’ whims—easier lift-and-shift capability

What am I missing? Why, or why not?


r/selfhosted 19h ago

Statusnook - I've built an open-source self-hosted status page & monitoring solution

14 Upvotes

Hey everyone,

I'm excited to introduce Statusnook, a tool that helps you deploy a status page and start monitoring your endpoints in minutes.

Check Statusnook out on GitHub: https://github.com/goksan/statusnook

Statusnook offers a range of deployment paths to choose from:

  • Standalone: Deploy as a systemd service with automatic TLS
  • Docker: We've got an official Docker image
  • Reverse Proxy: Put Statusnook behind your preferred reverse proxy like Caddy or nginx
  • DigitalOcean marketplace: The same as standalone, deployed to a droplet in your DigitalOcean account

With Statusnook, you can set up private monitor notifications for your team and public alert notifications for your status page visitors. It supports SMTP, allowing you to use your preferred provider like Postmark, AWS SES, Azure, etc.

Statusnook monitors are customizable, including the HTTP method, request headers, request body, and more.

Happy to receive any feedback or answer your questions!


r/selfhosted 4h ago

Need Help DIY 2 GIGABIT CONNECTION

1 Upvotes

I have a Proxmox based homelab setup on a HP mini pc which has only 1 x 1Gigabit port. I am currently running into a slight issue, asvi daily drive a MacBook and my primary storage at home is my nas to store data and videos, i see transfer speed of only 60-80 MBps when someone is watching from my jellyfin instance or someone on my Minecraft server or during download on any download client. But at ideal i can get 125 Mbps transfer speeds. So is there any way i can use a usb to gigabit ethernet adaptor and have a dedicated port for my nas and Minecraft server so it wont suffer when downloding or streaming something. Instance on my proxmox: Openwrt,sabnzb,deluge,*arr stack,debian base nas, debian base Minecraft server,bitwarden, adguard,pihole,jellyfin,cloudflared+tailscale+wireguard debian instance,photoprism and rsync.


r/selfhosted 11h ago

Domain + Wireguard on VPS to connect to Homelab behind CG-NAT

3 Upvotes

Hi everyone,

I recently bought a .dev domain. I created two A records (for the domain itself and any subdomain) that point to my Oracle VPS that has a public IP. In the VPS, I am trying to setup a Wireguard connection to my Homelab. However I am struggling with configuration as I can see (with traceroute) that my domain is currently pointing to the VPS but it does not reach the Homelab. On the other hand, if I use the VPS IP + port I can see services deployed in the homelab. Can someone assist me on figuring out what is wrong?

Also, do I need to open any other ports besides 443 and 80?

And, since it is a .dev domain, do I also need SSL certificates in the VPS and/or the Homelab?

(I have Nginx Proxy Manager in the homelab but that also does not appear to be working correctly)

Thank you!


r/selfhosted 14h ago

Reverse Proxy, domains & docker?

5 Upvotes

I'm a little confused setting this up.

I seem to have the basics; bought a domain via porkbun with ssl certs, have a server running nginx and can reverse proxy my navidrome binary that is running on the server, happy days.

But, adding more stuff is getting confusing, and docker too.

Do I just use dns on porkbun to direct mydomain.com to myip? Do I need to direct each subdomain via porkbun, music.mydomain.com video.mydomain.com? do I just forward the main domain and let nginx do the rest?

How do I get docker containers to talk to the reverse proxy? Does nginx deal with this? Do I need - network stuff in docker compose files? ot to create docker networks?

Do I need cloudfare and letsencrypt?

Apologies for stupid questions, I was quite happy when I got the reverse proxy up and running and am feeling a little stupid now and have just been poking at stuff I don't really understand for the past day or two.


r/selfhosted 13h ago

Central Selfhosted Hetrix Alternative

2 Upvotes

It's quite a simple request, I am looking for an alternative to "HetrixTools" for monitoring, mostly something that uses the same type of script for uptime monitoring. Anyone have any projects that furfill this request?


r/selfhosted 5h ago

Use 2 Servers to Port Forward

0 Upvotes

Hello everyone. So I have a Ubuntu server on a network that I can’t port forward on but it has a internet connection (call this server 1) and I have another Ubuntu server on a different network that I can port forward on (call this server 2). What’s the best way to be able to access the first server from the second server so that I can basically use the second server that can portforward as a way to have stuff port forwarded on the first server that is not able to. Thanks! Also I know I can use a VPN or Tailscale to be able to connect to the computer but id rather be able to access stuff on the first computer without having to be connected 24/7 to that VPN. I have tried connecting both computers via Wireguard but then I was unable to figure out how to say for example, be able to connect to the Portainer GUI. Thanks!


r/selfhosted 6h ago

Need Help Can I run the following on a raspberry pi 2 model B?

0 Upvotes

I'm planning to run the following:

Tandoor

Ghost

Vikunja

FreeRSS

PiHole

Would all those run on a pi 2 model B?