Selfhosted

40493 readers
727 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 2 years ago
MODERATORS
26
14
submitted 4 days ago* (last edited 4 days ago) by [email protected] to c/selfhosted
 
 

I currently have a two disk-zfs mirror which has been filling up recently. So I decided to buy anothet drive, but when I started thinking about it, I was unsure on how to actually make it usable. The issue is that I have ~11Tb on the existing pool (2 12 Tb drives (a,b)) and no spare drives of that size to copy over all my data to while creating the new 3-drive pool with the same drives and the additional new drive (c).

I saw there is a way to create a "broken" pool with just two drives (a,b), while keeping the data on the remaining drive (c), then copying the data over to the pool and 'reparing' it afterwards with the new drive (c).

As I only have 11 Tb of data which would theoretically fit one disk, would I be able to:

  • keep the old pool
  • initialize the new pool with just one drive and copy over the data
  • detach one drive from the old pool, add it to the new pool (if possible, would there allready be parity data generated on this drive at that point? Wold the parity be generated in a way that would allow me to lose the other drive in the pool and recover the data from the remaining pool (drive) alone?)
  • destroy old pool, add last drive to new pool

I would be able to back up my important data, but don't have enogh space to also back up my media library which I'd like to not have to rebuild.

alternatively: anyone in Berlin wanna loan me a 12 Tb drive?

27
 
 

I have no idea why it's taken me so long, but I've "discovered" #Redlib as a way to view #Reddit  without all of the cruft. #selfhosted of course. https://www.macklin.co/redlib-reddit/

You can use Redlib to create an #RSS feed, which you can process in #Huginn to create a new version of the feed that includes the comments as well as the original post. Just right for using in your favourite rss news reader. https://www.macklin.co/redlib-via-huginn/

28
 
 

Hello, guys! As the title suggests, I am looking for an HBA. The chassis I am planning to get is an Inwin IW-RS216-07 with 8x 3.5-inch SAS/SATA bays and 2x 4x 7mm U.2 SSD bays.

I am not sure which HBA (or perhaps multiple HBAs) would be suitable to utilize the full capabilities of the backplanes. Just to clarify, I am talking about an HBA and NOT a RAID card, as I will be using the system with ZFS.

Any suggestions or directions to which HBA to get would be greatly appreciated!

29
 
 

Any options?

Thanks for all the alternatives. I’m also asking if there’s anyway to edit trillium on my phone when my server is offline… guess not?

30
 
 

cross-posted from: https://lemm.ee/post/48643729

Has anyone seen any particularly good deals for NAS's, storage or memory, mini computers, things like that, for this Black Friday / Cyber Monday season?

31
 
 

Hey all, I can't seem to block ads in Jetpack Joyride on iOS. In using Unbound on Opnsense and I thought I had pretty good coverage - unless iOS uses a different manner to get ads on there?

32
 
 

I am smarting up my home with lots of ZigBee thingies and decided to add a ZigBee smart monitor to my selfhost setup.

Its a desktop box with a core i7 9th gen, 48gb ram, no monitor.

I used to have 4xSSD 4TB + 2xHDD 6TB. Three RAID1 for a total of 4+4+6=14Tbs.

Power was sitting at 50W.

I restructured my storage: 1 RAID5 with the 4 SSDs (12tb) and removed the 2 HDDs.

Power went down to 38W!

I am amazed.

In the future will run just 1 hdd for storing backups and keep it spinned down 99% of the time.

PS: the above wattage is during transcoding, so with high CPU and disk usage....

33
21
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/selfhosted
 
 

Hi!

I used to have three raid1:

2 x 4Tb Ssd dedicated to store personal data

2 x 6Tb HDD dedicated to store "iso's", the eye patched ones.

2 x 4Tb ssd for backup.

Ext4 everywhere.

I run this setup for years, maybe even 20 years (with many different disks and sizes over time).

I decided that was time to be more efficient.

I removed the two HDD, saving quite a lot of power, and switched the four sdd to RAID5, Then put BTRFS on top of that. Please note, I am not using btrfs raid feature, but Linux mdadm software raid (which I have been using rock solid for years) with btrfs on top as if on a single drive.

I choose MD not only for my past very positive experience, but specially because I love how easy is to recover and restore from many issues.

I choose not to try zfs because I don't feel comfortable in using out of kernel drivers and I dislike how zfs seems to be RAM hungry.

What do you guys think?

34
24
Expanding Synology (poptalk.scrubbles.tech)
submitted 6 days ago by [email protected] to c/selfhosted
 
 

Hey folks, happy Thanksgiving to those celebrating today!

I have a Synology DS1821+ that I have completely filled. I'm looking for expanding, but I don't really want to completely replace the Synology yet.

Does anyone know if there is a way to expand the number of drives? I've heard murmers that I can use a DAS, but nothing for sure. Wondering if anyone has attempted this before. Thanks!

35
 
 

I came across mention of IMAPSync and Larch as tools to move emails out of Gmail to a new email account. Does anyone have any experience using these?

I have a family’s worth of email gmail accounts all of which are running out of space and will need to be moved to a new email provider. They would of course all like to keep their historical sent and recieved emails.

36
14
submitted 5 days ago* (last edited 4 days ago) by [email protected] to c/selfhosted
 
 

I moved, and now my new router has no ipv4. I can expose the host with ipv6. After opening a port and exposing the host, the host is fully exposed and all ports are open. It'ss weird. Vodafone calls ut host exposure, I can select a specific port and all ports are open.

How do you guys corcumvent that issue? Is this the infamous cgnat problem or is this why many people use a cloudflare tunnel? I just want to reach my nextcloud and immich with a normal domain.

Edit: I called my provider and now I've got an ipv4 address with port forwarding

37
10
connect to vps (lemmy.ml)
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/selfhosted
 
 

Hello

Trying to see if there is an easier way or if is secure.

I have a VPS. I want to use for web services (docker) only accessible internal and not exposed to interent e.g. ZorAxy/ngnix manager.

I don't want to use Tailscale as the VPS is headscale and feel not secure.

Don't want to use VPN as I don't want my device to connect to it, forward my traffic from VPS IP. Also I use android a lot and that uses a commerical VPN.

So I thought ssh tunnel, make tun device on vps, and make docker compose port to the tun ip. Can then use a proxy on android to connect to my internal web servers. As for Linux, I have to make another tunnel and proxy my browser - problem is that everything from the browser goes through my vps, so like a VPN.

Just wondered if there was an easier solution and is this way secure?

Thanks

38
 
 

Hello

For a long time I have used google drive sheets in order to keep track of gym progress because it has columns and I can dedicate columns, colors, rows, etc for specific gym movements each week so I can keep track of progress, progressive overload correctly, and have a history of progress. ( Example: days | weight | push | bench::weight*sets/reps | etc)

I have been using libreofffice (and syncthing to back up to home server so I can later view on pc) to do this lately but the mobile app is ... Hard to use for me. I also use obsidian to take general notes and lists but it is missing the dedicated columns I would like.

Is there other self hosted similar options for what I'm looking for specifically for mobile to PC backup.

39
 
 

Hi all, I'd like to hear some suggestions on self hosting LLMs on a remote server, and accessing said LLM via a client app or a convenient website. Either hear about your setups or products you got good impression on.

I've hosted Ollama before but I don't think it's intented for remote use. On the other hand I'm not really an expert and maybe there's other things to do like add-ons.

Thanks in advance!

40
29
submitted 1 week ago* (last edited 3 days ago) by [email protected] to c/selfhosted
 
 

You may have seen my post trying to troubleshoot my server. It seems either the motherboard or CPU is dead, so hey, why not do an upgrade?

I use this server for a lot. It's used for a Jellyfin server, sometimes multiple streams at once. I think I'd like hardware transcoding, I want it to be really good at streaming Jellyfin, and preferably multiple streams at once without issue.

It's also going to be used for hosting Zusam, a kind of private forum for friends/family - a key thing is that this will also be transcoding videos and photos to downscale them (uses FFmpeg).

I also host Photoprism, which will be generating thumbnails and indexing photos.

In addition to this, I also host a bunch of other stuff, I think the key ones are Nextcloud AIO and PaperlessNGX (which does OCR) as these would be more demanding. Then another 10 or so services that aren't too demanding and have low usage so are unlikely to be an issue outside of making sure I have enough RAM.

I use it as a backup server as well. It receives borg backups from other devices and backs up itself to a backup HDD, and does cloud backups, but has a fast LAN connection and decent internet speed (300Mbps) and this is scheduled overnight so probably doesn't affect anything.

I also use it for playing games with the kids! Normally Stardew Valley but sometimes more demanding games.

Many of the hosted services have family members also using them. I want to make sure I can do things like the Photoprism indexing and Zusam video downscaling while not affecting the experience using Jellyfin or other services. It's all good if this happens by limiting cores for transcoding. It would be nice to be able to use it for more demanding gaming as well, but I understand if it's a bit hard to keep everything going nicely with a demanding game running that doesn't limit its multithreading.

Possibly related for compatibility purposes:

  • all my hard drives are 3.5" HDD or 2.5" SSD SATA connections. I have 2 SSDs and 2 HDDs.
  • I also have a Radeon rx5700xt graphics card. Would be nice to be able to keep using this.
  • I'm currently running a full desktop environment (Linux Mint - Cinnamon) on it, for the purposes of playing the games. So needs to work well with Linux and also play nicely with wireless Xbone controllers.
  • Case is Mid sized. Specifically this one.

And the current CPU is an AMD Ryzen 7 3700X, in case you want to tell me what I have is fine and I don't need an upgrade 🥲

What are some good options for an upgrade?

Edit: Thanks for the suggestions. Lots of people showing me how I wasn't taking full advantage of the hardware I had, so I ended up going back to trouble shooting and in the end it was the motherboard that was the issue. I replaced that and it's now up and running again! Now to go back to all the info about hardware transcoding in Jellyfin that people have linked for me. Thanks for everything!

41
 
 

I'm proud to share a major development status update of XPipe, a new connection hub that allows you to access your entire server infrastructure from your local desktop. It works on top of your installed command-line programs and does not require any setup on your remote systems. XPipe integrates with your tools such as your favourite text/code editors, terminals, shells, command-line tools and more.

Here is how it looks like if you haven't seen it before:

Hub

Browser

VMs

  • There is now support for KVM/QEMU virtual machines that can be accessed via the libvirt CLI tools virsh. This includes support for other driver URLs as well aside from KVM and QEMU. This integration is available starting from the homelab plan and can be used for free for two weeks after this release using the new release preview
  • You can now override a VM IP if you're using an advanced networking setup where the default IP detection is not suitable. For example, if you are using a firewall like opnsense on your hypervisor
  • Fix remote VM SSH connections not being able to use the keys and identities from the local system
  • There is now a new restart button for containers and VMs

File browser

  • There is now a new option in the context menu of a tab to pin it, allowing for having a split view with two different file systems
  • There is now the option to dock terminals in the file browser (this is only available on Windows for now). You can disable this in the settings if you don't like it
  • The previous system history tab is now always shown
  • You can now change the default download location for the move to downloads button

Pin

Dock

Other

  • The application style has been reworked
  • Improve license requirement handling for systems. You can now add all systems without a license and also search for available subconnections. Only establishing the actual connection in a terminal or in the file browser will show any license requirement notice. This allows you to check whether all systems and installed tools are correctly recognized before considering purchasing a license.
  • Rework Windows msi installer to support both per-user and system-wide installations. The installer will also now respect the properties ALLUSERS. This makes it possible to install XPipe with tools such as intune
  • Add download context menu action in file browser as an alternative to dragging files to the download box
  • Fix proxmox detection not working when not using the PVE distro and not logging in as root
  • The settings menu now shows a restart button when a setting has been changed that requires a restart to apply
  • There is now an intro to scripts to provide some more information before using scripts
  • Add ability to enable agent forwarding when using the SSH-Agent for identities
  • Closing a terminal tab/window while the session is loading will now cancel the loading process in XPipe as well
  • A newly opened terminal will now regain focus after any password prompt was entered in xpipe
  • Add warning message when the incompatible coreutils homebrew package is in the PATH on macOS
  • The .rpm releases are now signed

Shell sessions

Many improvements have been implemented for the reusability of shell sessions running in the background. Whenever you access a system or a parent system, XPipe will connect to it just as before but keep this session open in the background for some time. It does so under the assumption that you will typically perform multiple actions shortly afterward. This will improve the speed of many actions and also results in less authentication prompts when you are using something like 2FA.

Security updates

There's now a new mechanism in place for checking for security updates separately from the normal update check. This is important going forward, to be able to act quickly when any security patch is published. The goal is that all users have the possibility to get notified even if they don't follow announcements on the GitHub repo or on Discord. You can also disable this functionality in the settings if you want.

Fixes

  • Fix Proxmox detection not working when not logging in as root
  • Fix tunnels not closing properly when having to be closed forcefully
  • Fix vmware integration failing when files other than .vmx were in the VM directories
  • Fix Tabby not launching properly on Windows
  • Fix SSH and docker issues with home assistant systems
  • Fix git readme not showing connections in nested children categories
  • Fix Windows Terminal Preview and Canary not being recognized

A note on the open-source model

Since it has come up a few times, in addition to the note in the git repository, I would like to clarify that XPipe is not fully FOSS software. The core that you can find on GitHub is Apache 2.0 licensed, but the distribution you download ships with closed-source extensions. There's also a licensing system in place as I am trying to make a living out of this. I understand that this is a deal-breaker for some, so I wanted to give a heads-up.

Outlook

If this project sounds interesting to you, you can check it out on GitHub or visit the Website for more information.

Enjoy!

42
55
submitted 1 week ago* (last edited 3 days ago) by [email protected] to c/selfhosted
 
 

I decided to clean out my CPU fan as it was clogged, when I assembled everything again it won't turn on 🙁

It's an old desktop PC. There are no lights glowing on the motherboard at all, though there is none specifically labelled "power". Just CPU, RAM, BOOT. None of these light up, not even a flash when it starts.

I have reseated the RAM, CPU, power cables. Removed the GPU to check.

The cord leading in to the PSU works but I don't have a way to test the PSU itself or the out cables, but I have reseated them at each end.

This PC was working fine before. But with no lights on the motherboard I suspect either the mobo or PSU?

Mobo is asrock x570 PSU is silverstone 650w strider gold S series

Any help appreciated!

Edit: I made a new post asking for hardware recommendations.

Edit 2: I managed to get a light on the motherboard, going to buy some more thermal paste and keep tinkering to see if I can get it started!

Edit 3: I never got that light to go again. In the end the comments on the other post convinced me that I had all that I needed for what I wanted (no upgrade needed), so I changed tack to seeing how to fix it. I had suspicions about the power connection still, so I bought a cheap PSU and tested it, no change. Then I bought a new motherboard (also a pretty cheap one, the cheapest that had what I needed and was also in a local store) and in the end that was the issue. Everything is up and running again now! Thanks for all the help everyone, you can now settle your bets.

43
 
 

Seems like a fairly mature and well maintained project. Can be fired up in DevContainer for hacking.

44
23
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/selfhosted
 
 

I posted this question on the matrix chat, but I think I have a better of getting answers here.

I am the guy who posted this https://lemmy.world/post/22397768 .

Hi. just installed a 0.19.7 version of Lemmy at https://forumrs.com/ with ansible and I am facing a few issues... I am hoping to get hints at how I might fix these. I am using cloudflare as CDN sitting in front of the website.

  1. Languages are driving me mad. My Lemmy instance needs to be in ONE particular language only - that is Georgian. But new registration defaults to English and Undetermined. THIS IS TOO BAD for me because somebody who sings up does not see anything on homepage unless they select Georgian in the list of the languages in their profile! And if browser language is used to pick the registration language, that is also bad for me because people do not necessarily have their systems set to Georgian. How do I do it in a way that newly registered users' profile language defaults to "Undetermined" and "Georgian" ? Instead of "Undetermined" and "English?"

Or ideally just add "Georgian" to existing selections of "Undetermined" and "English?" for newly registered users?

Also, when making a post, how can I make it so that by default Georgian is selected as the language of the post?

  1. I want to allow NSFW content. But I want users to be warned and accept to continue. And lemmy has this feature, great! But it does not work on my instance. So I enable it from admin panel.

But then, when a guest opens the front page, they see a warning that they cannot bypass by pressing "continue" ! The warning just keeps reloading. Is it a bug? Had anyone had this experience?

  1. I want to have interface translation to Georgian as an option. How do I make that happen? Do I make translations at https://weblate.join-lemmy.org/projects/lemmy/#languages, and then wait for that to be released and then push and upgrade from Ansible? I am confused about the recipe here. How this works.

  2. I subscribed to this community from my instance at https://forumrs.com/c/selfhosted[@[email protected]](https://lemmy.world/u/SpaceCadet)

And it appears the comments are slowly appearing. Is this normal? I have set the config to 10 federation workers.

Thanks for any hints. I am asking these questions because I am very new to this.

  1. I have an instance of Matomo running to capture website analytics. Where and how would I put my tracking javascript code that needs to go into the ?

EDIT: I made this post and edit from my instance, so it works! Weird thing was that I could not post this directly at lemmy.world. Network inspection showed "Unauthorized" when I was clearly authorized.

45
 
 

I've been searching for a replacement for my crufty Yunohost install, something that runs docker, "app" install, and preferably SSO and multiuser. I was deciding between CasaOS and Cosmos Cloud when I stumbled on Co-Op Cloud. I can't find anything on it online anywhere except for their site. Anyone tried it or have any opinions?

46
 
 

are there any older ex-office mini PCs like the elitedesk, optiplex, thinkstation, etc models that can fit a 3.5" drive? Not looking for anything new and thus expensive, just want some old junker (6/7/8th gen Intel) that can host some light stuff. thanks

47
50
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/selfhosted
 
 

Hey good selfhosters!

Here is a quick 12-question survey to nominate/announce what people find the most worthy projects of 2024. Feel free to submit your answers only takes 2-3 mins to fill out :)

The survey aims to find folks favorite projects within the following categories:

  • Best Self-Hosted App of the Year
  • Best Text Editor of the Year
  • Best Linux Desktop Distro of the Year
  • Best Desktop Environment
  • Best Shell of 2024
  • Best Power CLI Tool of 2024
  • Best Linux Hardware of the Year
  • Best F-Droid / Obtainium App / Free App
  • Best Open Source Project
  • Best Newcomer Project

Go Vote!

This is a yearly survey hosted by Jupterbroadcasting folks, LinuxUnplugged in specific.

48
 
 

Over the weekend I set up some outdated wyze v3 cameras with hacked firmware to enable rtsp, and was able to load the stream into frigate to do some mouse-infestation detection. This worked great, and it was with hardware I already had laying around, but now i'm in need of some more coverage and I don't want extension cords hanging from my basement ceiling everywhere.

I thought there might be another ~$50 wifi battery camera somewhere out there that could be hacked or had native rtsp support, but my search is coming up short.... seems like either people settle for cloud-polling cheap ones or they splurge on some real quality mid-range ones. Anyone know of any cheap options?

For those curious, here's the git repo for the wyzecams i found. It's as easy as loading a micro-sd with the firmware, giving it an ssh key, and then turning it back on. Then you can ssh into it over the network and enable things like rtsp and a bunch of other features i don't know what to do with. It has proven to be handy, but it doesn't support the outdoor battery-powered models.

49
 
 

Does anybody here have a matrix synapse server on docker / podman set up with a database and redis, one or both?

I am looking to set up such a server but I could use some help / templates, as I found the official documentation on this somewhat lacking (or maybe I just missed the correct page).

50
 
 

I found few selfhosted alternatives, but interested, what one do you using?

view more: ‹ prev next ›