Merge pull request 'Verify the single-server installation and account recovery' (#50) from test/single-server-preview into main
Coulobre Panel CI / Checks (Python 3.12) (push) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (push) Canceled after 0s

Reviewed-on: #50
This commit was merged in pull request #50.
This commit is contained in:
parkel committed 2026-11-21 16:59:37 +01:00
commit 49a819ce85
1 file changed
+39
+39
View File
@@ -176,6 +176,28 @@ 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
Use a test hosting plan, account, and domain for these checks. Enable the
local services that the installation will offer before checking them.
1. Sign in through the hostname clients will use. Check the HTTPS certificate,
login, and static files. If you use a reverse proxy, also confirm that
connections from outside the trusted proxy cannot use its HTTP origin.
2. Assign the test account to a customer. Verify that customer can open it
and that a second customer cannot. With a plan that limits the number of
databases or mailboxes, try a request beyond each configured limit.
3. Request an Apache preview and activate the site. Serve a test PHP page,
enable HTTPS, and retrieve a file using a key uploaded through the panel.
If website quotas are enabled, check that the site user receives a quota
error when writing beyond the test plan's storage limit.
4. Provision a database and write a test row with its application login. Send
a message to a provisioned mailbox and verify its delivery. If a mailbox
quota is enabled, check the limit with `doveadm quota get -u ADDRESS`.
5. Publish the test zone. Query the authoritative nameserver directly with
`dig @NAMESERVER DOMAIN A +norecurse` and verify the expected answer and
the `aa` flag. [Run a backup and restore drill](#run-a-backup-and-restore-drill)
## Activate local websites from the panel ## Activate local websites from the panel
Use the local activation worker when the panel and the Ubuntu 26.04 web node Use the local activation worker when the panel and the Ubuntu 26.04 web node
@@ -582,6 +604,23 @@ delivered. If the panel cannot confirm a restore, check the destination
before submitting another. For resources on separate servers, use the before submitting another. For resources on separate servers, use the
[account bundle commands](development.md#recover-backups-from-the-bundle). [account bundle commands](development.md#recover-backups-from-the-bundle).
##### Run a backup and restore drill
Use a disposable account with a website file, a database row, and a delivered
mailbox message whose original contents you can compare after recovery. The
drill exercises replacement of the test file and recovery into empty targets.
1. Choose **Create backup** with mail included. Wait for **Ready** and check
that the archive exists on the server.
2. Change the test file. Restore that path with replacement selected and
verify its contents. Move the test site files out of the document root,
restore the entire website, and verify the PHP response and static file.
3. Empty the disposable database while its application is disconnected.
Restore it from the same backup and query for the original row.
4. Pause delivery and client access for the test mailbox and move its
Maildir aside. Restore the mailbox and verify the original message, then
resume delivery and client access. Check each result under **Backup restores**.
#### Include mailboxes on the same server #### Include mailboxes on the same server
Complete the [Postfix and Dovecot setup](development.md#apply-a-mailbox-manifest) Complete the [Postfix and Dovecot setup](development.md#apply-a-mailbox-manifest)