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-agent service has stopped.
  • A firewall blocks outbound HTTPS to BashPilot.
  • The agent's credentials in /etc/bashpilot were removed or damaged.

Fix it

  1. 1

    Check the service

    Run systemctl status bashpilot-agent as root.

  2. 2

    Start it

    If it is not running, run systemctl start bashpilot-agent.

  3. 3

    Read the log

    Run journalctl -fu bashpilot-agent and look for errors.

  4. 4

    Check the network

    The server must reach api.bashpilot.com and downloads.bashpilot.com on 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

StatusMeaningWhat to do
Agent Not InstalledThe server was added but the agent never connectedClick Install Agent and run the command on the server
InactiveThe server has no active planChoose a plan for the server again

Last updated · Applies to BashPilot