1
85
submitted 10 months ago by [email protected] to c/[email protected]

Just wrote up a little post for those who want to self host a lemmy instance with docker-compose and traefik.

2
259
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]

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!

🦎

3
470
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]

Greetings, self-hosting enthusiasts and welcome to the Selfhosted group on Lemmy! I am formerly /u/Fimeg now Casey, your tour guide through the labyrinth of digital change. As you’re likely aware, we’re witnessing a considerable transformation in the landscape of online communities, particularly around Reddit. So let’s indulge our inner tech geeks and dive into the details of this issue, and explore how we, as a self-hosting community, can contribute to the solution.

The crux of the upheaval is a policy change from Reddit that’s putting the existence of beloved third-party apps, like Reddit is Fun, Narwhal, and BaconReader, in jeopardy. Reddit has begun charging exorbitant fees for API usage, so much so that Apollo is facing a monthly charge of $1.7 million. The ramifications of these charges have resulted in an outcry from the Reddit community, leading to a number of subreddits planning to go dark in protest.

These actions have pushed many users to seek out alternative platforms, such as Lemmy, to continue their digital explorations. The migration to Lemmy is especially significant for us self-hosters. Third-party applications have long been a critical part of our Reddit experience, offering unique features and user experiences not available on the official app.

As members of the Selfhosted group on Lemmy, we’re not just bystanders in this shift - we have the knowledge, skills, and power to contribute to the solution. One of the ways we can contribute is by assisting with the archiving efforts currently being organized by r/datahoarder on Reddit. As self-hosting enthusiasts, we understand the value of data preservation and have the technical acumen required to ensure the wealth of information on Reddit is not lost due to these policy changes.

So, while we navigate this new territory on Lemmy, let’s continue to engage in productive discussions, share insights, and help to shape the future of online communities. Your decision to join Lemmy’s Selfhosted group signifies a commitment to maintain the spirit of a free and open internet, a cause that is dear to all of us.

Finally, in line with the spirit of the original Reddit post, if you wish to spend money, consider supporting open-source projects or charities that promote a free and accessible internet.

With that, let’s roll up our digital sleeves and embark on this new journey together. Welcome to the Selfhosted group on Lemmy!

P.S. Thank you to Ruud who is actively maintaining the moderation front in this community!

4
59
submitted 1 day ago by [email protected] to c/[email protected]

Fellow selfhoster, do you encrypt your drives where you put data to avoid privacy problems in case of theft? If yes, how? How much does that impact performances? I selfhost (amongst other services) NextCloud where I keep my pictures, medical staff, ...in short, private stuff and I know that it's pretty difficult that a thief would steal my server, buuut, you never know! 🤷🏻‍♂️

5
34
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]

Hello fellow selfhosters, I tried to find a piece of software that could achieve my goal but maybe I am not searching in the correct areas. So I thought of asking here for suggestions or directions I could take.

What I am looking for:

I am looking for software that could fill a purpose of tracking like a helpdesk ticketing portal but not be a full blown ticketing portal.
For example I want to track current tasks like an RMA I am doing right now with Logitech (currently organized in my email inbox/folders) or keep track of shipments (currently tracked in Google Keep in this format: Shop | MM YYYY | Order-ID | Contents | Tracking:<Shipping Number>)

Features I am specifically looking for:

  • Tracking items (like shipments)
  • Keep track of issues (fix light bulb), Tasks (go to citizen office to renew ID),
    • Optionally: Keeping communication like E-Mails (like go back and see the communication history with Logitech concerning the RMA#999999)

Platforms I use:

Android and Windows.

What I have found so far and seemed to fit:

How I am coming to the conclusion I need something like that

  • As mentioned earlier, I keep track of some stuff like shipments, overtime todo, money I am owing or someone does owe me in Google Keep. It kinda works but I feel like I am straining the borders of it's use case. And I fear Googles Graveyard
  • I keep track of my e-mails via folders (to some extent). But I will probably not find the email of communication I had 5 months ago with that system.
    At work we use a classic ticket helpdesk system. I can more or less find the ticket of an issue a customer had on the phone and correlate it with the problem I have right now.
  • Some of my knowledge base is in Obsidian.md for technical stuff or minor stuff like "find x here", while the stuff related for real life (e.g. recipes) are stored in OneNote.
    It's not necessary to consolidate it but maybe I can remove some of each into the new system?

What I would like to avoid:

Things like creating companies to track tickets with. I would rather just keep track of the issue (maybe with some form of history to go back in time?) and not be lost in endless classification of company number, telephone, contacts etc.

Maybe I am in search of a unicorn-glitter edition^tm^ and just need someone to tell me that doesn't exist or I am not looking for the correct thing or term.
The help is highly appreciated :)

PS: While preferred it doesn't need to be selfhosted. It should be accessible via smartphone (app or web doesnt really matter) and on desktop (program or web).

Update:

Currently in consideration are (thanks for the suggestions so far!):

  • OpenProject
  • Focalboard
  • Vikunja
  • Tarallo
6
7
submitted 1 day ago* (last edited 22 hours ago) by [email protected] to c/[email protected]

Fine folks of c/selfhosted, I've got a Docker LXC (Debian) running in Proxmox that loses its local network connection 24 hours after boot. It's remedied with a LXC restart. I am still able to access the console through Proxmox when this happens, but all running services (docker ps still says they're running) are inaccessible on the network. Any recommendations for an inexperienced selfhoster like myself to keep this thing up for more than 24 hours?

Tried:

  • Pruning everything from Docker in case it was a remnant of an old container or something.
  • Confirming network config on the router wasn't breaking anything.
  • Checked there were no cron tasks doing funky things.

I did have a Watchtower container running on it recently, but have since removed it. It being a 24 hr thing got me thinking that was the only thing that would really cause an event at the 24 hr post start mark, and it started about that same time I removed Watchtower (intending to do manual updates because immich).

...and of course, any fix needs 24 hours to confirm it actually worked.

A forum post I found asked for the output of ip a and ip r, ~~see below.~~ Notable difference on ip r missing the link to the gateway after disconnecting.

Update: started going through journalctl and found the below abnormal entries when it loses connection, now investigating to see if I can find out why...

Apr 16 14:09:16 docker 922abd47b5c5[376]: [msg] Nameserver 1.1.1.1:53 has failed: request timed out.
Apr 16 14:09:16 docker 922abd47b5c5[376]: [msg] Nameserver 192.168.1.5:53 has failed: request timed out.
Apr 16 14:09:16 docker 922abd47b5c5[376]: [msg] All nameservers have failed

Update 2: I found using systemctl status networking.service that networking.service was in a failed state (Active: failed (Result: exit-code)). I also compared to a separate stable Docker LXC which showed networking.service was active, so, did some searching to remedy that.

x networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2024-04-16 17:17:41 CST; 8min ago
       Docs: man:interfaces(5)
    Process: 20892 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
    Process: 21124 ExecStopPost=/usr/bin/touch /run/network/restart-hotplug (code=exited, status=0/SUCCESS)
   Main PID: 20892 (code=exited, status=1/FAILURE)
        CPU: 297ms

Apr 16 17:17:34 docker dhclient[20901]: DHCPACK of 192.168.1.104 from 192.168.1.1
Apr 16 17:17:34 docker ifup[20901]: DHCPACK of 192.168.1.104 from 192.168.1.1
Apr 16 17:17:34 docker ifup[20910]: RTNETLINK answers: File exists
Apr 16 17:17:34 docker dhclient[20901]: bound to 192.168.1.104 -- renewal in 37359 seconds.
Apr 16 17:17:34 docker ifup[20901]: bound to 192.168.1.104 -- renewal in 37359 seconds.
Apr 16 17:17:41 docker ifup[20966]: Could not get a link-local address
Apr 16 17:17:41 docker ifup[20892]: ifup: failed to bring up eth0
Apr 16 17:17:41 docker systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Apr 16 17:17:41 docker systemd[1]: networking.service: Failed with result 'exit-code'.
Apr 16 17:17:41 docker systemd[1]: Failed to start networking.service - Raise network interfaces.

A reinstall of net-tools and ifupdown seems to have brought networking.service back up. apt-get install --reinstall net-tools ifupdown

Looking at the systemctl status return, I bet everything was fine until dhclient/ifup requested renewal about 24 hours after initial connection (boot), found that networking.service was down, and couldn't renew, killing the network connection.

We'll see if it's actually fixed in 24 hours or so, but hopefully this little endeavour can help someone else plagued with this issue in the future. I'm still not sure exactly what caused it. I'll confirm tomorrow...

7
59
submitted 1 day ago by [email protected] to c/[email protected]

I am selfhosting Navidrome for sometimes but its lacks of support for multiple values really bugs me. Since I am having some free time, I've decided to write an opensubsonic server in rust (why rust? you guess). The notable features are:

  • In-memory transcoding with ffmpeg c api. Faster transcoding with no ffmpeg binary required and no need for pre-configurated transcoding profile.
  • Multiple values for artists/album artists/etc.
  • Permission models music folder per user.

It is still actively developped and lacks some Opensubsonic features (playlist/starr) and some external integrations like lastfm. However I would like to post it get some feedback about it.

Thank you very much!

8
8
submitted 8 hours ago* (last edited 8 hours ago) by [email protected] to c/[email protected]

I already fear that this may be a bit too specific since it's a bit of a niche need, but here goes:

I'm hosting several Subversion repositories for my indie projects. So far, I just did the plumbing by hand and wrote Apache configs (hosting via mod_dav_svn).

But if I look at all those shiny tools Git users can wield, I really wish for something with a sleek UI and the option to create repositories, manage users and display source and markdown that worked with Subversion.

I know (and have tried):

  • Gitea - What I want, except Gitea is for... Git and I do Subversion. Gitea manages users, created repositories and displays their contents in a clean, useful way.

  • VisualSVN Server - This would be what I'm looking for (WebUI), but it is Windows-only (I don't get it, who in their right mind hosts development stuff on a Windows clunker?)

  • Redmine - It's a Ruby on Rails project. With the Zenmine theme, it almost looks like GitHub, but Redmine shies away from repository management and focuses more on project/issue management.

  • Trac - A bug tracker with Subversion browser and timeline, written in Python. While aforementioned part is great, it can also (barely) manage users and permissions for a repository using an add-in.

As well as various abandoned PHP projects with grotesque UIs and which either never fully worked or broke somewhere along the road from PHP 5 to PHP 8.

Can anyone recommend a decent WebUI for Subversion that would let me create repositories, manage users and view repository contents in the browser? Eye candy preferred, as I'm already doing everything I need via CLI tools and WebSVN.

9
3
Miniflux Webhook (lazysoci.al)
submitted 3 hours ago by [email protected] to c/[email protected]

Help? So what I'm trying to do is get n8n to send my phone a notification that tells me there's new stories to read every time Miniflux does a pull.

I feel like this should be easy, but it's not. I initially had it just telling me every half hour, but that felt like a dirty workaround. Should I be looking at webhook? Or am I thinking about this wrong?

10
39
submitted 1 day ago by [email protected] to c/[email protected]

Is there an easy way to do this? I suppose I could just copy the files manually but is there a better option? Thanks!

11
36
submitted 1 day ago* (last edited 23 hours ago) by [email protected] to c/[email protected]

I've been trying to get hardware acceleration working on rootless containers of Plex and Jellyfin and I can't get it to work the proper way.

My current workaround is having my device /dev/dri/renderD128 with permissions set to 666, but I feel like that really isn't an ideal setup.

Some things I've done:

-Currently I'm running my containers with my user with ID 1000.

-My user is part of the render group, which is the group assigned to:

    /dev/dri/renderD128

-I'm passing the device to the containers as such:

  --device /dev/dri:/dev/dri

-In my plex container for example, I'm passing the IDs to use as such:

   -e PUID=1000 and -e PGID=1000

-I tried the option "--group-add keep-groups" and I see the groups in the container but I believe they're assigned to the root user in the container, and from my understanding, the plex and jellyfin images I've tried I think they create a user inside with the IDs I pass, in this case 1000, and so this new user doesn't get assigned my groups on the host. I'm using the LinuxServer.io images currently but I saw the official plex image creates a user named "plex". The LinuxServer.Io images create a user named "abc".

-Out of curiosity on the host I changed the group of /dev/dri/renderD128 to my user's group 1000, but that didn't work either

-I tried with the --privileged option too but that didn't seem to work either, at least running podman as my user.

-I haven't tried running podman as root for these containers, and I wonder how that compares security-wise vs having my /dev/dri/renderD128 with permissions set to 666

For some context, I've been transitioning from Docker to Podman rootless over the past 5 days maybe. I've learned a couple of things but this one has been quite a headache.

Any tips or hints would be appreciated. Thanks!

12
84
submitted 1 day ago by [email protected] to c/[email protected]
13
7
submitted 16 hours ago by [email protected] to c/[email protected]

Hi all,

I have two servers - one is an IBM System x3650 M3 that I’ve been using for a while and the other is an x3550 M5 that I would like to move everything to. I have 6 drives which I think were configured as RAID 1 on hardware level. (MegaRAID, I think)

Is there a way that I can “just move” the drives from the old to the new - and just let it boot and continue where it left off - without making a mess of things or would that just screw up the RAID configuration?

I’ve been searching for answers, even asking ChatGPT (lol) for some answers but can’t seem to find any concrete answers.. All the data is backed up but I’m worried that I’ll spend days (trying to remember how to) reconfigure everything if something goes wrong.

Anyone has experience with anything like this?

14
6
Lemmy API? (lemmy.world)
submitted 15 hours ago by [email protected] to c/[email protected]

Can I use Lemmy API out of the box and how?

I used Ubergeek's installation method, so it runs on docker and Caddy.

I did not see a way to set up credentials via the GUI.

Do you know how can the API be used and is it available?

15
137
submitted 2 days ago by [email protected] to c/[email protected]

I recently found this on Reddit while looking into why jellyfin is effected so much by latency. I found that this worked and thought I would share it because it is generally applicable, takes five minutes to setup, and helps a lot with bandwidth on higher latency connections. I admit I am not sure of the technical stuff behind this, so if anyone would like to chime in that would be much appreciated.

16
53
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/[email protected]

Hello and good evening self hosters! so i recently new to self hosting, i just installed my CM3588 DIY NAS with a bunch of services which is very addicting!

but i digress, so i recently found out today that we pay $11 a month to rent our router for our house. Which i personally think is ridiculous! So i am looking into buying to own, not renting to burn money. However the router seems to get internet from the ISP through moCA which looking at router that support moCA are rather limiting in speeds and very expensive. So my query for this fine, fine community is if i were to buy a coax/moCA adapter that then coverts it to Ethernet and then plug it into my router and and then by proxy my access points. would it work, wifi 6E looks super nice and there are very few options that are very pricey for modem/router combos that support moCA.

I am open to alternatives and ideas, and please correct me if i made any mistakes on terminally or my diagram

thanks folks!

Edit--- my current router is a ARRIS Surfboard TG3452 DOCSIS 3.1 Cable Voice Gateway Modem Router with 802.11ac Wi-Fi & MoCA 2.0

So

17
8
submitted 20 hours ago by [email protected] to c/[email protected]

Hey guys.

Having a bit of a headache trying to get wireguard working properly through my pfsense router.

Configuration overview: VPS wireguard server set to forward all traffic from peers (it's operating as a self-hosted VPN). I have a port on my router we'll call OPT1 that I want to traffic all connections through wireguard to the VPN.

So far I have the VPS and pfsense connected successful through wireguard. They are making active handshakes and I can ping between them perfectly fine.

I followed the documentation, but my windows PC connected directly to OPT1 can't access the internet. From the PC I can ping the DHCP server of OPT1 as well as the wireguard tunnel, but I can't ping anything outside of that. I'm passing all traffic from OPT1 subnet to the wireguard interface in both OPT1 firewall rules and the wireguard interface rules.

I'm sure many of you have dealt with this configuration before. Does this issue sound familiar?

18
32
submitted 2 days ago by [email protected] to c/[email protected]

So my employer got me a business Udemy account and I want to make the most of it. What are good courses there for a home self hoster?

I’ve got a couple Docker for beginners courses.

Would an AWS Certified Cloud Practitioner be any useful?

I’m looking into networking as well, so I understand VLANs, routing and firewalls.

I have a decent grasp of Linux fundamentals, but I’m outdated in administration as I haven’t been more than a user for the past 10 years.

19
25
submitted 3 days ago by [email protected] to c/[email protected]

Well, as the title says, I've had a few notifications that alerted over night and I'm wanting to sleep instead

These are ntfy alerts, but driven by Uptime Kuma... and I can't find a programmatic / config option that says "don't notify between 11pm and 7am" (but willing to admit I've just not found it... yet...)

I need my (Android, ofc) phone to be on in case of family calls / messages, so I can't use "Do Not Disturb", and remembering to manually mute the ntfy app each night just doesn't make sense to me - computers are quite capable of automating my requirements for me.

So... any pointers? I'm sure you're not all getting alerts at 2am because your ISP dropped a few packets...

20
33
submitted 3 days ago by [email protected] to c/[email protected]

I'm looking for a simple sendmail replacement to receive local mail, such as from cron and service failures and forward it to on to a real SMTP server.

I have used msmtpd successfully but thought I'd ask if folks have other solutions they like.

21
34
submitted 3 days ago* (last edited 1 day ago) by [email protected] to c/[email protected]

My pixel phone has meager storage. Could I use an old phone with bountiful SD space to serve up media via Bluetooth?

Any ideas if this would work practically speaking?

Edit: Looking for a functional equivalent of on-device storage space, i.e., for offline media consumption

USB phone jack is often used for power, so it's unlikely available for OTG storage

Battery life in the server phone should be ok since it will be running in airplane mode with only Wi-Fi and/or Bluetooth, and display off mostly

22
396
submitted 4 days ago by [email protected] to c/[email protected]

Has anyone bought from here before? Looking to upgrade my NAS drives.

23
1
submitted 2 days ago by [email protected] to c/[email protected]

I am running wg-easy and there is a way to passport protect the GUI used for creating Wireguard connections. Is there a way to prohibit connection to be made if not a password is entered? I don’t want someone to be able to access my VPN if for example my phone would be stolen unlocked. I don’t mind if it is client side only

24
32
submitted 3 days ago by [email protected] to c/[email protected]

I will be located in a country where the Internet is EXTREMELY controlled and filtered. Not sure if I can even bring my current router with me(seems forbidden), so turning my RPi4 seems a good idea... Don't you think?

25
98
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]

This is my new favorite thing. I don't have a CRT to display this on, but I'll settle for an old 4:3 LCD monitor I have sitting on a shelf in the basement - it's old and blurry enough to be a reasonable facsimile.

This project aims to bring back the feel of the 90's with a weather forecast that has the look and feel of The Weather Channel at that time but available in a modern way.

Live demo: https://weatherstar.netbymatt.com/

docker run -p 8080:8080 ghcr.io/netbymatt/ws4kp

Access on http://localhost:8080

Screenshots

view more: next ›

Selfhosted

36424 readers
561 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 10 months ago
MODERATORS