Hello,
We are having problems to migrate from server on premise to cloud
Our Infra
When we open the migration assistant we receive:
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.MigrationFailedException: Migration failed for change set META-INF/db-changelog/5-attachment-migration-version.xml::5-attachment-migration-version-drop-index::MPT: Reason: META-INF/db-changelog/master.xml : Index Exists Precondition: MIG_ATTACH_SITE_PROGRESS_IDX on MIG_ATTACHMENT : The database name component of the object qualifier must be the name of the current database.
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:559)
caused by: liquibase.exception.PreconditionErrorException: Precondition Error
at liquibase.precondition.core.IndexExistsPrecondition.check(IndexExistsPrecondition.java:123)
caused by: liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: com.microsoft.sqlserver.jdbc.SQLServerException: The database name component of the object qualifier must be the name of the current database.
at liquibase.snapshot.jvm.ForeignKeySnapshotGenerator.addTo(ForeignKeySnapshotGenerator.java:110)
caused by: liquibase.exception.DatabaseException: com.microsoft.sqlserver.jdbc.SQLServerException: The database name component of the object qualifier must be the name of the current database.
at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:101)
caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The database name component of the object qualifier must be the name of the current database.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:260)
We have tried the following without luck: Restore the Confluence Cloud Migration Assistant to the default version
It sounds like you'll need to contact Atlassian directly - see this similar community post:
Thanks Rob, I was able to solve it with:
"The component of the database name of the object qualifier must be the name of the current database"
My database was named "Confluence" and in the configuration file was "confluence". After the change the app of migration assistant works fine.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the problem was case sensitivity? On prem is case insensitive in all areas except the CCMA?
I wonder if this is Confluence-specific, or if Jira and Bitbucket share this trait.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rob,
Sorry for the delay in the response.
Yes, exactly the problem was that because is case sensitivity.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.