Atlassian Cloud Migration Assistance is giving error while migrating

amitabh.jain October 7, 2019

Hi

I am not able to run ACMA ,following error page isdisplayed.

A system error has occurred — our apologies!

For immediate troubleshooting, consult our knowledge base for a solution.

If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:

a description of your problem and what you were doing at the time it occurred
a copy of the error and system information found below
a copy of the application logs (if possible).
Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.
Thank you!

Return to site homepage…

Cause
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getInitialState' in class com.atlassian.migration.agent.web.AppAction threw exception com.atlassian.util.concurrent.LazyReference$InitializationException: javax.persistence.PersistenceException: Failed to update database schema at /templates/app.vm[line 21, column 44]
at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)

caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: javax.persistence.PersistenceException: Failed to update database schema
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: javax.persistence.PersistenceException: Failed to update database schema
at com.atlassian.migration.agent.store.jpa.impl.LiquibaseSchemaUpgrader.upgrade(LiquibaseSchemaUpgrader.java:35)

caused by: liquibase.exception.LockException: Could not acquire change log lock. Currently locked by f1ab74d41290 (172.17.0.2) since 8/12/19 7:06 PM
at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:230

2 answers

0 votes
Bas Huizinga May 3, 2021

hi,

We have the same problem, running on an H2 database (not able to run queries)

We like to move to the cloud version.

Confluence version 7.4.6
Versienummer 8402

Database naam H2
Database versie 1.4.196 (2017-06-10)
Database-dialect org.hibernate.dialect.H2Dialect
Naam Database Driver org.h2.Driver
Database Driver Versie1.4.196 (2017-06-10)

 

Could you please help me?

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 4, 2021

Hi Bas,

H2 databases are for evaluation only. You need to migrate your database onto an external database before migrating to Cloud. You can find a list of supported databases from our page on Supported Platforms on Confluence.

For information on connecting to the H2 database and performing the migration, look at Embedded H2 database information. You can find the migration steps at the bottom of this page.

If you have any trouble, please raise a support ticket with our Migration support team!

Thank you,

Shannon

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 8, 2019

Hello @amitabh.jain,

Thank you for contacting us about this. It appears the issue is caused by this line:

caused by: liquibase.exception.LockException: Could not acquire change log lock. Currently locked by f1ab74d41290 (172.17.0.2) since 8/12/19 7:06 PM
at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:230

You can release the lock manually by executing the SQL query below on the Confluence database. 

If that doesn't work, please Raise a Support Ticket with our Migration Team and include a copy of your Support Zip, and we'll be able to help you out.

Best regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events