From 75032fa004d33c408f69596a78f28356783961fa Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Sat, 21 Nov 2026 17:52:19 +0100 Subject: [PATCH 1/2] Prepare Coulobre 0.2.0rc1 package metadata --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e03589e..b08428a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "coulobre-panel" -version = "0.1.0rc1" +version = "0.2.0rc1" description = "A web hosting control panel for hosting providers and resellers." readme = "README.md" requires-python = ">=3.12" From df527438da1e7818c50c67e130aa845452693214 Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Sat, 21 Nov 2026 17:52:19 +0100 Subject: [PATCH 2/2] Document the in-place panel upgrade procedure --- docs/deployment.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/docs/deployment.md b/docs/deployment.md index 52d7f93..8fdbe0f 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -177,7 +177,45 @@ connected. Follow their logs with `journalctl`. sudo journalctl -u coulobre-panel -u coulobre-worker -u coulobre-beat ``` -### Verify a new installation +## Upgrade an existing panel + +Download and unpack the new source release. Back up the panel database and +the configuration in `/etc/coulobre/` and in the service files you manage. +Stop the web process and scheduler. Let running jobs finish, then stop the +worker and any enabled provisioning, backup, or health collector units. + +```sh +sudo systemctl stop coulobre-panel.service coulobre-beat.service +``` + +After the running jobs finish, stop the general worker. If service health is +enabled, stop both its timer and service before changing the package. + +```sh +sudo systemctl stop coulobre-worker.service +# If service health is enabled: +# sudo systemctl stop coulobre-health.timer coulobre-health.service +``` + +From the unpacked source release, upgrade the existing virtual environment +and use the [management command helper](#prepare-the-panel). + +```sh +sudo /opt/coulobre/bin/pip install --upgrade '.[server,mariadb]' +panel_manage migrate --noinput +panel_manage collectstatic --noinput +``` + +Review the release notes and apply any configuration or unit changes they +describe. Reload systemd, start the main services and any optional units you +stopped, and verify the deployment with a test account. + +```sh +sudo systemctl daemon-reload +sudo systemctl start coulobre-panel.service coulobre-worker.service coulobre-beat.service +``` + +## Verify a new installation Use a test hosting plan, account, and domain for these checks. Enable the local services that the installation will offer before checking them.