Migration from own Confluence server to Atlassian Confluence Cloud

prcadmin April 14, 2023

Hello Community,

we wanna migrate our own local Confluence server to an Atlassian Confluence Cloud system. Thus we installed the Migration Assistant, but he crashed with the following error message:

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:228)

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:40)

caused by: liquibase.exception.LockException: Could not acquire change log lock. Currently locked by a5fc0ce0939e (172.23.0.2) since 10/14/19 1:04 AM
at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:270)

 

Our system is based on a H2 database (guess it is embedded) and we are using Confluence 7.0.1.

Any help is appreciated, because we need to move with our Confluence to the cloud and do not wanna loose all our stored knowledge or starting at zero. This would be a game stopper!

Best regards

EB

1 answer

0 votes
Robert Wen_ReleaseTEAM_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2023

hello @prcadmin !  Welcome to the Atlassian Community!

My biggest guess is that you're using H2 as a database which was not meant for production use.  You may have to migrate from H2 to something such as PostgreSQL or MySQL before attempting the migration to cloud.

This link may help: https://confluence.atlassian.com/conf712/embedded-h2-database-1056672474.html

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events