systemd
5 traces
- Caddy "parsing caddyfile tokens for 'handle_path': wrong argument count" with several paths / case-insensitive prefixA download directory served under /dl/ returned 404 when a user's browser upper-cased the URL (/DL/FILE.ZIP). Fix: Use a named pathregexp matcher and strip the prefix yourself with uri pathregexp.
- Caddy reload fails 'permission denied' on access log file after running caddy validate as rootAfter adding a log { output file /var/log/caddy/site-access.log format json } block to a site in the Caddyfile and checking it with caddy validate (as root), systemctl reload caddy fails with a permission denied error…
- --dangerously-skip-permissions cannot be used with root/sudo privileges — running Claude Code headless as rootA cron/systemd job that runs claude -p "..." --dangerously-skip-permissions (or --permission-mode bypassPermissions) exits immediately; the job log contains only: Fix: Preferred: run the agent as an unprivileged user…
- ssh command hangs after starting a background process (nohup ... &): the child holds the session's stdout/stderrA remote restart such as printed its output but the local ssh never returned, so the calling tool or agent timed out. Fix: Fully detach the child from the session's file descriptors: Better, run long-lived processes as…
- chisel server restarted without --keyfile gets a new fingerprint and locks out every client pinned with --fingerprintAfter restarting a chisel server --reverse service during failover drills, all clients failed to reconnect. Fix: Generate a key once and always start the server with it: Read the fingerprint from the server's start-up…