Merge pull request 'Prepare the Coulobre v0.2.0-rc.1 release candidate' (#55) from release/v0.2.0-rc.1 into main
Reviewed-on: #55
This commit is contained in:
commit
2f12a65aba
2 files changed
+40
-2
No files matched your search
+39
-1
@@ -177,7 +177,45 @@ connected. Follow their logs with `journalctl`.
|
|||||||
sudo journalctl -u coulobre-panel -u coulobre-worker -u coulobre-beat
|
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
|
Use a test hosting plan, account, and domain for these checks. Enable the
|
||||||
local services that the installation will offer before checking them.
|
local services that the installation will offer before checking them.
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "coulobre-panel"
|
name = "coulobre-panel"
|
||||||
version = "0.1.0rc1"
|
version = "0.2.0rc1"
|
||||||
description = "A web hosting control panel for hosting providers and resellers."
|
description = "A web hosting control panel for hosting providers and resellers."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
Reference in new issue
Block a user