Selfhosted

40296 readers
409 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 1 year ago
MODERATORS
1
 
 

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!

🦎

2
 
 

I have a handful of photos that were taken with my iPhone and are raw DNG files. Immich refuses to display them rotated properly. Unfortunately, unless I'm missing something, the "rotate" function in the app is really just creating a new JPG (with new, separate, metadata) to be reuploaded. Thing is, everywhere else view these images they come up rotated correctly. Photos, Synology Photos, Lightroom all display them right side up. Immich refuses to. Anyone have a workaround? Some are upside down, others should be landscape orientation, but Immich thinks they're portrait.

3
 
 

I've got a Lenovo M720q running as my main server in my home and it's more than powerful enough for anything I could be doing right now. However, I also have a Le Potato lying around that I'd like to do something with. Any suggestions?

4
 
 

Hi everyone!

**Postiz is an open-source social media scheduling tool that offers scheduling on: ** Instagram, YouTube, Dribbble, LinkedIn, Reddit, TikTok, Facebook, Pinterest, Threads, X, Slack, Discord, Mastodon and BlueSky.

Check it out here :) https://github.com/gitroomhq/postiz-app/

I have been working on mostly bug fixes lately and improving the platforms, some of the latest things:

  • Many failures of posting on small things like character limit or uploading size.

  • Fix problems in LinkedIn not loading pages.

  • Team invite was fixed :)

  • A bunch of docker changes to make it super easy to load. It's now live on: Coolify, Ptah soon Cloudron

**But the most important thing in the roadmap here is what I was mainly asked: **

  • Add and an option to schedule stories on Instagram and add music to them

  • Public API

  • YouTube community posts schedule

  • Google Business schedule

  • Auto Plugs (I'm super excited about this one): Once tweets get X likes, they will auto-repost, add comments to tweets, and so on; this will be sent to all social media.

  • SSO

  • I am happy to hear about more requests.

One clarification after seeing many comments over and self-hosted: Postiz will always be apache-2, no weird dual license thingy, and no enterprise-only SSO.

Postiz is not making much money. Today we are on a product hunt. If you can help me out, it would be amazing, but if not, I love you anyway :)

Thank you so much for this community for helping me with every post!

https://www.producthunt.com/posts/postiz

5
6
 
 

Homeownership on the web is highly analogous to the physical world. Modern homeownership is mostly a story of home-rentership, not real ownership.

Incredibly, this matches the online experience, even though the World Wide Web has an infinite amount of real-estate!

You deserve a home on the web that’s built to keep you safe; a magical place for virtual living that‘s yours for life, existing in a sociable web.

(Now stealth-releasing Weird v0.2 🥷)

https://writing.exchange/@erlend/113511576363997959

7
8
submitted 20 hours ago* (last edited 18 hours ago) by ludicolo@lemmy.ml to c/selfhosted@lemmy.world
 
 

I am trying to get coturn working on my vps provider (I am using digital ocean) for matrix rtc.

I cannot seem to get matrix dendrite to connect to it. I think I have landed on the issue being dns records in cloudflare but I am unsure. Recently I switched to cloudflare and have been using tunnels (which I use for matrix)

Matrix dendrite works fine besides rtc when I uncomment the lines for the turn server but then doesn't function at all when they are there.

I am using ubuntu with docker for matrix dendrite and I am using a debian vps with digital ocean for the coturn server.

Any help is appreciated!

EDIT: Lemmy you beautiful community you!!! Solved yet another issue of mine!

8
 
 

Hey all!

About three weeks ago, I introduced ChartDB to this community and received a great response with tons of positive feedback and feature requests. Thank you for the amazing support!

recap of ChartDB: For those new to ChartDB, it simplifies database design and visualization, similar to tools like DBeaver, dbdiagram, and DrawSQL, but is completely open-source and self-hosted.

https://github.com/chartdb/chartdb

Key features:

  • Instant Schema Import - Import your database schema with just one query.
  • AI-Powered DDL Export - Generate scripts for easy database migration.
  • Broad Database Support - Works with PostgreSQL, MySQL, SQLite, MSSQL, ClickHouse, and more.
  • Customizable ER Diagrams - Visualize your database structure as needed.
  • Open-Source & Self-Hostable - Free, flexible, and transparent.

What’s New in v1.20 (2024-11-17)

  • Sharing Capabilities - Import and export diagrams easily for better collaboration.
  • Duplicate table: duplicate table from the canvas and sidebar.
  • Snap to Grid - Toggle or hold shift to precisely position elements.
  • New Templates Added - Now includes templates for Laravel, Django, Twitter, and more.
  • Docker Build Support - Includes OpenAI key support for Docker builds.

Bug Fixes & Improvements:

  • Optimized Bundle Size - Leaner builds for faster loading times.
  • Internationalization (i18n) - Added support for Korean, Simplified Chinese, Russian, French, and more.
  • Improved UX - Better interactions for editing diagram titles and smoother SQL export.

What’s Next?

  • More sharing and collaboration enhancements.
  • Expanded templates and language support.
  • New deployment options and compatibility for more databases.

We’re building ChartDB hand-in-hand with this community and contributors. Your feedback drives our progress, and we’d love to hear more! Thank you to everybody who contributed!

9
 
 

For a long time I've used OneDrive to sync all of my files and keep them safe, but I've been really getting into self hosting all my own services, so today I set up NextCloud to replace it. I told it to sync my OneDrive folder, and it did it's best. It copied the file structure and had all the directories and everything but emptied every folder, it deleted every single file I had on my OneDrive, now all I have is empty folders.

Luckily OneDrive has a file recovery system where I can give it a time and date to revert back to so my data should all be safe, but why on earth did it do that in the first place? This was incredibly stressful and terrifying I thought I lost all my work. What did I do wrong?

Edit: I’ve identified the issue and have learned from this experience, it is now a non issue and was completely my own doing. Wary reader, learn from my cautionary tale

Comment that helped me figure it out https://lemmy.ca/comment/12912420

10
 
 

Hello everybody! I have the following issue: I have two countainers, let's call them C1 and C2, and they both expose the same port, let's say 1234. I want to route both of them through a gluetun container. to do this, I added

network_mode: container:gluetun

at each container. But they both expose the same port, so there's a conflict. Without routing them though gluetun I can just

ports:
  - 1235:1234

but using network_mode this cannot be done. What can I do? The only thing that comes to my mind is to use two gluetun containers, but I'd rather use a single one

thanks in advance!

11
343
submitted 2 days ago* (last edited 2 days ago) by pcouy@lemmy.pierre-couy.fr to c/selfhosted@lemmy.world
 
 

publication croisée depuis : https://lemmy.pierre-couy.fr/post/805239

Happy birthday to Let's Encrypt !

Huge thanks to everyone involved in making HTTPS available to everyone for free !

12
13
583
submitted 3 days ago* (last edited 3 days ago) by TwoBeeSan@lemmy.world to c/selfhosted@lemmy.world
 
 

Only use jellyfin. Have a list of things want to update... but it works for now.

Yes that is a laptop usb cooler used as supplemental placebo cooling. Also a pc fan I have propped up against the hard drive feeding into the pi.

Can't recall last time used the ps4 or switch. But they're there

14
 
 

I use around 10 browser profiles, each of which has its own set of bookmarks, plugins, self-enforced rules, etc. I want to synchronise browsing history, bookmarks, plugins using a single account. They are managed with a dedicated Firefox account, but I was wondering if I can self host accounts so that I can synchronise stuff over my VPN, and I don't have to do mail verification every time I create a new profile. But I can't find much on how online.

I know syncserver-rs but that is not enough. The accounts are still registered with Mozilla's server.

15
 
 

Hi everyone!

I want this to be my first post here over Lemmy.

Recently, I moved my domains from GoDaddy to OVH due to GD's policy changes that removes the ability of using its API for updating the IP of subdomains if you don't pay more or you don't have more than X domains with them.

When I looked up for methods or APIs to update the IP of my subdomains on OVH, I realised that all the methods that I found uses the the "DynHost" option from OVH, so you need to create another subdomain with credentials, that were the one you will update with your IP, and then associate that with your real A subdomain.

I'm more an API guy, so I made a quick research and found that OVH has also API endpoints that allows to update the IP of the subdomain(s) you want, as I was doing with GoDaddy and other providers.

So I made a real simple IP updater for OVH that uses this method! Feel free to comment, use or share, this is my real first opensource and selfhosted project and I want to learn :)

16
 
 

I followed this tutorial to set up local domain names with SSL-certificates using DuckDNS: https://notthebe.ee/blog/easy-ssl-in-homelab-dns01/

I have three local domains for my Nginx Proxy Manager running on a VPS, for my self-hosted Nextcloud and my Proxmox-WebGUI both running on my local Homeserver. They follow the scheme service.dataprolet.duckdns.org.

Now I use Uptime-Kuma to monitor my services including the three domains and for some reason those three domains constantly time out after 48 seconds. I already set up the retries to 3, but to no avail.

I also use Pi-hole and Unbound and thought, that might be an issue, but testing my DNS using dig, mtr, traceroute, nslookup and host all returned normal values and no errors.

Does anybody have any idea what could cause this? I'm kind of clueless at this point. Thanks in advance!

EDIT: I don't get it.

  1. I can't ping duckdns.org on my home server. I only get 100 % packet loss. I can open the website in my browser though. I also can't ping www.duckdns.org, which redirects to appservers-duckdns-prod-1630339571.ca-central-1.elb.amazonaws.com. Also gets 100 % packet loss.
  2. I've added duckdns.org to my Uptime-Kuma and it got flagged as down because timeout of 48000ms exceeded but my other domains using DuckDNS were unaffected.
  3. I added another local domain to Uptime-Kuma to see the differences of having ignoring SSL errors tuned on or off and the number of retries:
  • Nextcloud
    • Ignore SSL error = false
    • Retries = 2
  • Proxmox
    • Ignore SSL error = true
    • Retries = 1
  • VPS
    • Ignore SSL error = false
    • Retries = 1
  • Homepage
    • Ignore SSL error = true
    • Retries = 2

Throughout the day only the newly added Homepage got flagged as down for 5 times. The 3 others were up the whole time.

17
 
 

I want to capitalise on the current "X-odus" momentum, and convince my university (or at least my department, which is quite big) to have its own Mastodon server.

My rationale is that if I can convince my uni/dept that they will have better reach, control and experience with Mastodon, it will help populate the Fediverse and bring more academics on this platform to disseminate their research.

The reason I am asking the self-hosting community for help is because I know nothing about hosting my own Mastodon server, but should I manage to have a talk with my IT head or the dept head and convince them to come to the Fediverse, I might need to spin up a server for them.

  1. How easy is it to get Mastodon up and going?
  2. How costly a hardware do I need to ask for?
  3. How expensive is it to run the server annually?
  4. Any other points or aspects I need to keep in mind?
18
 
 

My current system is running on an old 2U HP rackmount server with dual 16-core AMD Opteron-6262HE CPU's and two RAID-5 arrays (fast SSD array and slow 2.5" HDD array). There are generally 5-6 VMs running under a Linux master at a given time but none of them are using a whole lot of CPU cycles.

In general, it's noisy but fairly effective for my needs.

I'm looking at the future and what might be good replacement that offers a blend of power-efficiency, flexibility, and storage cost.

In particular, I'd like to:

  • Ditch the 2.5" HDD array in favor of an efficient separate storage system, preferably an attached NAS with 3.5" disks on RAID5 but probably actually networked and not USB based (both for reliability and also so I can potentially provide storage directly to stuff running on separate SBC's etc). A storage system I could drop in now and still use after I upgrade the compute system would be great

  • I'd like to keep the SATA-SSD array for stuff that needs faster disk, or possibly move up to a RAID'ed M2/NVMe.

  • Move up to a more modern CPU that has a good Power-per-watt balance. 8-16 cores totally is probably good if that can be reasonably power efficient for idle cores etc, but dropping some VM's to run stuff on the aforementioned SBC's is also an option

  • Still be rack-mounted for the main system, but not so freaking loud, and actually fit in a standard 24" deep rack

  • Potentially be able to add a decent GPU or add-on board for processing AI models etc

Generally what it will be running is a bunch of VM's for stuff like NextCloud, remote-admin software, Media servers (Plex/Jellyfin), a Fileserver, some virtual desktops and various other fairly low-power VMs, BUT it'd be nice if I could add the dGPU or something with the horsepower for AI processing and periodic rendering/ripping/etc

I'm sorry debating on whether might make more sense to move all storage to BAD, then just replace the always-running stuff (NextCloud, Plex,Fileserver) with SBC's so that they're fairly easily swappable if something fails.

19
7
submitted 2 days ago* (last edited 2 days ago) by Blxter@lemmy.zip to c/selfhosted@lemmy.world
 
 

Hello All,

I am trying to run scrutiny via docker compose and I am running into an issue where nothing shows up on the wub UI. If anyone here has this working would love some ideas on what the issue could be.

as per there trouble shooting for this I followed those steps and here is the output

$ smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d sat # /dev/sdb [SAT], ATA device
/dev/nvme0 -d nvme # /dev/nvme0, NVMe device
docker run -it --rm \
  -v /run/udev:/run/udev:ro \
  --cap-add SYS_RAWIO \
  --device=/dev/sda \
  --device=/dev/sdb \
  ghcr.io/analogj/scrutiny:master-collector smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdb -d sat # /dev/sdb [SAT], ATA device

So I think I am imputing the devices correctly.

I only really changed the port number for the web UI to 8090 from 8080 in there example as 8080 is taken. compose file

services:
  influxdb:
    image: influxdb:2.2
    ports:
      - '8086:8086'
    volumes:
      - './influxdb:/var/lib/influxdb2'
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8086/health"]
      interval: 5s
      timeout: 10s
      retries: 20


  web:
    image: 'ghcr.io/analogj/scrutiny:master-web'
    ports:
      - '8090:8090'
    volumes:
      - './config:/opt/scrutiny/config'
    environment:
      SCRUTINY_WEB_INFLUXDB_HOST: 'influxdb'
    depends_on:
      influxdb:
        condition: service_healthy
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8090/api/health"]
      interval: 5s
      timeout: 10s
      retries: 20
      start_period: 10s

  collector:
    image: 'ghcr.io/analogj/scrutiny:master-collector'
    cap_add:
      - SYS_RAWIO
    volumes:
      - '/run/udev:/run/udev:ro'
    environment:
      COLLECTOR_API_ENDPOINT: 'http://web:8090/'
      COLLECTOR_HOST_ID: 'scrutiny-collector-hostname'
    depends_on:
      web:
        condition: service_healthy
    devices:
      - "/dev/sda"
      - "/dev/sdb"

everything appears to start and work and no errors in the terminal.

Thanks for the help.

20
 
 

Hi all, I am new at Lemmy, 👋🏻

I'm one of the contributors to Taipy, an open-source Python Data & AI web application builder.

Glad to receive feedback and even a few contributors! 😊

https://github.com/Avaiga/taipy

Taipy 4.0 just launched! It's similar to tools like Streamlit, Gradio, Dash, Reflex, etc., but with some unique twists.

Recap about Taipy

Taipy is an open-source Python framework designed to simplify the creation of data-driven web applications. It provides powerful tools for data scientists and engineers to build GUIs and manage complex scenarios without needing extensive front-end development skills. Whether you're creating dashboards, chatbots, or any other type of interactive data application, Taipy aims to make the process as intuitive as possible.

Key features in Taipy 4.0:

  • Enhanced Integrations: Improved compatibility with platforms like Databricks, Snowflake, and Dataiku, making data-driven application building smoother than ever.
  • Databricks Technology Partner: Officially validated as a Databricks Technology Partner, allowing for seamless orchestration and visualization of data.
  • UI & Scenario Management Improvements: Significant upgrades to our GUI and scenario management tools for a more intuitive experience.
  • Backend Performance Boosts: Major backend optimizations for faster, more efficient apps.

A look back at Taipy 3.0:

  • Taipy Studio: Graphical editor for managing configuration elements, stored in TOML for runtime use.
  • Python Page Builder API: Everything in Python, including Markdown support.
  • Scenario Management Controls: Graphically interact with Data Nodes, Jobs, and Scenarios.
  • Scheduler: Automate your tasks, let Scheduler handle the runs.
  • Style Kit: Customize your app's look with our cascading stylesheets.
  • Broadcast Updates: Keep every connected user in sync for live monitoring.

Fully open-source (Apache-2) and continuously evolving. Come check it out, and let us know what you think!

21
 
 

Hey everyone, I was wondering about possible solutions to reach my home network when travelling. At the moment, I have a Wireguard VPN to my home router running OpenWRT. However, this is increasingly useless as Wireguard connections (even on port 80 and 443) are being blocked by hotels etc. (presumable DPI?). I have read about Shadowsock being a possible solution but struggled setting it up on my OpenWRT router.

Are there any other options? Preferably those that can run on an OpenWRT router, or on a server at home.

Any help is much appreciated.

22
 
 

Hello self hosters, I was wondering if you could fact check my training plan?

I work in Tech but haven't done any hands on programming work since school (visual basic). This was very basic, I built a calculator program.

I've got an idea for an app and think this is a good learning opportunity.

My goals are:

  1. Learn programming skills that I can use for personal projects in the future i.e. making apps, using programs fron github, hosting containers to run Plex etc.

  2. Learn skills that can help in my current job (I work with Engineers but don't do any actual coding).

I am planning to learn the following, more or less, in order:

  • Docker (in the past I've had a lot of trouble trying to code in Virtual Box).
  • Linux command line
  • JavaScript boot camp. Good for coding a single app that will work across, browser IOS and Android.

*Typescript - extension of JS.

*SQL - for apps that require a query to a database

*node.js - for REST APIs and cloud server infrastructure

I may also learn these languages/ methods as I need them:

*Git *Terraform

I appreciate this will be a lot of work and take a long time to master, however I think it is worth the investment from a hobby and professional perspective.

Any recommendations or comments on the above?

Any pointers where I've gone wrong or tips/ideas are greatly appreciated!

23
 
 

Some people my server admin uncle included believe that bringing any device to China automatically compromises it even if you reinstall a new OS. Is this warranted as some random person?

Can I go to my public sites and/or VPN into my servers?

Edit: I go there all the time. Also, I can take these precautions but I can’t expect my family to take them. What about family members phones?

A lot of great replies, thank you! Would love the read more specifics so I can know exactly the threats and my actions

Also, this is not an anti-China post. My field is Chinese related. Just learning more about the hosting side :)

24
 
 

Like the title says, I want to replace the IP address in a wireguard .conf file to be a domain instead.

I own a domain through cloudflare, so say I wanted to use vpn.example.org

What DNS record and info do I need to put into Cloudflare? (I am aware I'll need to update it if my ip changes)

25
 
 

Hello everyone!

After much pain and agony I was able to setup my matrix server! Huzzah!

Until I went to sign in with element x :(

It says my server does not have sliding sync support. I have tried looking at the official documentation and trying to getbit working but to no avail. I went thrught the only limited tutorial provided by the actual matrix channel. Still no success.

I was able to install shildichat and that works just fine! Same with the element desktop client.

Do I need to completely restart my matrix installation to get this working? Is there an easy way to get it working now that my mattix-synapse server is already setup?

For context I followed this exact tutorial (though instead of nginx proxy manager I used cloudflare tunnel)

https://www.youtube.com/watch?v=TFDFR6EBG3k

In the video it says nothing about sliding sync but when you go to his wiki site the matrix config has been updated with an empty sliding scale patameter.

Any help would be appreciated!

EDIT:

I am using ubuntu 20.04 deploying my matrix server through docker. I am using the latest build of dendrite matrix-synapse

Dendrite monolith matrix github:

https://github.com/matrix-org/dendrite/blob/main/build/docker/README.md

This is the documentation I followed:

https://wiki.opensourceisawesome.com/books/setup-matrix-chat/page/install-matrix-using-the-dendrite-server

EDIT 2:

please forgive my idiocy. What I wanted was element the app not element x. Unless there is a problem wjth me running matrix without this supposed sliding sync, my issue is solved lol. I will take the advice to implement it if necessary.

view more: next ›