Self Hosted - Self-hosting your services.

11444 readers
36 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
51
 
 

A few years ago I turned a pine64 rock64 SBC into a kodi box, and saw immediate performance improvement over the stock Roku chip on my TCL TV when streaming from SMB. As always "better" becomes... ehhhhh I want more. I want to stick with an SBC because of power consumption on a box that I'm going to leave running 24/7. So my question is: What's the best price to video performance SBC out there?

52
 
 

More or less title.

The idea is, one can already excise the corporation social media somewhat, or limit their reach into your content, if you self-host your social media (or at least if you participate in the Fediverse, say on Mastodon Lemmy etc) and instead link or cross post to corporate ones such as say Twitter or Discord.

But I'm looking for something to self-host that is better geared to do this with small snippets of text that (mostly) stand by themselves. Something that would fit in a original!tweet or even smaller and would not have much use for the "conversation workflow" UI of corporate social media.

The two use cases I'm aiming for are:

  • instead of posting something creative directly on eg.: Reddit or Discord (by which in the latter it would get locked and lost in that blackhole), I just post it in $THINGY and then link it on Reddit / Discord. That way I also retain license.
  • having a "local" archive of my comments on various stuff that I can tag, query or consult on, or even easily share with other people.

At first I thought "maybe what I'm looking is micro-blogging" but on second thought it feels like I'm looking for something even smaller than that? I'm not at all sure, so I thought to ask around here what would you guys self-host for this kind of thing or if it's even a Thing.

Cheers.

53
 
 

Preferably a docker image, but given the instructions, I could build an image.
Any suggestions on the best practises are also welcome. Like the type of server (VM/Swarm/K8s) etc.

54
55
 
 

Lately I've been really liking the idea of having something hosted on a RISC-V machine. RISC-V is a non-proprietary instruction set that is a competitor to ARM. The idea of having a something running on an open source operating system, running on an open standard CPU, served from my house, gives me a warm fuzzy feeling.

I was under the impression that most Linux distributions were unstable on RISC-V. Turns out, I'm wrong about that. From a quick search, the following have official Debian images:

and the Pine64 Star64 has a community-maintained Armbian image.

Does anyone here have a RISC-V single-board computer doing anything practical for you?

56
 
 

Does someone know how to get listed? I configured the admin settings to be a public instance AFAIK...

https://lemmyverse.net/?query=lemmy.tellyou.social

57
 
 

I was thinking maybe about trying a Proxmox cluster across 6 nodes, and using containers for the Jellyfin media streaming stack here:

For storage, I have two 4tb drives, and I'd like to have them separated across two different nodes, but mirrored and preferably auto fail-over.

Thoughts? Ideas?

58
 
 

For the last month I've been working on a modern, material you interface for Invidious.

Github (Leave a star if you want)

Hosted instance

Features

  • Sponsorblock built-in.
  • Return YouTube dislikes built-in.
  • Video progress tracking & resuming.
  • No ads.
  • No tracking.
  • Light/Dark themes.
  • Custom colour themes.
  • Integrates with Invidious subscriptions, watch history & more.
  • Live stream support.
  • Dash support.
  • Chapters.
  • Audio only mode.
  • Playlists.
  • PWA support.

59
 
 

I'm dangerously close to running out of space for my VMs on local-lvm, but noticed I have a lot of free space in my local storage where I only have a dozen ISOs stored.

Can anybody help me figure out how I'd go about shrinking the local storage so I can extend my local-lvm?

60
 
 

Hi all, I am in the process of setting up authentik and had the thought of setting up an intranet email for it.

The idea is that I could set up a very simple email server and client that would only work on my home network to manage email notifications, passwords, etc from all my self hosted applications (proxmox, gitea, etc). It wouldn’t need to communicate with the outside world, only users of my intranet.

Have you done something like this? Any particular tools or advice?

I know about other options like the proton SMTP bridge but this seemed more fun!

61
 
 

I want to mirror my YouTube channel somewhere. Im looking for something like PeerTube but only for a single channel. Does that exist?

62
 
 

I've been wanting to set up a small game server on my home network for myself and a few friends lately. Nothing I haven't done before - except the part where I open it up to the internet for people outside of my home network to play on.

So I tried setting up a small web server to test out the port forwarding functionality of my router. Darkhttpd, running on a spare Raspberry Pi, works fine on the local network. After digging through the web interface, I find out that using IPv4 isn't an option because of how my ISP tunnels network traffic (sth sth Dual-Stack Lite)—fine by me, in 2024 we should be using IPv6 anyway. So I go and open up port 80 in my router's web interface.

This is where the problem begins. Everything looks fine, but I don't have ready access to a network outside of my own to check if the port is actually accessible from the internet. An online IPv6 open port checker I found tells me the ports are visible and that my ISP isn't blocking anything. Trying to bind a domain that I had lying around to my IP address, however, has resulted in failure.

I have no idea how to debug this. I'm pretty sure there's some issue on the DNS Server end, but I can't even tell if the rest of what I'm trying to do is working. And if it is, I have no idea of how to go about fixing the DNS thing.

Update: I got a friend to test it, and the web page is accessible from the internet. Problem lies with the DNS server

Update 2: After contacting my friend again for a sanity check, it seems that the DNS server works fine and my test website can indeed be reached through my domain—it's just that I can't reach it.

Update 3: After poking at various DNS servers, it appears that the Mullvad DNS servers which I use don't regularly update their records. I've now switched to Cloudflare. My router similarly implements some caching solution that, after much tinkering, I was unable to flush. For the time being I've just decided to fuck doing this properly and directly edit my /etc/resolv.conf with the Cloudflare DNS servers. If I ever manage to get this working properly, I will add a final update, but for the time being, I will consider it solved.

63
 
 

Hello, i have a printer and scanner connected to a rpi 3b+ so everyone (at home) can access them through wifi.

Now the scanner is a CanoScanLide 400, which is powered though USB. This didn't seem to be an issue with the raspberry, but recently i had to re-plug everything and now the scanner isn't turning on with the raspberry anymore.

Does anyone have a suggestion for something low cost that is similar in size and power consumption and can support a usb powered device?

(Ideally also with wifi 5ghz, since this is the last device connected to the 2.4ghz)

64
 
 

cross-posted from: https://lemmy.world/post/12989654

I'm a novice so I chose the most novice-friendly option I could find - Squarespace. But I've had lots of problems with them, and they keep raising their prices, and they hide features like javascript code behind even higher prices.

I learned about SSGs https://jamstack.org/generators, which create fast and secure sites that can be hosted for free on Netlify and other similar sites. The downside is they're limited to static content -- IE: you can't have a contact form without paying a 3rd party.

I found a novice-friendly SSG theme for wikis/documentation -- MKDocs Material -- but I haven't been able to find anything for a regular business site.

This seems to be one of the most popular Jekyll themes https://mmistakes.github.io/minimal-mistakes/about/ but it seems to be mainly for blogs and documentation, and doesn't seem to have all the design options that Squarespace does.

I read that healthcare.gov used Jekyll https://medium.com/devseed/new-healthcare-gov-is-open-cms-free-41c25249cf38 in conjunction with https://prose.io. So I looked it up and found this https://github.com/CMSgov/HealthCare.gov-Styleguide which actually seems pretty decent; but also not complete enough. Their newer version https://github.com/CMSgov/design-system seems more complete/extensive, but also quite technical. It looks like it requires too much coding for me.

Weebly seems to be a slightly cheaper alternative to Squarespace but it's missing some features and Square might end it in a few years.

I've never used Wordpress but now that I've hosted a few websites I'm thinking about purchasing Oxygen https://oxygenbuilder.com/ and hosting a Wordpress site myself. Oxygen is like a more advanced version of Squarespace with a 1-time payment equal to 1 year of Squarespace. Then you just have the monthly costs of hosting the server, which should be $5-10 (no idea how this scales with amount of traffic, do you?). There is a plugin/addon to export a static site, but it might not be worth the trouble.

According to https://servebolt.com/articles/calculate-how-many-simultaneous-website-visitors/ a 2-core server ($5) with a webpage that takes 300ms to load can serve:

  • 400/minute
  • 24,000/hr
  • 288,000/12 hrs

A lot of people use Wordpress, but also seem unsatisfied with it https://jamstack.org/survey/2022/#content-management-systems.

The Gutenberg editor may be new since the last time I tried Wordpress https://www.hostinger.com/tutorials/gutenberg-wordpress, and it looks pretty similar to Squarespace. So maybe I don't even need Oxygen. I looked up "Gutenberg vs Oxygen" and people were saying to go with Gutenberg.

I've been considering Grav https://getgrav.org/ too, but similar to the SSGs, it doesn't seem to have all the design capabilities without coding them yourself.

I've seen people say you can get chat GPT to write HTML code for you but I've never used it and it seems like it would be difficult to design a website that way. I looked for a video but only found one covering writing content, not code.

I found out about Hostinger Website Builder https://www.youtube.com/watch?v=cUjjGIfjh-4 which uses AI and looks very similar to Squarespace's builder. But there's no demo so I can't see exactly what it can do. But Hostinger is much cheaper than Squarespace, and you can choose to use Wordpress with it instead of the Hostinger builder.

I checked GreenGeeks and they say "We offer drag and drop website builders like Weebly and SitePad". Sitepad is $12/yr and makes static sites, but it looks like you need one of the popular GUI web panels to use it https://sitepad.com/docs/admin/supported-control-panels/. Similar to Weebly, it's also a bit more limited -- IE: you can't open a contact form in a lightbox from a button https://sitepad.com/docs/enduser/contact-form.

A benefit of using Hostinger or GreenGeeks is probably that I don't have to worry about a surge in traffic causing my site to go down. That's why I'm thinking they're a better option vs self-hosting on a VPS.

I found this video that seems quite good and covers more options I didn't know about: Ultimate Website Builder Comparison 2024 | Find the BEST One for You + Why I Hated Squarespace

Anyone know of better places/forums to discuss this type of thing? There seems to be hundreds of thousands of people using the jamstack SSGs but I haven't found a place where people discuss them. I've tried:

65
1
submitted 8 months ago* (last edited 8 months ago) by turkishdelight@lemmy.ml to c/selfhost@lemmy.ml
 
 

I have a VPS server in the cloud that I use for wireguard. I got the idea to also use it to host a shared folder across my devices: Linux laptop and Android phone.

I started doing some research on this, and would welcome pointers.

66
 
 

I've been running a headless Ubuntu server for about 10 years or so. At first, it was just a file/print server, so I bought a super low power motherboard/processor to cut down on the energy bill. It's a passively cooled Intel Celeron J3455 "maxed out" with 16BG of RAM.

Since then it's ballooned into a Plex/Shinobi/Photoprism/Samba/Frigate/MQTT/Matrix/Piwigo monster. It has six drives in RAID6 and a 7th for system storage (three of the drives are through a PCI card). I'm planning on moving my server closet, and I'll be upgrading the case into a rack-mount style case. While I'm at it, I figured I could upgrade the hardware as well. I was curious what I should look for in hardware.

I've built a number of gaming PCs in the past, but I've never looked at server hardware. What features should I look for? Also, is there anything specific (besides a general purpose video card) that I can buy to speed up video encoding? It'd be nice to be able to real-time transcode video with Plex.

67
 
 

Hi, I'm running the Nextcloud snap on my dad's 12 year old laptop (hp elitebook 8470w) but it has some performance issues. It fails to load for half a minute pretty often.

I'm considering buying a rPi 5 instead to run a few things:

  • umami.is or similar simple web analytics
  • Nextcloud with memories.gallery to store all my family photos
  • maybe HUGO to build websites
  • possibly listmonk to send emails later

Another positive could be the lower power draw, but I'm not sure one pi5 is strong enough to run these.

What I'd need help with is the SMART results of the laptops HDD:

Getting these kinds of errors:

[451080.136193] ata1.00: failed command: WRITE FPDMA QUEUED 451080.136235] ata1.00: cmd 61/08:08:80:07:4a/00:00:10:00:00/40 tag 23 ncq dma 4096 out [ [451080.136235] res 40/00:ff: 00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) 451080.136352] ata1.00: status: { DRDY } [ [451080.136385] ata1.00: failed command: WRITE FPDMA QUEUED 451080.136427] ata1.00: cmd 61/08:00:90:07:4a/00:00:10:00:00/40 tag 24 ncq dma 4096 out [ [451080.136427] res 40/00:01:00:00:00/00:00:00:00:00/e0 Emask 0x4 (timeout) [451080.136543] ata1.00: status: { DRDY } [451080.136577] ata1.00: failed command: WRITE FPDMA QUEUED [451080.136619] ata1.00: cmd 61/08:c8:28:08:4a/00:00:10:00:00/40 tag 25 ncq dma 4096 out [451080.136619] res 40/00:01:c8:7f:d5/00:00:10:00:00/e0 Emask 0x4 (timeout) [451080.139084] ata1.00: status: { DRDY 3 }

And I couldn't make sense of the smartmontools long test results for the HDD:

ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 6799 (249 70 0)
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 4753
170 Unknown_Attribute 0x0033 100 100 010 Pre-fail Always - 0
171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 76
183 Runtime_Bad_Block 0x0032 100 100 010 Old_age Always - 8
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 76
199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
225 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always -5 59312
226 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 65535
227 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 48
228 Power-off_Retract_Count 0x0032 100 100 000 Old_age Always - 65535
232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0
241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 559312
242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 523233
249 Unknown_Attribute 0x0013 100 100 000 Pre-fail Always - 160
```98
68
 
 

Does anyone who’s more on the pulse of stuff than I know if I should stick with Gitea or jump to Forgejo while I can?

I understand that, for the moment at least, Forgejo should be a drop-in replacement for Gitea as they shared codebase for so long…

Anyone have experience that this is the case? What version did you make the switch on? Was it really just a binary/docker container swap on existing database or did you run into any troubles?

I’m at a crossroads where as a casual HomeLab user I don’t really care either way, but if there is a chance Gitea does something that ruins my use of it, I will regret having not switched while it was supposed to be easy. On the other hand, if Gitea remains the stronger choice and Forgejo fizzles out, I will regret leaving it behind. Help me decide? I’m on Gitea 1.21.5, the last “guaranteed” jump point now.

69
 
 

What are some things I can try and will benefit me while I have this 1 yr free trial?

I can always buy my VPS later and move these self-hosted service there, if need be in the future. [AWS is very costly, hee hee]

Share some cool ideas!

70
 
 

Have you installed invidious via docker? Every time I build an image and try to install it (either using the official repo or the custom from yewtube), I get errors that the video can’t be played, any suggestions what am I doing wrong?

Cc @selfhost@lemmy.ml @selfhosted@lemmy.world

71
1
submitted 8 months ago* (last edited 8 months ago) by byggmax@feddit.nu to c/selfhost@lemmy.ml
 
 

So, I'm trying to set up a self-hosted mastodon instance, and of course this requires an email service. Self hosting one is not an option, because of anti-spam stuff, or so everyone says. The recommendations are to use services like mailgun or postmark, but there's one thing I don't really understand:

All these services require verification of an email to be able to send from it. For example, if I want to use noreply[at]mydomain.com with mailgun, I need to click a link sent to that address, which to me feels like a catch-22. How can I receive that email if I don't have the email service set up yet? Do I have to set the domain up with some private email service (protonmail, tuta...) first?

Any help is appreciated, I'm pretty new at this.

Edit: Alright, so it seems that Mailgun actually doesn't require this weird confirmation email, just dns records. The first one I tried, SendPulse, did. Postmark requires an email from the domain at signup. Hope someone else can learn from this.

72
 
 

What are the most promising projects/services aiming at making self hosting easier for everyone?

73
74
 
 

Good morning y'all, so I have a server pc that I've been slowly adding bits and pieces to for about a year now. It started off as a barebones board with a nvme on it, and has slowly developed into a Plex box and game server host box.

This morning I just added an AIO. I've been hosting a Palworld server, and it's averaging 35% cpu usage and 27gb of ram. When the sever is on, the poor stock CPU fan is just running all the time. It's so much quieter now!

That's all, just wanted to share. Self Host has been super helpful with learning how to self host!

75
 
 

cross-posted from: https://lemmy.ml/post/12079904

I'm using old laptop as a home server.
But the cooling fan started to click a lot, and I'm afraid that it will stop spinning soon.
Any ideas for how to replace the fan with something else? Preferably something that does not require electricity?
I'm thinking about dismantling it, taking the fan out and soldering a big block of metal to the heatsink.
How bad of an idea is that?
Is anyone aware of any other ways of physically converting laptop into something that is more suitable for home server?
Know of any guides or videos about something related? Please post links.
Thank you

view more: ‹ prev next ›