Agent shows offline
Summary: The agent has not checked in for about two minutes. Check the service, the network and the agent's credentials.
A server shows Agent Offline when its agent has not checked in with BashPilot for about two minutes. While it is offline you cannot chat with the server.
Common causes
- The server is down or rebooting.
- The
bashpilot-agentservice has stopped. - A firewall blocks outbound HTTPS to BashPilot.
- The agent's credentials in
/etc/bashpilotwere removed or damaged.
Fix it
-
1
Check the service
Run
systemctl status bashpilot-agentas root. -
2
Start it
If it is not running, run
systemctl start bashpilot-agent. -
3
Read the log
Run
journalctl -fu bashpilot-agentand look for errors. -
4
Check the network
The server must reach
api.bashpilot.comanddownloads.bashpilot.comon port 443.
shell
systemctl status bashpilot-agent
systemctl start bashpilot-agent
journalctl -fu bashpilot-agent
If the log mentions the agent token
Messages such as "Failed to read agent token file", "Failed to parse agent token file" or "Install token not provided" mean the agent's credentials are missing or damaged. Run the install command again: open the server's Manage page, click Show Reinstall Command and run it on the server. See Install the BashPilot agent.
Other statuses
| Status | Meaning | What to do |
|---|---|---|
| Agent Not Installed | The server was added but the agent never connected | Click Install Agent and run the command on the server |
| Inactive | The server has no active plan | Choose a plan for the server again |
Last updated · Applies to BashPilot