!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

891 Members
Declaratively manage your switching, routing, wireless, tunneling and more.259 Servers

Load older messages


SenderMessageTime
3 Aug 2025
@x10an14:matrix.orgx10an14*SSL certs19:53:13
@x10an14:matrix.orgx10an14** tested19:53:29
@magic_rb:matrix.redalder.orgmagic_rb

Can you send the output of:

  1. systemctl show nginx | grep -E 'User|Group' (hopefully i got this right, if not, you know what i meant)
  2. ls -lah /persist/var/lib/tailscale/certs
22:03:45
@x10an14:matrix.orgx10an14
In reply to @magic_rb:matrix.redalder.org

Can you send the output of:

  1. systemctl show nginx | grep -E 'User|Group' (hopefully i got this right, if not, you know what i meant)
  2. ls -lah /persist/var/lib/tailscale/certs
Sure, both of these are in the paste link though
22:09:31
@x10an14:matrix.orgx10an14

Here you go:

[2025-08-04 00:10:54] 0 x10an14@nas-2024:~/Documents/sr.ht/nix-configs
-> $ systemctl show nginx | grep -Ei '(user|group)=' && sudo ls -lah /persist/var/lib/tailscale/certs
User=nginx
Group=nginx
DynamicUser=no
SameProcessGroup=no
total 40K
drwxr-xr-x 2 root  root     7 aug.   3 20:29 .
drwx------ 4 root  root     9 aug.   3 20:29 ..
-rw------- 1 root  root   227 aug.   3 20:29 acme-account.key.pem
-rw-r--r-- 1 nginx nginx 2,9K aug.   3 20:29 cert.pem
-rw------- 1 nginx nginx  227 aug.   3 20:29 key.pem
22:11:27
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @x10an14:matrix.org
Sure, both of these are in the paste link though
oh are they? sorry 😅
22:14:40
@magic_rb:matrix.redalder.orgmagic_rb okay then, try to debug it by becoming nginx :P do nix shell nixpkgs#runit and then chpst -u nginx:nginx bash then try to access it yourself 22:15:50
@magic_rb:matrix.redalder.orgmagic_rbif youre able to repro it from a shell its easier to debug22:15:59
@x10an14:matrix.orgx10an14
In reply to @magic_rb:matrix.redalder.org
if youre able to repro it from a shell its easier to debug
Gimmie 10min =)
22:16:33
@magic_rb:matrix.redalder.orgmagic_rbim going to sleep in 2 minutes :(22:16:49
@hexa:lossy.networkhexadoubt22:17:06
@magic_rb:matrix.redalder.orgmagic_rbi can help tomorrow in the eve if no-one else steps up, also over vc so that youre not typing22:17:11
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @hexa:lossy.network
doubt
oi, quiet over there
22:17:20
@magic_rb:matrix.redalder.orgmagic_rb(did i spell it right?)22:17:34
@magic_rb:matrix.redalder.orgmagic_rb(yes i did)22:17:44
@hexa:lossy.networkhexanot sure what language you were aiming for22:17:49
@x10an14:matrix.orgx10an14
In reply to @magic_rb:matrix.redalder.org
i can help tomorrow in the eve if no-one else steps up, also over vc so that youre not typing
Aight, thanks for tip, I'll try and take a gander at it =) I'll report any progress!
22:18:36
@magic_rb:matrix.redalder.orgmagic_rb:)22:18:56
@x10an14:matrix.orgx10an14
In reply to @magic_rb:matrix.redalder.org
okay then, try to debug it by becoming nginx :P do nix shell nixpkgs#runit and then chpst -u nginx:nginx bash then try to access it yourself
Managed to switch user like this, as well as triggering the same error through running the service's ExecStartPre nix store script (basically just nginx -c <conf file> -t)
22:57:38
4 Aug 2025
@entro:matrix.orgentro joined the room.12:30:12
@x10an14:matrix.orgx10an14Fixed it, it was the folder tree not having the folder read/execute permission bits set all the way down14:36:38
@magic_rb:numtide.com@magic_rb:numtide.comexactly the same issue as i had14:36:56
@x10an14:matrix.orgx10an14Now to figure out how to proxy subdomains to ports...14:36:57
@magic_rb:numtide.com@magic_rb:numtide.comalso14:36:57
@magic_rb:numtide.com@magic_rb:numtide.comhi from other account :P14:37:01
@magic_rb:matrix.redalder.orgmagic_rbhello to myself14:37:25
* @x10an14:matrix.orgx10an14 calls for doctors in white coats carrying straightjackets14:38:30
@magic_rb:numtide.com@magic_rb:numtide.com left the room.19:49:33
@marcel:envs.netMarcelIfState PR: https://github.com/NixOS/nixpkgs/pull/43104722:45:51
@hexa:lossy.networkhexaRedacted or Malformed Event22:57:35

Show newer messages


Back to Room ListRoom Version: 6