Add local web deployment status checks

This commit is contained in:
parkel committed 2026-11-19 22:02:06 +01:00
1 parent 5384d70d03
commit af16adf216
4 files changed
+199 -37

No files matched your search

+17
View File
@@ -100,6 +100,23 @@ removes the configuration it added. It reloads the prior configuration for
affected services and reports any recovery errors. The account reservation and
document root stay available for the next attempt.
Check the local deployment state with the same manifest.
```sh
sudo /opt/coulobre/bin/coulobre-web-node status coulobre-web-plan-1.json
```
The JSON report includes the manifest identity and one of three states.
- `configured` means the reservation, Unix account, document root, service
configuration, running services, and PHP-FPM socket match the manifest.
- `not_installed` means the node has no reservation for the account.
- `needs_attention` includes the first mismatch or service problem found.
The status command reads local state. It exits with code 0 for `configured`,
code 2 for the other report states, and code 1 if it cannot read the manifest
or inspect the node. Use an HTTP request to verify the site's response as well.
## Run an isolated PHP test site
Open a completed preview for the account's current domain and select **Download