Self Hosted - Self-hosting your services.
- [Question] For running Samba on a Debian host, what's the better solution? Native, LXC container, or VM?
My environment is a (freshly installed) Debian server with ZFS pools. I would like to store files in ZFS and share them using Samba.
My question is which is better from efficiency, effort, and security (for the host) perspectives? Running it natively on the bare-metal Debian host, running it in an LXC container, or running it in a VM? Why do you think one way is better than the others? I'm pretty familiar with VMs, but don't have much experience or knowledge of containers.
This is what I'm thinking at the moment, but I would appreciate any feedback:
- Natively: no resource overhead, medium admin overhead (manual Samba configuration), least secure(?)
- LXC: small resource overhead, least admin overhead (preconfigured containers and/or reproducible configs), possibly more security than native(?)
- VM: most resource overhead, most admin overhead (not only manual configuration, but also managing virtual disk [including snapshots, backups, etc]), most secure
- Recommended operating system for self-hosting on a VPS?
Requirements:
- based on Debian GNU/Linux
- easy to install/uninstall services
Services I'm interested in:
- several crypto nodes: BTC, BCH, ETH light node (Helios), XMR, ZEC, etc.
- Nostr
- SimpleX
- xBrowserSync
- taskwarrior
- Synchthing
- Mastodon
- vdirsyncer
- Element/Matrix
Is using containers with docker/podman on plain Debian the best approach for simplicity?
Does it make sense to have more than one VPS? E.g. one for crypto nodes and another one for the rest?
- I have a Kasa HS210 3-way switchm but it has started to fail... maybe it is related to the fact that I blocked the DNS entries to tp-link servers, but every a few days it restarts it self.
I have a Kasa HS210 3-way switchm but it has started to fail... maybe it is related to the fact that I blocked the DNS entries to tp-link servers, but every a few days it restarts it self.
Do you have a recommendation of a local-only 3-way switch that is HomeAssistant friendly (and hopefully not super expensive)?
cc @selfhost@lemmy.ml @selfhosted@lemmy.world @homeassistant@lemmy.world @ironicbadger@techhub.social
- Navidrome functionality
[Cross-posted from HomeServer@lemmy.ml]
I have Navidrome set up on my home server running TrueNAS, and I've set up a few playlists there via the web interface. However, I've noticed that the android apps with OpenSubsonic support do not allow me to create playlists on them. Are there any apps with this feature (as well as local download support), or is this not supported over OpenSubsonic?
- When I open a file Jellyfin always shows "fetching additional data".
When I open a file Jellyfin always shows "fetching additional data".
Is there a way to do that before opening a file, ideally for all files?
cc @selfhost@lemmy.ml @selfhosted@lemmy.world @jellyfin@lemmy.ml
- I made a blog post about an old IBM server!
cross-posted from: https://lemmy.world/post/17048910 >Got this server for free, so I talked about it on my blog ! > > Do you guy have any ideas on what I could run or install on this thing ? (For fun of course, nothing serious!)
- [Question] What should I look for in a mini PC to upgrade
Howdy All! I've been self hosting some services on a pi 4 for a year or two now and have been fiddling with new services lately. I realized I'm pushing 60% or so of RAM and maxing out the SWAP file while fiddling with things. I currently just set up a nightly reboot as a temporary solution but I'm thinking about picking up a mini PC of some sort to replace it with, and wanted to get input from the community (Read: people smarter than me haha.)
I'm happy to hear any preferences anyone would care to share on hardware. I know obviously more RAM is key, as far as I'm aware CPU isn't super important and any recent-ish box will probably have a fine enough processor in it, and of course I'll probably end up getting a bigger external drive to hook up to it but that's not a big deal.
Also, I'm currently running docker/portainer on an OMV core, just how I learned/got into self hosting. Should I take the opportunity to learn Kubernetes or some other big boy system? I've not done alot of reading into it but I know clusters are gaining steam these days even for self hosting, would that be valuable to learn more about as a hobbyist/enthusiast/whatever? I'm fairly competent and used to have some CompTIA certs but as such I know better than to unnecessarily complicate my life lol. It sounds cool but I don't see a use case in my personal usage.
Thank y'all for your time and knowledge!
I'm currently running: Baikal, Bookstack, Bitwarden, Duplicati, Filebrowser, freshrss , Linkwarden, Apache, Navidrome, nginx, portainer, rpi-monitor, searxng, stirlingpdf, syncthing, watchtower,
I'm considering: Nextcloud, Maybe a game server or two depending on the needs?, Whatever else seems interesting, I guess :P
- Self hosting kids-friendly multiplayer games on Raspberry Pi 4
Self hosting kids-friendly multiplayer games on Raspberry Pi 4
I'm working on a little project and I would like to have some multiplayer game that I can play with the kids. Ideally they should be little kids friendly, so no doom or quake.
I tried Minecraft, bedrock but the latency over wifi (and it needs to be over wifi for my project) is really bad.
In an ideal situation, I'd like to have one or more games that \- Can be played in multiplayer mode \- Ideally you only need the browser \- Is relatively lightweight, so can be run on a Raspberry Pi with Wifi
Any suggestions besides the one I mentioned? Maybe some emulator that can be used? Thanks!
- Question about replacing/expanding a disk
Question about replacing/expanding a disk
I have a small mini pc as server similar to [1], which has a super nice small form and has an internal slot for a 2.5" ssd disk. Currently I have a 2TB SSD, but it is filling up rapidly.
My options are:
- Buy a way more expensive 8TB SSD and replace the existing one
- Buy a much cheaper 8TB HDD + enclosure and connect it via USB.
I wonder what are the pros and cons of each option. I like 1 more because the form factor of the homelab is maintained and I don't need to plug yet another thing. OTOH I'm allergic to spending money 😆 so a cheaper solution (about 4 times cheaper) is always welcome.
Maybe I'm missing a third alternative? Opinions?
- Decentralized Encrypted P2P Chat
Id like to introduce you to a decentralized chat app that works purely in the browser. Breaking away from traditional solutions that require registration and installation.
A decentralized infrastructure has many unique challenges and this is a unique approach. Ive taken previsous feedback and made updates. Its important to note, it is still a work-in-progress and provided for testing/review/feedback purposes. it would be great if you can tell me what you think.
Some of the features of the app include:
- Free
- Decentralised
- No cookies
- P2P encrypted
- No registration
- No installing
- Group messaging
- Text messaging
- Multimedia messaging
- Offline messaging (LAN/hotspot)
- File transfer
- Video calls
- Data-ownership
- Selfhosted (optional)
- Screensharing (on desktop browsers)
- OS notifications (where supported)
With no registration or installation required, its easy to get started.
- [Question] Automated CI/CD Data Snapshots
Is there a feature in a CI/CD pipeline that creates a snapshot or backup of a service's data prior to running a deployment? The steps of a ideal workflow that I am searching for are similar to:
- CI tool identifies new version of service and creates a pull request
- Manually merge pull request
- CD tool identifies changes to Git repo
- CD tool creates data snapshot and/or data backup
- CD tool deploys update
- Issue with deployment identified that requires rollback
- Git repo reverted to prior commit and/or Git repo manually modified to prior version of service
- CD tool identifies the rolled back version
- (OPTIONAL) CD tool creates data snapshot and/or data backup
- CD tool reverts to snapshot taken prior to upgrade
- CD tool deploys service to prior version per the Git repo
- (OPTIONAL) CD tool prunes data snapshot and/or data backup based on provided parameters (eg - delete snapshots after _ days, only keep 3 most recently deployed snapshots, only keep snapshots for major version releases, only keep one snapshot for each latest major, minor, and patch version, etc.)
- Syncing password between firefox clones
Syncing password between firefox clones
I use floorp at home and firefox at work and I would like to sync password between those in a self-hosted way. I saw some mozilla server code somewhere to do so, but seems abandoned.
I would prefer a native mozilla-like solution instead of installing an extension, but if nothing else, that is also an alternative... suggestions?
- Shared photo library options?
I'm starting a project along with my siblings to scan all of the family negatives, slides, and photos in an effort to preserve them.
I currently have Immich as well as Nextcloud Memories internally. That said, neither seem to be ideally suited to this task. I'm looking for a solution that would allow all siblings the option to view and upload scanned pics to the same library as we work through the shoeboxes full of memories. While Immich and Nextcloud both have account support, I can't seem to find a way to share a library amongst all accounts.
Does anyone have any recommendations for this project? I would then backup the scanned pictures on my server as well as B2 storage for redundancy and each sibling should have the option to download and backup the same library however they see fit.
I'm running an Unraid server as well as NextcloudPi on a Pi4. I also have two very basic VPSes that I rent.
I've looked at both ente.io and PiWiGo, but am currently having trouble getting either to work (still learning this selfhost stuff). I'd like to know if anyone has used either in this type of capacity before I spend more time trying to figure out what I'm doing wrong.
- Question about #restic
Question about #restic
Currently I'm backing up my personal computer on a local server and a remote repository. The easiest solution is to have a cronjob for 2 processes. However, I'm wondering if it is possible to scan the files only once and send the backup updates to both repositories instead of doing two scans... suggestions?
- [Help] How to change the ports for a Bitwarden server before installing?
The ports 80 and 443 are already used by Adguard Home. I didnt find any way to change those ports for Bitwarden.
- Gitea 1.22.0 is released | Gitea Blogblog.gitea.com Gitea 1.22.0 is released | Gitea Blog
We are thrilled to announce the latest release of Gitea v1.22.0.
- [help] could use some parts advice on building a diy nass for docker/media
hi i would like to build a media/download/nass that more expandible drive wise (needs to be able to stream media(jellyfin /use docker containers and have 3 a4 sata ports)
i currently im thinking on buying this motherboard/with built in cpu asrock-j3455-itx-mini-itx- and planning on adding cheap 16 gig ddr3 stics
the nice thing is its got 4x sata 3 ports and a m.2 for like 65 euro total
so my question is should i get one .if its still wort it .and would this work with my specified needs also what do i use as a psu /how much psu power do i need for 4 drives
and what are my exspansion options with the picie .and m2
would love to ad more sata conections trough the m.2 and pcie if posible
i kinda need a nass/media dowload pc /that has a few sata ports .and can run sonarr/prowlarr/jellyfin /qbittorent -running dietpi os /or debian
and run a few ssd/or/hd drives in raid 0 that is about it (ive have no need for drive redundancy thb it all gonna be torrented anime anyway) best leave no evidance of pireacy lol
- What Are Your Recurring Costs?
I know it's a rude question, but it's been on my mind… I'm wondering roughly what I should be expecting to outlay when I finish my set-up? So I'm assuming it includes things like domain names, hosting for backups, email providers, VPN, etc. What's a good budget to set?
- This Week in Self-Hosted (10 May 2024)selfh.st This Week in Self-Hosted (10 May 2024)
Self-hosted news, updates, launches, and a spotlight on sup3rS3cretMes5age - a one-time, self-destructing messaging service
- This Week in Self-Hosted (3 May 2024)selfh.st This Week in Self-Hosted (3 May 2024)
Self-hosted news, updates, launches, and a spotlight on Zoraxy - a reverse proxy and forwarding tool with a web interface
cross-posted from: https://lazysoci.al/post/13140041
> Biggest takeaway… congratulations to Immich and Futo!
- [Solved] Any alternative to vnstat for Windows?
cross-posted from: https://lemmy.ml/post/15121280
> preferably with a web console (not required)
Edit: I went with this as a solution for now: https://github.com/Ashfaaq18/OpenNetMeter
- [Resolved] Weird Permission Problem
This morning I was going through my usual routine of doing a docker pull and I saw that Paperless had an update. Upon checking the Github, I noticed that my version was a lot older than what's currently available. After a bit of digging, I realised that Linux Server deprecated their repository. Cool, no worries, let me switch to the new repository. I delete my Paperless and run the installer on the official repository and all was going perfectly. But I had a power cut. No worries, I go to the fuse box, reset the tripped switch and then manually pull in the Paperless directory to finish the installation. Only problem, I can't get it to work. I assume that something fucked up and so delete everything and try again. Only now, when it gets to creating the yaml files it says "no permission". I check the permissions and they're the same as everything else. Anyone got any idea of what's happening or how to fix it?
- This Week in Self-Hosted (26 April 2024)selfh.st This Week in Self-Hosted (26 April 2024)
Self-hosted news, software updates, launches, and a spotlight on Who's At My Feeder, an app for identifying bird species from camera events
- Anyone running Zoraxy v3, the reverse proxy for networking noobs?zoraxy.arozos.com Cluster Proxy Gateway | Zoraxy
A reverse proxy server and cluster network gateway for noobs
cross-posted from: https://slrpnk.net/post/8966140 Zoraxy describes itself as: > "General purpose request (reverse) proxy and forwarding tool for networking noobs. Now written in Go!".
Yet it seems to be packed with goodies and features, such as Geo-IP & Blacklist, ZeroTier controller integrated GAN, IP Scanner, Real Time Stats and even built in Uptime monitor. Addtionally, it can run via a single binary for those who don't want to rely on Docker. There is also an Unraid Template available from IBRACORP. Lastly the project is under the AGPL license 🌻
I also checked, and saw this was recommended on this community 9months ago, but didn't seem to get much attraction then. Has anyone tried this yet? It seems like a good alternative to say NGINX proxy manager and am wondering if I should switch, but wanted to hear thoughts first!
Zoraxy's Github list the following features:
Features
- Simple to use interface with detail in-system instructions
- Reverse Proxy (HTTP/2)
- Virtual Directory
- WebSocket Proxy (automatic, no set-up needed)
- Basic Auth
- Alias Hostnames
- Custom Headers
- Redirection Rules
- TLS / SSL setup and deploy
- ACME features like auto-renew to serve your sites in https
- SNI support (one certificate contains multiple host names)
- Blacklist / Whitelist by country or IP address (single IP, CIDR or wildcard for beginners)
- Global Area Network Controller Web UI (ZeroTier not included)
- TCP Tunneling / Proxy
- Integrated Up-time Monitor
- Web-SSH Terminal
- Utilities
- CIDR IP converters
- mDNS Scanner
- IP Scanner
- Others
- Basic single-admin management mode
- External permission management system for easy system integration
- SMTP config for password reset
Screenshots
- [Promoting] Gluetun: The Little VPN Client That Could
My journey with docker started with a bunch of ill fated attempts to get an OpenVPN/qBittorrent container running. The thing ended up being broken and never worked right, and it put me off of VPN integration for another year or so.
Then recently I found Gluetun…and holy fucking cow. This thing is the answer to every VPN need I could possibly think of. I have set it up with 3 different providers now, and it has been more simple and reliable than the clients made by the VPN providers themselves every time.
If you combine the power of Gluetun with the power of Portainer, then you can even easily edit settings for your existing containers and hook them up to a VPN connection in seconds (or disconnect them). Just delete the forwarded ports in the original container, select the Gluetun container as the network connection, and then forward the same ports in Gluetun. Presto, you now have a perfectly functioning container connected to a VPN with a killswitch.
So if any of y’all on the high seas have considered getting more serious about your privacy, don’t do what I did and waste a bunch of time on a broken container. Use Gluetun. Love Gluetun. Gluetun is the answer.
- [Question] Why is Matrix mentioned more often than XMPP in self hosted forums?
I'm looking into hosting one of these for the first time. From my limited research, XMPP seems to win in every way, which makes me think I must be missing something. Matrix is almost always mentioned as the de-facto standard, but I rarely saw arguments why it is better than XMPP?
Xmpp seems way easier to host, requiring less resources, has many more options for clients, and is simpler and thus easier to manage and reason about when something goes wrong.
So what's the deal?
- [Question] TV consumption SBC's
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?
- [Question] Self-hosting small snippets of text, like for Discord or similar?
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.
- [Question] Are there any Twitter/X mirroring bot that I could self host.
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.
- Do you run anything on a RISC-V processor?
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?
- [Solved] Why cant I find my own (newly created) lemmy instance?
Does someone know how to get listed? I configured the admin settings to be a public instance AFAIK...
- Materialious - A modern interface for Invidious
For the last month I've been working on a modern, material you interface for Invidious.
Github (Leave a star if you want)
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.
- [Question] Resizing Proxmox local / local-lvm?
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?
- Self Host Intranet Email
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!
- Self-hosted video channel
I want to mirror my YouTube channel somewhere. Im looking for something like PeerTube but only for a single channel. Does that exist?
- [Solved] Opening home server to the Internet via IPv6
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. - Sbc for print and scan server
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)