Update rehearsal: downgrade check for deploys, -N versions, failed logs

coreapp deploy refuses a lower version than the installed one without
--downgrade, as coreapp install does. Versions with -N (the Coreapp's own
fix on the same upstream version) order after the upstream one, for
releases too. A failed start keeps the container's whole log, from its
first start, in <name>-failed-start.log. coreapp status shows the
installed version beside the folder's.

Skill: references/updating.md (versions, what to check between versions,
testing an update over real data and its rollback, no copy after a
successful update); reading the installer's bash -x log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-04 14:06:31 -07:00
co-authored by Claude Opus 5.5
parent 491af8745f
commit 0aa334d22a
8 changed files with 168 additions and 18 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ each new app explains the files and the settings it gets.
| `coreapp new --postgres --sso <name>` | Both: a database and sign-in (the example counts each person's visits) |
| `coreapp new --mysql <name>` | (Instead of `--postgres`, with no example app.) Its own database on the Core's MariaDB |
| `coreapp new --email <name>` | (With any of the above.) Sending mail through the Core's mail server, with the app's own account |
| `coreapp deploy [--recreate] [--drop-database]` | Build its image, copy it to the Core over SSH, install it, or update it keeping its settings and data; a failed update rolls back to the version before (`--recreate`: a fresh container even if nothing changed). Needs added to `coreapp.toml` are set up; needs taken out are removed once the new version works, and taking out `postgres` or `mysql` (deleting the database) needs `--drop-database`, which asks you to type the app's name |
| `coreapp deploy [--recreate] [--drop-database] [--downgrade]` | Build its image, copy it to the Core over SSH, install it, or update it keeping its settings and data; a failed update rolls back to the version before (`--recreate`: a fresh container even if nothing changed). Needs added to `coreapp.toml` are set up; needs taken out are removed once the new version works, and taking out `postgres` or `mysql` (deleting the database) needs `--drop-database`, which asks you to type the app's name. A lower `version` than the installed one is refused without `--downgrade`, since an older version may not understand the newer one's data |
| `coreapp check` | It answers at `https://<name>.<domain><health>` with a valid certificate |
| `coreapp core` | What the Core in the VM offers apps: PostgreSQL (and which extensions an app can enable), MariaDB, Authelia, the mail server and Traefik with their versions, Docker, and the machine |
| `coreapp mail` | What the Core's mail server did with the mail the app sent in the last day: accepted from its account, then delivered, deferred or bounced, with the reason (apps with `email`) |