{% 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 %}

Version Management

Inspect the installed {{ CLOUDPANEL.PANEL_NAME|default:"CloudPanel" }} build and apply upstream upgrades.

Installed Build

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" }}

Upgrade

{% if upgradeAvailable %}Update available{% else %}Up to date{% endif %}

Upgrading is a console-only action, run as root. This page cannot start one — it can only tell you what to type.

Latest published version

{{ latestVersion|default:"unknown" }}

{% if newestArchive %}
Newest archive staged in {{ archiveDir }}

{{ newestArchive.file }} v{{ newestArchive.version }}

Run this at the server console
{{ upgradeCommand }}

Take a configuration backup first. The command restarts the panel service when it finishes; hosted websites, mail and DNS keep running.

{% else %}

No release archive staged

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.

{% endif %} {% if localArchives|length > 1 %}
Other archives found
    {% for archive in localArchives %} {% if not forloop.first %}
  • {{ archive.file }}
  • {% endif %} {% endfor %}
{% endif %}

Changelog

{% for release in changelog %} {% empty %} {% endfor %}
Version Date Changes
{{ release.version }} {{ release.date }}
    {% for note in release.notes %}
  • {{ note }}
  • {% endfor %}

No changelog available

Release notes appear here once the panel has checked upstream.

{% endblock %} {% block scripts %} {% endblock %}