You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(onboard): explain a gateway database with a modified migration
sqlx reports a gateway database written by a newer OpenShell with one of
two texts. Gateway start explains "is missing in the resolved
migrations" but passed "migration N was previously applied but has been
modified" through verbatim, with no database path, cause, or remedy.
Classify both texts as an incompatible gateway database, print the same
named-database recovery, and name both texts in the troubleshooting
page.
Refs: #9293
Signed-off-by: Udaya Tejas <udayatejas2004@gmail.com>
The next installer run must continue past the OpenShell installation step without reporting a version mismatch.
604
604
605
-
### Docker Driver Gateway Reports a Missing Migration
605
+
### Docker Driver Gateway Reports an Incompatible Migration
606
606
607
-
Onboarding can stop when the Docker driver gateway log contains both parts of this error:
607
+
Onboarding can stop when the Docker driver gateway log contains both parts of either error:
608
608
609
609
```text
610
610
migration N was previously applied
611
611
is missing in the resolved migrations
612
612
```
613
613
614
-
NemoClaw identifies `<selected-state-dir>/openshell.db` as incompatible with the installed OpenShell migration set.
614
+
```text
615
+
migration N was previously applied
616
+
has been modified
617
+
```
618
+
619
+
The first error means the installed OpenShell migration set does not contain migration N.
620
+
The second error means that migration set defines migration N with different contents.
621
+
NemoClaw identifies `<selected-state-dir>/openshell.db` as incompatible with the installed OpenShell migration set for both errors.
615
622
This failure can happen after an OpenShell downgrade.
616
623
Installing a NemoClaw release that is older than the installed one performs that downgrade, because each release pins one OpenShell version and the installer reinstalls OpenShell at the pin.
0 commit comments