1
73
submitted 11 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
5
submitted 1 week ago by [email protected] to c/[email protected]

This is a bit of an odd one,

I have just moved to another country where internet is very expensive, and i would like to have an app to create a shared list of Wifi creds where i find them, whether that is offices, hotels or cafes, etc.

It would kind of be like the OpenWifi Map, but maybe a bit more private?

Does anyone know of anything like this? it would be able to tell where you are and alert you or autoconnet to the wifi using the credentials that are stored.

The reason i want it to be shared is that my wife can use the ones that i find and vice-versa.

cheers

3
4
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

I'm hoping someone can help me figure out what I'm doing wrong.

I have a VM on my local network that has Traefik, 2 apps (whomai and myapp), and wireguard in server mode (let's call this VM "server"). I have another VM on the same network with Traefik and wireguard in client mode (let's call this VM "client").

  • both VMs can can ping each other using their VPN IP addresses
  • wireguard successfully handshakes
  • I have myapp.mydomain.com as a host override on my router so every computer in my house points it to "client"
  • when I run curl -L --header 'Host: myapp.mydomain.com' from the myapp container it successfully returns the myapp page.

But when I browse to http://myapp.mydomain.com I get "Internal Server Error", yet nothing appears in the docker logs for any app (neither traefik container, neither wireguard container, nor the myapp container).

Any suggestions/assistance would be appreciated!

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

Edit: Solution is in Nginx I disabled these: Cache Assets, Block Common Exploits, Websockets Support.

I can login using the local IP 192.168.1.2:9101, but when I route that with Nginx, It won't.

I have the GUI listen address as : 0.0.0.0:9101

I've been googling for hours but I can't find anything, In browser console it says

Failed to load resource: the server responded with a status of 403 ()
syncthing.my.domain.com/:1  Refused to execute script from 'https://syncthing.my.domain.com/meta.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
5
3
submitted 1 week ago by [email protected] to c/[email protected]

cross-posted from: https://lemmy.dbzer0.com/post/19310012

Hello,

I need some help here. I've been trying to write my own Ansible playbook to setup my homeserver. The storage devices on this server are 1 NVMe SSD and 2 HDDs which I want to setup as a mirror. I want to setup all storage devices as either BTRFS or ZFS but I'm having trouble finding the correct modules to use in Ansible for this.

I have also found some roles in Ansible Galaxy but those are either not explained enough for me to use and seem overwhelming to use (especially in comparison to the terminal commands that are needed to setup the BTRFS volumes or ZFS pools). But just using the builtin command module in Ansible somehow feels wrong and not the right way to go about this.

Can someone point me in the right direction? Right now I think I will prefer using BTRFS.

6
3
Proxmox Disk Performance Problems (lemmy.procrastinati.org)
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

I've started encountering a problem that I should use some assistance troubleshooting. I've got a Proxmox system that hosts, primarily, my Opnsense router. I've had this specific setup for about a year.

Recently, I've been experiencing sluggishness and noticed that the IO wait is through the roof. Rebooting the Opnsense VM, which normally only takes a few minutes is now taking upwards of 15-20. The entire time my IO wait sits between 50-80%.

The system has 1 disk in it that is formatted ZFS. I've checked dmesg, and the syslog for indications of disk errors (this feels like a failing disk) and found none. I also checked the smart statistics and they all "PASSED".

Any pointers would be appreciated.

Example of my most recent host reboot.

Edit: I believe I've found the root cause of the change in performance and it was a bit of shooting myself in the foot. I've been experimenting with different tools for log collection and the most recent one is a SIEM tool called Wazuh. I didn't realize that upon reboot it runs an integrity check that generates a ton of disk I/O. So when I rebooted this proxmox server, that integrity check was running on proxmox, my pihole, and (I think) opnsense concurrently. All against a single consumer grade HDD.

Thanks to everyone who responded. I really appreciate all the performance tuning guidance. I've also made the following changes:

  1. Added a 2nd drive (I have several of these lying around, don't ask) converting the zfs pool into a mirror. This gives me both redundancy and should improve read performance.
  2. Configured a 2nd storage target on the same zpool with compression enabled and a 64k block size in proxmox. I then migrated the 2 VMs to that storage.
  3. Since I'm collecting logs in Wazuh I set Opnsense to use ram disks for /tmp and /var/log.

Rebooted Opensense and it was back up in 1:42 min.

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

Looking for a self hosted YouTube front end with automatic downloader. So you would subscribe to a channel for example and it would automatically download all the videos and new uploads.

Jellyfin might be able to handle the front end part but not sure about automatic downloads and proper file naming and metadata

8
2
submitted 1 week ago by [email protected] to c/[email protected]

Hey, I'm in the way of building my homelab already thinking of some apps to run on it... Truenas in a VM, a Debian VM to run docker. And on this point, do you a have some docker apps recommandations? Write down all the apps that worth looking at them 👇👇

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

I recently learned about Home Assistant here on Lemmy. It looks like a replacement for Google Home, etc. However, it requires an entire hardware installation. Proprietary products just use a simple app to manage and control devices, so can someone explain why a pretty robust dedicated device is necessary as a replacement? The base model has a quad core processor, 4 gigs of ram, and a 32 gig hard drive. Admittedly it's no gaming PC, but it's no arduino either.

What actually happens when I turn on a smart switch in my home? Does that command have to be sent to a server somewhere to be processed? What really has to be processed, and why can't a smartphone app do it?

Edit: I am still getting new replies to this (which are appreciated!), but I wanted to share what I've learned from those who have posted already. I fundamentally misunderstood how smart switches work. I had very wrongly assumed that when my phone is connected to the WiFi, it sends a signal over the local network to toggle the switch, which is connected to the same network, and it turns on/off. While there are technologies that work like this (zigbee, kinda?), most smart home devices rely on a cloud server to communicate the signal. This enables features like using the switches from outside the home network, automation, voice controls, etc. The remote server is what's being replaced.

10
15
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

I spent all day today trying to get the routing to work correctly between Tailscale, Nginx and Adguard.

Basically I wanted to be able to be able to use **http://immich.network ** to route to 192.168.1.2:9000

I wanted to share the steps I took so people don't have to go through what I did.

First a few things Local Server IP: 192.168.1.2

  1. I installed Ngnix and Adguard, in a Docker Containers, and gave Adguard IPs 3000, 3001 instead of 80 and 443 because Ngnix took it.
  2. I went to my router and made it use the DNS: 192.168.1.2
  3. I configured Proxy Host in Ngnix ..... immich.network => 192.168.1.2:9000
  4. I configured DNS rewrite in Adguard .... *.network => 192.168.1.2

At this point I was able to use http://immich.network finally. I installed Tailscale to be able to access when I'm outside but http://immich.network didn't work.

These helped me https://tailscale.com/kb/1019/subnets + https://tailscale.com/kb/1054/dns?q=global+nameserver

  1. I created a subnet..... tailscale up --advertise-routes=192.168.1.0/24
  2. I approved it on Tailscale login

At this point I was able to access home server using its local IP 192.168.1.2 but I couldn't get http://immich.network to work.

  1. I created a nameserver dns with split DNS but I used my local ip.. 192.168.1.2 => network

Finally everything is working.. I have a feeling that I'm doing it wrong but I'm too tired and it's finally working.

11
1
submitted 1 week ago by [email protected] to c/[email protected]
12
2
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]

Minimalist and opinionated feed reader

13
2
submitted 1 week ago by [email protected] to c/[email protected]

Just thinking of ditching nextcloud and its just too much for my family use. All i needis carddav, caldav and file sync. Have a Debian VM running on Scale and was thinking of using Cloudron docker install. Is this the way others are installing on VMs?

14
0
submitted 1 week ago by [email protected] to c/[email protected]

Does anyone know of any alternatives to hoppy.network? I can't seem to find any other services that do what Hoppy does. (Hoppy uses wireguard to assign publicly-accessible static IPv4 and IPv6 addresses to devices)

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

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

Image 1

Image 2

Image 3

Image 4

Image 5

Image 6

Image 7

Image 8

Image 9

Image 10

Image 11

Image 12

Image 13

Image 14

Image 15

Image 16

Image 17

Image 18

16
1
submitted 1 week ago by [email protected] to c/[email protected]

For self-hosting though, the project I work on - Snikket - uses XMPP but has all the nice modern things you'd expect ready to go right out of the box, more like a Matrix (Synapse/Element) setup. Probably the biggest thing missing for Snikket right now is an official web app (we currently have Android and iOS apps).

My personal feeling is that if you're looking for something a bit more extensive, "team chat" style (such as Discord, Slack, that kind of thing), you're better served by Element right now. However if you're looking for something lightweight and simple for personal messaging in a group of family/friends (e.g. to replace WhatsApp/Telegram/Signal) then XMPP via Snikket is a great choice.

  • The above is copied from someone else. Anyone have any experience running this for family / friends?
17
1
submitted 1 week ago by [email protected] to c/[email protected]

So, the issue at hand is, I have a Chromecast 4K with Jellyfin Android TV on it. And most of my library is x265/HEVC. But, whenever playing from this specific device, it will natively take HEVC, but with exoplayer library it plays kinda like a slideshow, at about 5-10FPS. Choosing VLC should be ok, and forcing a transcode will result in a perfectly playable x264 at 24-30-60FPS or whatever is needed. But x265 with the default exoplayer seems to be a struggle. Is there a way either in Jellyfin Android TV or in the server, to specifically disable x265 playback, but only on this device?

18
2
submitted 1 week ago by [email protected] to c/[email protected]

Funkwhale - A platform for all your audio

19
0
submitted 2 weeks ago by [email protected] to c/[email protected]

I recognize this will vary depending on how much you self-host, so I'm curious about the range of experiences from the few self-hosted things to the many self-hosted things.

Also how might you compare it to other maintenance of your other online systems (e.g. personal computer/phone/etc.)?

20
1
submitted 3 weeks ago by [email protected] to c/[email protected]

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

21
1
submitted 3 weeks ago* (last edited 3 weeks 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

22
1
submitted 3 weeks ago by [email protected] to c/[email protected]

Veeble | Webdock | Milesweb | Cloudfanatic | Time4vps | Hetzner | Vpsdime | Zap-hosting I'm looking for cheap VPS options. I'm trying to run Syncthing, a caldev server and maybe a searXng instance as well. Also what would be the catch with cheap VPS providers?

23
1
submitted 3 weeks ago by [email protected] to c/[email protected]

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

Hello all you lovely people!

I'm trying to figure out if I can port forward to different servers based on the destination domain.

I have a domain with a wildcard cert and I'd like to be able to route all traffic headed towards "1.domain.com" to a server I'm calling "1". I'd still like traffic headed to domain.com to go to where it's currently going, we can call this server "0", and to be able to have a 2.domain.com or 3 or 4 in the future.

I thought that having a port forward rule with: interface: WAN Protocol: any source: any destination: a url alias including 1.domain.com redirect target ip: local ip

Would work, but it doesn't seem to. Any tips?

24
1
submitted 3 weeks ago by [email protected] to c/[email protected]

I’m trying to improve the power consumption of my NAS. The 2 (7200 rpm) HDDs I had were using 15W at idle and 5W when spun down. I’m reading a lot of conflicting information about what is lower power between HDD, SSD and NVMe SSD. Eventually I started looking at SATA SSD (please let me know if this is not the most power efficient)

I found this site that shows a benchmark of different SSDs and their average power consumption. I was about to go with WD Red but then I found a YouTube video saying I shouldn’t go with WD for a NAS.

Can you tell me what brand or model you’re using in your homelab that’s power efficient? Ideally I would like 4TB SSD.

Thanks!

25
1
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]

I have been exploring the world of home servers/self-hosting for a little over a year now, and feel like I have at a decent understanding of a lot of things that go into this. The one thing I am not remotely comfortable with yet is networking. It's like a foreign language to me.

What are some good resources or projects that I could work on to help me develop a better understanding of this? Or, what helped you advance your networking knowledge? I have an UnRaid machine and a Raspberry Pi 4 (8gb) at my disposal (for any project recommendations). Current router is ISP provided, so nothing fancy.

view more: next ›

Selfhosted

36370 readers
45 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 11 months ago
MODERATORS