Skip Navigation

Search

DAS filepath autoincrements up each time I reboot

I have a Qnap DAS. It is set up in a raid5 configuration. The problem is that each time I reboot my machine (ubuntu 24.04 LTS), the path of the DAS will auto-increment up by one.

For example the path will automatically go from media/raid57/medialib to media/raid58/medialib. That means I need to manually redo all file paths and then re-scan my entire media library for Jellyfin, each time I reboot my machine (which is like 2-3 times a month).

It is getting pretty annoying and I'm wondering if someone knows why this happens and what I can do to fix it.

6

I can't make Radarr's hardlink work

Hello! I have jellyfin+qbittorrent+radarr on my home server, but I can't make it work with hardlinks. When a download finishes, it just copies it to the /movie folder, doubling the disk space. at least, I think that it's just a copy, because the disk space is double and find ./downloads -samefile ./movies/path/to/file.mkv returns no result, meaning if I understand correctly that file.mkv is not hardlinked to any file in the download folder (but it should).

this is the docker compose: yml radarr: image: lscr.io/linuxserver/radarr:latest container_name: radarr network_mode: container:gluetun environment: - PUID=1000 - PGID=1000 - TZ=Europe/Rome volumes: - ./radarr-config:/config - /media/HDD1/movies:/movies - /media/HDD1/downloads:/downloads restart: unless-stopped HDD1 hard drive is formatted ext4, that supports hardlinks (in fact I can create them manually), and in the radarr settings the checkbox "use hardlinks instead of copy" is checked.

Ideally I'd prefer softlinks instead of hadlinks, but I don't think there's a way to do it natively, I think I'd need an external script

Any tips? Thanks in advance!

5

NPM Stream based on domain?

I set up Nginx Proxy Manager, and one of my services I want to serve is my Jellyfin which is hosted on another machine. Instead of Proxying the stream though, it'd be easier on the network to use the Nginx Stream module for facilitating that, I would expect.

The issue I'm facing is it seems like the only way to set up Nginx Stream is based on port, rather than by domain, and if I want to do it based on domain, I'd be proxying the data instead.

Is there any way to Stream to my Jellyfin rather than Proxying?

Thanks!

2

Which modules for BTRFS or ZFS setup with Ansible?

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.

3

Moving Hardware RAID drives between x3650 servers

Hi all,

I have two servers - one is an IBM System x3650 M3 that I’ve been using for a while and the other is an x3550 M5 that I would like to move everything to. I have 6 drives which I think were configured as RAID 1 on hardware level. (MegaRAID, I think)

Is there a way that I can “just move” the drives from the old to the new - and just let it boot and continue where it left off - without making a mess of things or would that just screw up the RAID configuration?

I’ve been searching for answers, even asking ChatGPT (lol) for some answers but can’t seem to find any concrete answers.. All the data is backed up but I’m worried that I’ll spend days (trying to remember how to) reconfigure everything if something goes wrong.

Anyone has experience with anything like this?

2

Pfsense Routing OPT1 to Use Wireguard Interface / Gateway

Hey guys.

Having a bit of a headache trying to get wireguard working properly through my pfsense router.

Configuration overview: VPS wireguard server set to forward all traffic from peers (it's operating as a self-hosted VPN). I have a port on my router we'll call OPT1 that I want to traffic all connections through wireguard to the VPN.

So far I have the VPS and pfsense connected successful through wireguard. They are making active handshakes and I can ping between them perfectly fine.

I followed the documentation, but my windows PC connected directly to OPT1 can't access the internet. From the PC I can ping the DHCP server of OPT1 as well as the wireguard tunnel, but I can't ping anything outside of that. I'm passing all traffic from OPT1 subnet to the wireguard interface in both OPT1 firewall rules and the wireguard interface rules.

I'm sure many of you have dealt with this configuration before. Does this issue sound familiar?

2

How do I bridge my VM to my LAN ? (Cockpit on Fedora Server)

So, I have a Home Assistant VM that I need to bridge to my LAN, it’s network interface “vnet1” is a member of bridge0, I tried adding eno1 (Host NIC) to bridge0 but I lose LAN access to my server. How should I do it ?

1

Sound proofing and cooling server cabinet

Hello :)

If you don't want to read everything just jump to the target state/help section below :)

___

Introduction

Roughly a year ago, I got my hands on a used but good quality 20U server cabinet. Since then, despite containing my running home server and my network gear, it remained in a quite unfinished state on my parent's attic. In the near future, it could appear that I have to share my home office/gaming room with it (so several hours a day). Therefore, I would like to implement proper sound (and dust) proofing measurements and cooling. Sadly, I am not that knowledgeable about server hardware and accessory yet, so I seek help here :)

___

Current state

Right now, the cabinet contains the following devices:

  • Router/modem (passively cooled)
  • Managed switch (passively cooled)
  • Home server with four hard disks running all my services

The bottom is open.

!

On top, there are four mounting slots for 120mm fans. Currently, just one is installed and not being used.

!

On top and at the bottom in the rear area, there are openings for the in- and outgoing cables which are not covered at the moment. They are 52 cm wide.

!

___

Target state/help

(It might be important for availability of parts or material: I am in Germany.)

Devices

In the future, the cabinet should contain the following devices:

  • Old router as modem (passively cooled)
  • Dedicated router/firewall device (OPNsense/pfsense, passively cooled)
  • Managed switch (passively cooled)
  • At least four clustered thin clients (I have four Fujitsu Futro S920 lying around, passively cooled)
  • Dedicated file server with at least twelve hard disks (actively cooled)
  • UPS

I assume only the file server will generate noticeable noise while the rest will generate only heat.

Open bottom

For the open bottom I assume a plain plywood board with openings for four 4-pin 120mm fans (or two bigger fans - less RPM, less noise?) as intakes and magnetic strips at the bottom for dust filters will suffice, am I correct there? Are there better alternatives?

Top fans

For the top, I would install four 4-pin 120mm fans as exhausts. Do you have recommendations for these? Else I would go for known brands as Noctua or bequiet! and compare noise levels.

Fan controller

I have to admit that I never had a fan controller in my hands and have little knowledge about them. Do you have recommendations for a controller for six or eight 4-pin fans? As I looked them up online, I mostly found controller which seems to be intended for desktops, not server cabinets. And when i got one, do I put it on a shelf in the server cabinet or could I mount it on a rail on the side of the cabinet?

!

Cable ducts

I am completely clueless how covers for these cable ducts are properly called. I looked up several combinations of the words "dust", "cover", "server", "cable", and so on and didn't find what I was looking for. As mentioned above, the ducts are roughly 52x6cm. As I got the cabinet, there were pretty nasty foaming and glue residue which I had to scrub off. Are there covers with bristles or foaming to cut into the right size that that help against dust and noise?

Further sound proofing

Would it be a good idea to sound proof the inner sides with some kind of padding or other kind of non-flammable sound damping insulation material?

___

Sorry for the long post! I appreciate every hint and tip :)

Have a great day!

6

How to solve identic DNS address from router through wireguard vpn

So I'm currently away from home and now I'm using the internet from another router.

My problem is that I can't access my services because the default DNS from this router is 192.168.1.1 and the DNS that I use to access my services through wireguard is also 192.168.1.1

The wireguard service comes from my own router using Opnsense and I have setup unbound+Adguard DNS as 192.168.1.1 by default so I don't know how can I solve this problem

I tried setting my computer to listen to 1.1.1.1 when connected to this wifi but when I enable my wireguard it still doesn't connect to my services I also tried enabling my Adguard to listen to All interfaces so it would enable the IP 10.50.50.0 as a DNS but I don't know much about Opnsense so it also didn't work when I changed the wireguard config file to listen to 10.50.50.0

My wireguard tunnel IP is set to 10.50.50.&& when connected to my router and the default IP when connected directly at home is the 192.168.1.&&

My phone can connect to the wireguard normally even when connected to this wifi

Does anyone had also this same problem as me could help me a little? Thank you. Sorry for the bad english

[Conclusion] i went looking into the wireguard subreddit for a smillar problem as mine and found that if the outside router uses 192.168.1.1 as the default gateway & dns when trying to connect to my tunnel ip the browser will search on the main router instead of my wireguard tunnel. I'm going to need to change my ip addresses to another ip instead of the default 192.168 Post

9

Dropped connections to VM with multiple interfaces.

I'm not sure where to start with to troubleshoot this. I segregated my network into a few different VLANs (servers, workstations, wifi, etc...). I have VMs and LxC containers running in Proxmox, routing is handled by Opnsense, and I have a couple tplink managed switches. All of this is working fine except for 1 problem.

I have a couple systems (VM and LxC) that have interfaces on multiple VLANs. If I SSH to one of these systems, on the IP that's on the same VLAN as the client, it works fine. If I SSH to one of the other IPs it'll initially connect and work but within a minute or so the connection hangs and times out.

I tried running ssh in verbose mode and got this, which seems fairly generic:

debug3: recv - from CB ERROR:10060, io:00000210BBFC6810 debug3: send packet: type 1 debug3: send - WSASend() ERROR:10054, io:00000210BBFC6810 client_loop: send disconnect: Connection reset debug3: Successfully set console output code page from 65001 to 65001 debug3: Successfully set console input code page from 65001 to 65001

I realize the simple solution is to just use the IP on the same subnet, but my current DNS setup doesn't allow for me to provide responses based on client subnet. I'd also like to better understand (and potentially) solve this problem.

Thanks

4

Backing up Nextcloud with Duplicati (Docker)

I would like to back up my nextcloud data using duplicati, but I absolutely can‘t figure out how to give Duplicati access to the Nextcloud volume. Both are running fine in separate Docker containers. I can’t figure out how to properly mount the volume, below is my current compose for duplicati. Do I need to mount the volume as source? Does it need to be declared or mapped separately?

--- version: "2.1" services: duplicati: image: lscr.io/linuxserver/duplicati:latest container_name: duplicati environment: - PUID=1000 - PGID=1000 - TZ=XXX - CLI_ARGS= #optional volumes: - /path/to/appdata/config:/config - /path/to/backups:/backups - /path/to/source:/var/lib/docker/volumes/073ac2751cd65ffd84750e578c38482905c3c7e4851a8cbb0bbbc5c33a285e84 ports: - 8200:8200 restart: unless-stopped

16

Cloudflare Zero Trust WebDAV Access

lemmy.ml zero trust webdav access help - Lemmy

I’m trying to secure a WebDAV server behind Cloudflare using Google OAuth. This works great in a web browser, but I need our users to natively mount the WebDAV share to their local Mac/Windows/Linux desktops as a mounted network volume, and I haven’t figured out a way to accomplish this. I’m hoping ...

(crossposted from c/Cloudflare on lemmy.ml) The Cloudflare community doesn't appear to be active yet, so I was hoping some fellow self-hosters might have a good suggestion. Thanks in advance for any and all suggestions!

https://lemmy.ml/post/3723540

0

ELI5 How do I setup TrueNAS Scale and installed apps to be remotely accessible?

To be clear I'm a beginner and I'm a bit overwhelmed with all the information I found and not completely sure if the information I found is up to date or outdated and I figured I would just ask here to get some clear answers.

What I want to achieve:

  • have TrueNAS Scale web GUI and installed apps like Nextcloud or Photoprism be remotely accessible
  • have that remote access be secure
  • use my registered domain instead of the IP address of my server to access the TrueNAS Scale web GUI and the installed apps
  • don't have certificate warnings when accessing all this over HTTPS

Can someone explain to me how I achieve this or point me to a guide that walks me through it? I appreciate any help I can get.

I already managed to setup Tailscale and managed to access my server through that but then I got stuck on how to set it up to use my registered domain name to access the server.

So the next thing I tried was using the DynDNS of my Fritzbox but unfortunately it seems that Cloudflare (where I have registered my domain) does not provide a "update url" which the Fritzbox DynDNS GUI requires to set it up. This was to use it in combination with port forwarding and Wireguard (this is the guide I was following: https://www.wundertech.net/how-to-set-up-wireguard-on-truenas-scale/)

I also found this guide: https://notthebe.ee/blog/easy-ssl-in-homelab-dns01/ but that's for servers without TrueNAS and I don't think I'm experienced enough to transfer it and apply it to TrueNAS.

So yeah, I'm overwhelmed by information and I need help.

3

Redeploy Portainer Edge Agent without losing config?

cross-posted from: https://lemmy.procrastinati.org/post/27277

> According to the documentation to change the Portainer address and Edge agent talks to, you have to redeploy the Edge agent. If I understand properly this is going to assign the agent a new ID and will blow away the configuration. > > Does anyone know how to do this while retaining the stack configurations?

0

vaultwarden+cloudflared with docker compose

I'm used to cloudflared CLI, and would prefer to keep the config files server-side.

My docker-compose.yml file is:

YAML version: '3.9' services: vaultwarden: image: vaultwarden/server:latest container_name: vaultwarden restart: always environment: - WEBSOCKET_ENABLED=true volumes: - ./vw-data:/data tunnel: container_name: cloudflared-tunnel image: cloudflare/cloudflared restart: always command: tunnel --config /etc/.cloudflared/config.yml run volumes: - ./cloudflared:/etc/.cloudflared

My config.yml is: ```YAML tunnel: [tunnelid] credentials-file: /etc/.cloudflared/[tunnelid].json ingress:

  • hostname: [mydomain] service: http://localhost:80
  • service: http_status:404 ```

I've noticed online people setting an env variable TUNNEL_TOKEN, but since I'm using self-hosted files, my token is a cert.pem.

Another issue however is that when I run this and try to browse to the page, I get the error ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 127.0.0.1:80: connect: connection refused.

Any assistance would be beloved ♥

6

How can I self host services (eg, a website, lemmy instance, vpn) on my own hardware while hiding my IP?

(I asked this on r*ddit a long while ago, but I don't think I explained myself properly)

Basically, I would like to host a few services on my own metal (and not anywhere else in the world!) to play around with and learn, like my personal site, lemmy instance, vpn, fdroid, image host, etc etc.

I would also like to hide my public IP address because I don't want people who connect to me to know my location (even if it's rather coarse).

I know that this isn't possible without at least another server in a different physical location, but I really have no idea how to approach this. What software do I run? What is this action called? What do any of these AWS/Azure service names mean? How much would I realistically need to pay? Etc etc.

Anyone have any pointers?

26