Adds systemd --user bus-connection troubleshooting
Enabling lingering doesn't start the user manager retroactively, and sudo -u often drops XDG_RUNTIME_DIR - both produce the same "Failed to connect to bus" error when setting this up by hand.
This commit is contained in:
@@ -1356,3 +1356,14 @@ by Infrastructure Design. U5 carries REF-U3-01's Umami origin gate plus FR-21 an
|
||||
**Context**: OPERATIONS — Deployment Setup revealed a genuine Construction-phase technology gap; resolved with application code changes (not just documentation), verified against a real database
|
||||
|
||||
---
|
||||
## Deployment Setup — systemd --user Bus Connection Troubleshooting
|
||||
|
||||
**Timestamp**: 2026-07-29T00:10:00Z
|
||||
|
||||
**User Input**: "Als ik systemctl --user daemon-reload uitvoer krijg ik de volgende fout \"Failed to connect to bus: No medium found\""
|
||||
|
||||
**AI Response**: "Explained the likely causes (lingering not yet enabled, user manager not started since enabling lingering doesn't retroactively start it, or running via sudo -u instead of a real login shell losing XDG_RUNTIME_DIR) and gave concrete fix commands. Added a troubleshooting note to deployment-instructions.md § 1.3 covering this exact error for future readers doing manual host setup before the deploy workflow ever runs."
|
||||
|
||||
**Context**: OPERATIONS — Deployment Setup, host-setup troubleshooting captured in documentation
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user