36

I'm looking for a simply solution to monitor all my servers and systems using a single dashboard. I want to see metrics like CPU usage, used RAM and storage to see if something is wrong.
I just set up Node-Exporter, Prometheus and Grafana but haven't found an existing dashboard that shows multiple hosts at once. Now I looked into Checkmk and Zabbix but I feel like both are a little overpowered for what I'm looking for. Do you have any recommendations?

26

I made a simple script and timer for a friend to automatically switch between light and dark theme on Plasma. In case anybody needs this.

8

I created this small script and thought it might be useful to someone else. Any feedback is welcome!

5
18

I set up Headscale and Tailscale using Docker on a VPS, which I want to use as my public IPv4 and Reverse Proxy to route incoming traffic to my local network and e. g. my home server. I also set up Tailscale using Docker on my home server and connected both to my Headscale server.
I am able to ping on Tailscale container from the other and vice versa and set up --advertise-routes=192.168.178.0/24 on my home server as well as --accept-routes on my VPS, but I can't ping local IP addresses from my VPS. What am I missing?
Both container are connected to the host network, I have opened UDP ports 41641 and 3478 on my VPS.

465
[-] dataprolet@lemmy.dbzer0.com 30 points 3 months ago

0,16 % of Germans were in actual resistance and only 24 (!) people were charged during the Nuremberg procceses. That leaves the majority of roughly 70 million German collaborateurs to be the staff of the post-war Germany.

32
submitted 3 months ago* (last edited 3 months ago) by dataprolet@lemmy.dbzer0.com to c/selfhosted@lemmy.world

I'm looking for an easy way to upload files from my Android smartphone to my home server. is there a - ideally dockerized - solution for that? Some simple web GUI where I can click on "Upload" and the files will be saved to a certain directory on my home server?

EDIT: I should've added that I want to do this remotely and not in my local network. I want to be able to send files from my Android smartphone from anywhere via the internet to my home server. That's why I thought about a services hosted on my server, which frontend I could access through my smartphone. But I might've answered my question already with the following: https://github.com/zer0tonin/Mikochi

EDIT #2: Thanks guys, I ended up creating my own Docker container running nextcloudcmd inspired by this: https://github.com/juanitomint/nextcloud-client-docker But I built the container from scratch and it's very minimalistic. I can publish it on my Gitlab when it's somewhat ready. Here's a little preview.

Dockerfile

FROM alpine:latest
RUN apk update && apk add nextcloud-client
COPY nc.sh .
RUN chmod +x ./nc.sh
VOLUME /data
CMD ./nc.sh

nc. sh (How can I prevent automatic hyperlinking?)

#!/bin/sh
while true
do
        nextcloudcmd /data https://${username}:${passwort}@${nextcloud-domain}
        sleep 300
done
[-] dataprolet@lemmy.dbzer0.com 48 points 3 months ago

The saddest is that it's children who probably had no clue and no way of deciding.

12

I followed this tutorial to create local certificates for my home server, but now it failed to renew automatically and I have no clue waht to do. Can anybody assist me in debugging, please? https://notthebe.ee/blog/easy-ssl-in-homelab-dns01/

I'm using duckdns.org, added mydomain.duckdns.org and the local IP of my home server. In Nginx-Proxy-Manager I have created the respective wildcard certificate. The log of my NPM container reports the following:

[3/10/2024] [1:55:50 PM] [SSL      ] › ℹ  info      Renewing Let'sEncrypt certificates via DuckDNS for Cert #6: *.mydomain.duckdns.org, mydomain.duckdns.org
[3/10/2024] [1:55:50 PM] [SSL      ] › ℹ  info      Command: certbot renew --force-renewal --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-6" --disable-hook-validation --no-random-sleep-on-renew 
[3/10/2024] [1:55:50 PM] [Global   ] › ⬤  debug     CMD: certbot renew --force-renewal --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-6" --disable-hook-validation --no-random-sleep-on-renew 
[3/10/2024] [1:55:53 PM] [Express  ] › ⚠  warning   Saving debug log to /tmp/letsencrypt-log/letsencrypt.log
Failed to renew certificate npm-6 with error: The DNS response does not contain an answer to the question: mydomain.duckdns.org. IN TXT
All renewals failed. The following certificates could not be renewed:
  /etc/letsencrypt/live/npm-6/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
24

65

I noticed my home servers SSD running out of space and it ended up being my Jellyfin Docker container which wasn't clearing the directory for transcodes in /var/lib/jellyfin/transcodes correctly.

I simply created a new directory on my media hard drive and bind mounted the above mentioned directory to it. Now Jellyfin got over 1 TB of free space to theoretically clutter. To prevent this I simply created a cronjob to delete old files in case Jellyfin isn't.

@daily /usr/bin/find /path/to/transcodes -mtime +1 -delete

Easy!

24
submitted 4 months ago* (last edited 4 months ago) by dataprolet@lemmy.dbzer0.com to c/selfhosted@lemmy.world

I got a bunch of self-hosted stuff and use a VPS that has a public IPv4 to access my services because my home network has only DS-Lite. My home server ist connected to the VPS using Wireguard.
Now I want to connect my Smartphone to my VPN to be able to access some local services remotely. I'm able to add a second peer to the Wireguard config on the VPS, but I'm struggeling to configure the AllowedIPs correctly.
The VPS apparently needs AllowedIPs 10.0.0.0/24 and 192.168.178.0/24, but the Smartphone as well for both to redirect request into my home network. But it's not possible to configure the same IP ranges for two peers. What do I do?

EDIT: Solved: https://iliasa.eu/wireguard-how-to-access-a-peers-local-network/

18
submitted 4 months ago* (last edited 4 months ago) by dataprolet@lemmy.dbzer0.com to c/selfhosted@lemmy.world

I'm running Jellyfin in Docker in my home server for movies and shows. I recently added a music directory and apparently after that I'm getting almost hourly notifications from my Uptime-Kuma instance connected to Gotify that Jellyfin is down with status code 502. It's quickly up again, but I'm wondering what's causing this.
I have Nginx Proxy Manager configured for a local and a public domain pointing to my Jellyfin instance.
Any idea what could be causing this?

[-] dataprolet@lemmy.dbzer0.com 39 points 4 months ago

One reason is probably that people don't know about them.

[-] dataprolet@lemmy.dbzer0.com 43 points 4 months ago

Repeat after me: it's not only about installing, but also about maintaining your system!

[-] dataprolet@lemmy.dbzer0.com 35 points 4 months ago

85 % probably have outdated firmware.

[-] dataprolet@lemmy.dbzer0.com 39 points 7 months ago

It's not only software vendors but Wayland itself lacks some crucial features. For me it's auto-type and screen magnification - both are showstoppers for me.

[-] dataprolet@lemmy.dbzer0.com 101 points 8 months ago

Very telling that people seem to confuse terrorists mass-murdering civilians with the struggle of the Palestinian people.

[-] dataprolet@lemmy.dbzer0.com 41 points 10 months ago

Crypto is still a huge scam and waste of energy without any actual use-case, regardless of any privacy-issues!

[-] dataprolet@lemmy.dbzer0.com 153 points 10 months ago

In Switzerland you get unlimited 10 Gbit/s for 50 bucks.

[-] dataprolet@lemmy.dbzer0.com 83 points 10 months ago

I'm quite amazed that the majority of people here simply take Madison's allegations seriously and don't pull the usual misogynistic bullshit.

[-] dataprolet@lemmy.dbzer0.com 33 points 10 months ago

It's one torrent that's not safe. That doesn't make the entirety of the website unsafe!

view more: next ›

dataprolet

joined 1 year ago
MODERATOR OF