March 4, 2023 . 2 MIN READ
RunCloud is a cloud server management platform that helps you easily manage web applications and servers. However, in some cases, RunCloud may fail to automatically update your server due to reasons such as network issues, firewall restrictions, or package conflicts.
If your server is not running the latest version of the RunCloud agent, you’ll see a warning on the RunCloud dashboard stating “Server not running latest agent.”
This warning indicates that your server is using an outdated RunCloud agent. An outdated agent can cause certain features to malfunction or leave security vulnerabilities unpatched. To resolve this issue, the agent must be updated manually via SSH.
Follow the steps below to update the RunCloud agent manually:
Log in to your server via SSH.
Update system packages:
This command checks for available updates and installs them automatically.
Update the RunCloud agent based on your server type:
For Nginx servers:
For OpenLiteSpeed servers:
For Docker servers:
Restart the RunCloud agent:
This allows the agent to apply changes and resync with the RunCloud API.
After updating the agent via CLI—or if you restore your server from a provider-level snapshot (such as DigitalOcean or Vultr), which may revert the agent to an older version—the dashboard may not immediately reflect the updated version.
In this case, use the “Sync Agent” button in the server settings to resolve any discrepancies between the installed agent version and the version shown on the RunCloud dashboard.
On older Ubuntu versions, you may encounter errors while updating package lists due to outdated or moved repositories. These errors occur when the system attempts to access repositories that no longer have a valid release file.
Open the sources list using a text editor (for example, Nano):
Locate the problematic repository entries, such as:
Comment out these lines by adding # at the beginning:
Save the file and exit the editor.
Update the package list:
After completing these steps, retry updating the RunCloud agent. Once the update is successful, your server will run the latest agent and fully benefit from RunCloud’s features.
Reference:
https://runcloud.io/knowledgebase/articles/server-management/server-not-running-latest-agent-warning