My service based on Spring 2.4.3 and use liquibase 4.3.1, deploy with Jenkins. I have next problem- liquibase lock(Kibana logs):
Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [org/springframework/boot/autoconfigure/liquibase/LiquibaseAutoConfiguration$LiquibaseConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock. Currently locked by my-service since 10/29/21, 3:37 PM
Unfortunatelly I have no access to DB directly to update DATABASECHANGELOCK. I tried this solution but without any result.. How to unlock liquibase without DB data loss? Thanks in advance.
If someone interesting- I solve this case.
I add entity & dto - liquibaseLock and controller, service, repo. After that comment liquibase implementation in build.gradle, push and deploy this version, unlock DB; comment out liquibase and push & deploy )
Now it works and I have proven solution )