Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix oracle_specs table null value error #8868

Closed
AnExsomnis opened this issue Jul 20, 2023 · 0 comments · Fixed by #8870
Closed

Fix oracle_specs table null value error #8868

AnExsomnis opened this issue Jul 20, 2023 · 0 comments · Fixed by #8870
Assignees
Labels

Comments

@AnExsomnis
Copy link
Contributor

AnExsomnis commented Jul 20, 2023

protocol upgrade failed for the data-nodes on the n00.testnet.vega.rocks:

Jul 20 16:18:21 n00.testnet.vega.xyz visor[3596010]: 2023-07-20T16:18:21.459Z        INFO        datanode.start.persistentPre.db-migrate        v3@v3.6.1/migration_sql.go:32        Rollback transaction
Jul 20 16:18:21 n00.testnet.vega.xyz visor[3596010]: 2023-07-20T16:18:21.460Z        ERROR        datanode.start.persistentPre        start/node_pre.go:136        Failed to initialise database, retrying...        {"error": "failed to migrate to latest schema:error migrating sql schema: ERROR 0004_oracle_specs.sql: failed to run SQL migration: failed to execute SQL query \"ALTER TABLE oracle_specs ADD COLUMN data JSONB NOT NULL;\\n\": ERROR: column \"data\" of relation \"oracle_specs\" contains null values (SQLSTATE 23502)"}
Jul 20 16:18:21 n00.testnet.vega.xyz visor[3596010]: 2023-07-20T16:18:21.460Z        INFO        datanode.start.persistentPre        start/node_pre.go:138        Database initialised
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant