Skip to content

Deploy on prod fails because some migrations have invalid checksums #1728

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

Closed
php-coder opened this issue Jan 8, 2025 · 0 comments
Closed
Assignees
Labels
ADR/needed A decision has been made and it needs to be documented environment/prod Issue affects only production environment kind/bug kind/regression priority/important
Milestone

Comments

@php-coder
Copy link
Owner

Caused by: liquibase.exception.ValidationFailedException: Validation Failed:
     3 changesets check sum
          liquibase/version/0.4/2017-01-06--top_categories.xml::add-categories-top_category_id-field::php-coder was: 8:f9d8c6d88cfaf34e3c545eb03ad809ee but is now: 8:a397b809158ce6de065df1d2944f6f6d
          liquibase/version/0.4/2018-07-05--series_import_parsed_data_michel_numbers_field.xml::add-michel_numbers-column-to-series_import_parsed_data-table::php-coder was: 8:a8217ceed7f5183b2ff65bf689a28464 but is now: 8:4e2c6af7eeb86f5963ddc22c726bda35
          liquibase/version/0.4/2018-07-15--series_import_parsed_data_group_id_field.xml::add-seller_group_id-column-to-series_sales_import_parsed_data-table::php-coder was: 8:fba5a6ca4f5a4b551cb1f529b7b27b61 but is now: 8:a99506d469794b03a4353a411aeb9b65
	at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:358)
	at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:329)
	at ru.mystamps.web.support.liquibase.LiquibaseSupport.validate(LiquibaseSupport.java:106)
	at ru.mystamps.web.support.liquibase.LiquibaseSupport.performLiquibaseValidate(LiquibaseSupport.java:90)
	at ru.mystamps.web.support.liquibase.LiquibaseSupport.validate(LiquibaseSupport.java:74)
	at ru.mystamps.web.support.spring.boot.ApplicationBootstrap.main(ApplicationBootstrap.java:49)
	... 8 more

A full log: https://github.com/php-coder/mystamps/actions/runs/12665376083/job/35294957911

Introduced during Liquibase update to 4.25.1 in #1651 (#1565)

@php-coder php-coder added kind/bug environment/prod Issue affects only production environment kind/regression labels Jan 8, 2025
@php-coder php-coder added this to the 0.4.8 milestone Jan 8, 2025
@php-coder php-coder self-assigned this Jan 8, 2025
@php-coder php-coder added the ADR/needed A decision has been made and it needs to be documented label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADR/needed A decision has been made and it needs to be documented environment/prod Issue affects only production environment kind/bug kind/regression priority/important
Projects
None yet
Development

No branches or pull requests

1 participant