Unrent homedocs Search docs

Operate

Troubleshooting a server

On the server, run sudo unrent doctor. It checks the agent, its connection, the clock, Docker, disk, memory, the firewall, the ingress, databases and the private network, and gives a one-line fix for anything that warns or fails.

Run the doctor

On the server
sudo unrent doctor

It prints one line per check, the fix under anything that is not a pass, and a count at the end. --json prints the same as one JSON object. It only reads: it changes nothing on the server, and it reaches only Unrent’s agent endpoint and the release index.

What it checks

The checks
CheckWhat it looks at
Agent serviceunrentd and unrent-exec running, restarts, the installed version
Agent version and updatesthe newest release and whether both of its signatures exist (2 of 2), an update in progress or rolled back
Connection to UnrentDNS, a verified TLS connection to the agent endpoint, and the clock against Unrent’s
Time syncNTP on and synchronised; past 2 minutes of drift only observe jobs run
Dockerthe daemon answers, Docker Engine 28 or newer
Disk and inodes, Memoryfree space and inodes where the agent and Docker keep data; available memory
FirewallUnrent’s nftables tables loaded, and the ports open to inbound traffic
IngressCaddy (or your own proxy) answering on its ports
Databaseseach managed database running and healthy, and the age of its last verified backup
Private networkeach WireGuard peer’s last handshake
Recent agent errorserrors in the agent’s log over the last 24 hours

Send a support bundle

On the server
sudo unrent doctor --bundle unrent-support.tar.gz

The bundle holds the check results, the agent’s own log for the last 24 hours, allow-listed configuration, and OS and package versions. It never holds keys, tokens, passwords or the values of your services’ variables: every value the server holds is masked, and the doctor refuses to write a bundle that would still contain one.

It stays on the server until you send it. In the console choose Help → Report a problem, describe what happened and attach the file (at most 5 MB). Unrent checks it again when it arrives and deletes it after 30 days.

Feedback and questions

The same dialog takes questions and ideas: Help → Ask a question or Send feedback, or the menu under your address in the sidebar. Tick Include page details to send the page’s address, the console build and your browser; never what is on the page. Answers come by email.

Updated . This page as Markdown.