pve-agents
Operations

Troubleshooting

Common symptoms and the quickest safe fix.

Controller and access

SymptomCheck
Stream connects but sends no updatesExclude /api/workspaces/*/agent from proxy buffering and compression. See reverse proxy.
Sign-in succeeds but no session remainsMake CONTROLLER_URL exactly match the browser origin.
Health endpoint works but database requests fail after an updateRun pnpm db:migrate before starting the service.
Nothing leaves requestedRun pnpm worker:tick or enable WORKER_ENABLED.
A CLI command cannot startRun pnpm build so its CLI bundle exists.
The UI is an error page after deploymentLoad the affected page in a browser; inspect client errors and verify deployed dependencies.

Agents

SymptomCheck
Launch form has no choicesCreate and enable an agent in Settings → Agents.
API request fails validationInclude a configured agent's harnessId. See HTTP API.
harness: this controller cannot run "<kind>"Use a Type supported by this release, or update the controller.
Agent is unauthenticatedCorrect the configured credential and launch a new workspace; running workspaces retain the old credential.
Runner reports ERR_MODULE_NOT_FOUNDRebuild the template with the supported build script, then launch a new workspace.

Provisioning and template

SymptomCheck
destroy_ownership_mismatchStop and inspect the LXC. Its ownership marker does not match this controller.
First clone returns 403Grant VM.Audit and VM.Clone on the selected template VMID.
Provisioning fails at addressedVerify DHCP, the Proxmox bridge, and WORKSPACE_SUBNET.
Template says it has no DNSVerify the scratch container's bridge, DHCP, and outbound network access.
Template reports a missing toolInspect the retained build container and confirm the tool is on the agent user's non-login PATH.

Workspaces and reaping

A workspace will not reap when it is blocked, has uncommitted or unpushed work, or cannot be inspected. The timeline identifies the reason. Push or discard work, or destroy the workspace explicitly when appropriate.

An orphan after restoring the database is expected. The controller reports orphans but does not delete them automatically; inspect and remove them deliberately.

Last updated on

On this page