Prepare the Coulobre 0.10.1 release candidate
This commit is contained in:
1 parent
b7a156b45e
commit
3e15cb010b
3 files changed
+61
-1
No files matched your search
@@ -47,6 +47,16 @@
|
||||
instructions, and known limitations. Mark a release candidate as a
|
||||
prerelease. Close the milestone when its target version is published.
|
||||
|
||||
For a release tested through the web updater, generate and attach
|
||||
`web-update.json` alongside the matching wheel. List each tested starting
|
||||
package version after the wheel path. Only list versions that can upgrade
|
||||
with the dependencies and service units they already have.
|
||||
|
||||
```sh
|
||||
python tools/web_update_manifest.py dist/coulobre_panel-0.10.1rc2-py3-none-any.whl \
|
||||
0.10.1rc1 > dist/web-update.json
|
||||
```
|
||||
|
||||
## Pull requests
|
||||
|
||||
- Start changes on a dedicated branch from the default branch, named main.
|
||||
|
||||
@@ -573,6 +573,56 @@ sudo systemctl daemon-reload
|
||||
sudo systemctl start coulobre-panel.service coulobre-worker.service coulobre-beat.service
|
||||
```
|
||||
|
||||
### Upgrade from v0.10 to v0.10.1
|
||||
|
||||
Use the in-place procedure above to install v0.10.1 and apply its migrations.
|
||||
Existing DNS zones keep their records. Use **DNS zone template** under
|
||||
**Server and services** to change the defaults for new zones. Use **Complete
|
||||
hosting setup** on an existing account to review and add missing services.
|
||||
|
||||
To include mail client details in new invitations, set
|
||||
`COULOBRE_MAIL_IMAP_HOST` and `COULOBRE_MAIL_SUBMISSION_HOST` to the respective
|
||||
client-facing names when these services are available. For an upgraded panel
|
||||
without service checks, follow [the collector setup](#monitor-local-and-remote-services).
|
||||
|
||||
### Install a compatible release from the panel
|
||||
|
||||
The installer enables **Updates** for single-server deployments. On an
|
||||
existing installer-managed single server, install the updater units from the
|
||||
v0.10.1 source release after upgrading the package:
|
||||
|
||||
```sh
|
||||
sudo install -m 0644 deploy/systemd/coulobre-update.socket \
|
||||
deploy/systemd/coulobre-update@.service /etc/systemd/system/
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable --now coulobre-update.socket
|
||||
```
|
||||
|
||||
A superuser with a verified second factor can choose a compatible release
|
||||
from **Server and services → Updates**. The updater uses the official Gitea
|
||||
release over HTTPS and checks the wheel against its published SHA-256 hash.
|
||||
It supports the installer-managed local MariaDB database and installer
|
||||
layout. Use the in-place procedure for linked mail or DNS receivers, custom
|
||||
service unit changes, and releases requiring new dependencies. The update
|
||||
manifest lists the tested starting versions.
|
||||
|
||||
The panel and its workers pause during the upgrade. Refresh **Updates** after
|
||||
the panel returns. The latest update status names the recovery directory in
|
||||
`/var/lib/coulobre-update/`. The root-only directory holds the previous
|
||||
virtual environment, `/etc/coulobre` configuration, MariaDB dump, unit list
|
||||
and operation log. Keep enough free space for these copies. Review progress
|
||||
and service errors with `sudo journalctl -u 'coulobre-update@*'`.
|
||||
|
||||
If recovery is required, keep the panel and its workers stopped. Use the
|
||||
saved `units.json` to identify the active units before the update. Restore
|
||||
`venv` to `/opt/coulobre` at the same path and restore the saved `config` to
|
||||
`/etc/coulobre` if needed. Import `panel.sql` with `sudo mariadb` to replace
|
||||
the panel database with the pre-upgrade copy. Rebuild panel static files
|
||||
with `panel_manage collectstatic --noinput`, restart the saved units and
|
||||
verify sign-in and service health. Archive `status.json` as root after
|
||||
recovery to allow a later update. Check that `panel.sql` and `venv` exist
|
||||
before restoring from a directory created by an interrupted update.
|
||||
|
||||
### Upgrade from v0.9 to v0.10
|
||||
|
||||
Use the in-place procedure above with the v0.10 source release. Keep a copy
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "coulobre-panel"
|
||||
version = "0.10.0rc1"
|
||||
version = "0.10.1rc1"
|
||||
description = "A web hosting control panel for hosting providers and resellers."
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
Reference in new issue
Block a user