Check there's room for the database's copy before an update

Before dumping the app's database for a rollback, coreapps reads its size
and refuses the update, changing nothing, if the apps' disk can't hold
the copy and keep 1 GB free; big databases say the copy takes a while.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 19:40:03 -07:00
co-authored by Claude Opus 5.5
parent 2d29ca62b3
commit f56641bbe1
4 changed files with 66 additions and 1 deletions
+5
View File
@@ -488,6 +488,11 @@ Common causes:
the failed version wrote is gone. Its log is printed above that line
(`coreapp logs` now shows the old version's). When the version wasn't
raised, the image that failed is the one running again.
- "keeps a copy of its database ... Nothing was changed. Free some space
first.": before an update the Core copies the app's database, to roll
back to, and the apps' disk hasn't room for it (it keeps 1 GB free for
the Core). That's the user's to sort out; tell them. With a big database,
updates say they take a while for the same reason.
- `coreapp check` fails but deploy worked: a new certificate can take a
minute; it retries for two. It also tries the VM directly, which tells the
app apart from the way in.