{% extends "baseTemplate/index.html" %} {% comment %} ============================================================================== CloudPanel — version management ------------------------------------------------------------------------------ Served at /versionManagement (baseTemplate, admin/versionManagement ACL). Context variables (all optional, safe defaults): currentVersion str e.g. "1.0.0" buildNumber str e.g. "2026.09.18.1" branch str e.g. "stable" installedAt str human timestamp of the last install/upgrade latestVersion str newest version published upstream upgradeAvailable bool installPrefix str defaults to CLOUDPANEL.INSTALL_PREFIX changelog list of {version, date, notes (list[str])} archiveDir str defaults to /usr/local/src localArchives list of {file, version}, newest first newestArchive dict {file, version} or empty upgradeCommand str e.g. "sudo cloudpanel upgrade --archive cloudpanel-1.1.0.tar.gz" AJAX contract used by this page (implemented by the baseTemplate views): POST /versionManagement/checkForUpdates {} -> {status: 1, latestVersion: "1.1.0", upgradeAvailable: true} Upgrading is a root-only CLI action now, never something this page triggers: a web-triggered upgrade (running a root script on behalf of an HTTP request) is exactly the shape docs/DAEMON-INTENTS.md declines. When a newer release archive is staged under {{ archiveDir }}, this page shows the operator the exact `sudo cloudpanel upgrade --archive …` command to run at the console. ============================================================================== {% endcomment %} {% block title %}Version Management{% endblock %} {% block content %}
Inspect the installed {{ CLOUDPANEL.PANEL_NAME|default:"CloudPanel" }} build and apply upstream upgrades.
| Panel version | {{ currentVersion|default:CLOUDPANEL.VERSION|default:"1.0.0" }} |
| Build | {{ buildNumber|default:"—" }} |
| Release channel | {{ branch|default:"stable" }} |
| Installed / upgraded | {{ installedAt|default:"—" }} |
| Install prefix | {{ installPrefix|default:CLOUDPANEL.INSTALL_PREFIX|default:"/usr/local/CloudPanel" }} |
| Panel hostname | {{ CLOUDPANEL.PANEL_DOMAIN|default:"cp.a1hosting.net" }}:{{ CLOUDPANEL.PANEL_PORT|default:"8090" }} |
Upgrading is a console-only action, run as root. This page cannot start one — it can only tell you what to type.
{{ latestVersion|default:"unknown" }}
{{ newestArchive.file }} v{{ newestArchive.version }}
{{ upgradeCommand }}
Take a configuration backup first. The command restarts the panel service when it finishes; hosted websites, mail and DNS keep running.
Download cloudpanel-X.Y.Z.tar.gz to {{ archiveDir }} on the server, then run sudo cloudpanel upgrade --archive cloudpanel-X.Y.Z.tar.gz at the console.
| Version | Date | Changes |
|---|---|---|
| {{ release.version }} | {{ release.date }} |
|
No changelog availableRelease notes appear here once the panel has checked upstream. |
||