Roll back failed updates to the version that ran before
coreapps keeps copies of the app's service folder, .env and compose file during an update. If it fails before the app answers, it tears down needs the update added, restores the copies, starts the old version and removes the new image. Data isn't rolled back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -296,6 +296,11 @@ Common causes:
|
||||
- "doesn't answer at http://192.168.5.x:PORT/...": the app crashed (see
|
||||
`coreapp logs`), listens on another port or on 127.0.0.1, or `health`
|
||||
points at a path that fails or redirects to an error.
|
||||
- "Rolled back": an update failed, so the Core put back the version that
|
||||
ran before, with its settings, and undid needs the update added. The
|
||||
failed version's log is printed above that line (`coreapp logs` now shows
|
||||
the old version's). Its data and database aren't rolled back. When the
|
||||
version wasn't raised, the image that failed is the one running again.
|
||||
- `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.
|
||||
|
||||
Reference in New Issue
Block a user