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
Error using gocd-database-migrator H2 - PostgreSQL GoCD 20.4.0 to 20.9.0 #8796
Comments
It looks like the the |
@maheshp There are some other errors, during the import around Interestingly, when accessing the H2 database and trying to select from MODIFICATIONS i generate the same error; So it looks like this table is somehow corrupted?
|
Looks like H2 db is corrupted, I am seeing the following errors,
I am assuming you are running the migration against a backup db of your GoCD server. If you have the GoCD server running, can you please take a backup and try to run the migration using that. And I hope you are following the instructions provided in the upgrade docs |
Thanks @maheshp - that |
Issue Type
Summary
When migrating the H2 database on our GoCD 20.4.0 to PostgreSQL, in order to upgrade GoCD to 20.9.0 we get:
Environment
Basic environment details
20.4.0
openjdk 13.0.2 2020-01-14
12.4
Amazon Linux 2
Steps to Reproduce
gocd-database-migrator
Expected Results
The H2 database is fully migrated to Postgres
Actual Results
After the step:
We've got the errors:
Log snippets
Just above
The text was updated successfully, but these errors were encountered: