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:
@@ -587,6 +587,31 @@ Steps:
|
||||
- [ ] David: sign in to listmonk-app as admin@dev.fedcom.net
|
||||
(Super Admin, Settings), and send a campaign from
|
||||
`listmonk-app@dev.fedcom.net`; remove it when done
|
||||
- Rehearsed 2026-12-04, updating an app in use: a copy of the
|
||||
listmonk port as `listmonk-upd` on 5.1.0 with real data (lists,
|
||||
subscribers, a draft campaign, changed settings, an upload, a
|
||||
sign-in), updated to 6.2.0 (three upstream migrations, one that
|
||||
hashes API tokens for good): data, settings, sessions and sign-in
|
||||
came through, and an update made to fail after migrating rolled
|
||||
back to 5.1.0 exactly. Deployed at
|
||||
`https://listmonk-upd.dev.fedcom.net/`. Fixed from it: `coreapp
|
||||
deploy` from a folder refuses a lower `version` without
|
||||
`--downgrade` (as `coreapp install` does); versions with `-N`
|
||||
(`6.2.0-1`, the Coreapp's own fix) order after the upstream one,
|
||||
for releases too; a failed start keeps the container's whole log
|
||||
(`<name>-failed-start.log`; the printed end missed the first
|
||||
start, where the migrations ran); `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
|
||||
- [ ] Decide: keep the last pre-update database copy (and `/data`
|
||||
snapshot) after a successful update, until the next one, so a
|
||||
Core owner can go back days later (`coreapps restore <name>`)?
|
||||
Today it's deleted once the new version answers; it costs the
|
||||
database's size on disk per app
|
||||
- [ ] David: sign in to listmonk-upd as admin@dev.fedcom.net
|
||||
(settings page, visual editor on 6.2.0); remove it when done
|
||||
- Rehearsed 2026-12-04 with a new app from scratch, Lending Shelf
|
||||
(`coreapp new --postgres --sso --email`; Python, postgres, sso,
|
||||
email): deployed at `https://lending-shelf.dev.fedcom.net/`, Core
|
||||
|
||||
Reference in New Issue
Block a user