Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,945
Community Members
 
Community Events
176
Community Groups

Failed to migrate database

We have a constant log errors after updating the confluence, hoging the server

 

2022-01-19 08:53:18,084 ERROR [Caesium-1-1] [migration.agent.queue.QueueBroker] error An error occurred when getting the next batch for consumer type: CONFLUENCE_IMPORT. Message: javax.persistence.PersistenceException: Failed to update database schema

Caused by: javax.persistence.PersistenceException: Failed to update database schema

Caused by: liquibase.exception.LockException: Could not acquire change log lock. Currently locked by atlassian-confluence-server_7.9.3 (172.17.0.2) since 1/19/22 8:07 AM

 

And this is on a lot of tables not just the one given for example. And i have few times done in postgree on confluence db:

UPDATE MIG_DB_CHANGELOG_LOCK SET LOCKED=false, LOCKGRANTED=null, LOCKEDBY=null where ID=1;

 

and after i do this the logs still say it is locked eventhough i see that select of the table says it is updated ok and no change after update.

 

How can we solve this?

 

Thank you!

1 answer

0 votes
Pramodh M Community Leader Jan 19, 2022

Hi @Alen Loncaric 

Here's the KB Article for the observed error

https://confluence.atlassian.com/confkb/confluence-upgrade-failed-with-liquibase-exception-lockexception-could-not-acquire-change-log-lock-error-969527207.html

Let me know if you have already tried this one

Thanks,
Pramodh

UPDATE MIG_DB_CHANGELOG_LOCK SET LOCKED=false, LOCKGRANTED=null, LOCKEDBY=null where ID=1;

 

many times...

Any other idea?

@Alen Loncaric We're running into this issue.  Were you able to resolve?   
ran the above command as well;  still nothing 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.9.3
TAGS

Atlassian Community Events