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

problem in rollback from version 4.22 to 4.21.1 #4289

Closed
1 of 2 tasks
andrebotelho-warren opened this issue May 19, 2023 · 2 comments
Closed
1 of 2 tasks

problem in rollback from version 4.22 to 4.21.1 #4289

andrebotelho-warren opened this issue May 19, 2023 · 2 comments

Comments

@andrebotelho-warren
Copy link

andrebotelho-warren commented May 19, 2023

Search first

  • I searched and no similar issues were found

Description

My liquibase execution pipeline was using docker image with latest tag.

Some scripts were run using Liquibase version 4.22. When I rolled back to version 4.21 I started getting some errors in the liquibase status command due to a checksum difference.

2023-05-19_15-45

What can I do to fix this? I would like the status command to work again using version 4.21.1

Steps To Reproduce

Since version 4.22 was deleted, I don't think we were able to reproduce.

But if possible, we would have to run a liquibase updatesql with version 4.22. And then, rollback to version 4.21.1 and try to run a liquibase status

Expected/Desired Behavior

Perform a rollback from version 4.22 to 4.21.1

Liquibase Version

No response

Database Vendor & Version

No response

Liquibase Integration

No response

Liquibase Extensions

No response

OS and/or Infrastructure Type/Provider

No response

Additional Context

https://docs.liquibase.com/start/release-notes/home.html
image

Are you willing to submit a PR?

  • I'm willing to submit a PR (Thank you!)
@tati-qalified
Copy link
Contributor

Hello @andrebotelho-warren , how are you?
This is a common issue, and it is one of the reasons why version 4.22 was removed. There are two things you can try:

First:

  • Run clear-checksums.
  • Revert to 4.21.1
  • Run changelog-sync to recalculate the v8 checksums.

This will fix the checksum issue, leaving you with the prior Liquibase version.

Second:
Try updating to version 4.23.0 instead of reverting to 4.21.1, as this last release involves many improvements. You can see the release notes here.

I'll be closing this issue, though be sure to reopen it if the problem persists.

Have a good one!

@robert-gdv
Copy link

This might be related to #5761

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants