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
Getting 'ERROR: Validate failed' after upgrading from 5.0.7 to 5.1.0 #2027
Comments
Is this a filesystem or a classpath location? Could you create a small repo that reproduces the issue? |
It is |
I just updated to 5.1.0 from 5.0.7 as well and had checksum mismatches for about 1/3 of my migrations. I just went in and manually changed all the checksums by hand in |
We have currently reverted downloads to 5.0.7 by default while we investigate this. Any repo with migration files affected by this would be immensely useful for tracking this down. Could you create one to help speed up resolution of this issue? Also no need to adjust checksums manually. Flyway 5.1.1 will fix this specific issue and in general the repair command can do this for you as well. |
Here are the migration files of which about 1/3 caused checksum issues for me: https://github.com/smrealms/smr/tree/master/db/patches Let me know if you need to know exactly which ones had different checksums. |
I've just upgraded to 5.1, seem to be having this same problem. Also postgres. |
@hemberger Thank you very much for the link to the repo. That was very helpful. This has now been fixed. Expect a 5.1.1 release shortly. |
Thank you for the quick fix! I have been able to migrate successfully now with 5.1.1. |
Thanks a lot for quickly fixing it! Working perfectly with 5.1.1. 👍 |
The same is happening to me with 5.2.4. What's up? |
…rom 5.0.7 to 5.1.0
Which version and edition of Flyway are you using?
5.1.0
If this is not the latest version, can you reproduce the issue with the latest one as well?
This issue is caused by the latest version.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
command-line
Which database are you using (type & version)?
PostgreSQL 10.3
Which operating system are you using?
Ubuntu 17
What did you do?
Ran
migrate
commandWhat did you expect to see?
Normal response as with prior versions i.e.
What did you see instead?
The text was updated successfully, but these errors were encountered: