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:
@@ -258,6 +258,16 @@ The Core's own scripts trace secrets, so their output goes to
|
||||
deploys; breaking it again in an update gives the same message with
|
||||
the wget error, rolls back, and right after "Rolled back" the public
|
||||
address answers 200 (the rollback waits for traefik).
|
||||
5i. Versions from a folder: with `6.2.0` installed, deploying `6.1.9` is
|
||||
refused before building ("has version 6.2.0 installed; 6.1.9 is
|
||||
older ... add --downgrade"); `coreapp deploy --downgrade` deploys it;
|
||||
`6.2.0-1` and the same `6.2.0` deploy without asking. Releases order
|
||||
`v1.2.0` < `v1.2.0-2` < `v1.10.0`. `coreapp status` shows "This
|
||||
folder: ..." and "Installed version: 6.2.0" from the Core.
|
||||
5j. A container that fails to start (prints a line and exits): deploy
|
||||
prints the end of its log and "Its whole log, from its first start:
|
||||
/federated/logs/coreapps/<name>-failed-start.log", which has every
|
||||
restart's lines with timestamps; the same after an unhealthy check.
|
||||
5g. A slow start (`coreapp new slowtest`, with `CMD` sleeping 40 s,
|
||||
logging "migrating", before the server): deploy prints "still starting
|
||||
(31 s); its log: migrating", then "Installed". A container that exits
|
||||
|
||||
Reference in New Issue
Block a user