of 3

Documentation

Unblu 7 (latest)

When migrating from one version of Unblu to another, you often have to migrate the database as well. Although database migration issues are rare, they can occur. This article describes how to troubleshoot a number of issues that may arise during database migration.

Categories of database migration issues

Database migration issues can be grouped into the following categories:

  1. Connection issues: The collaboration server is unable to connect to the database.

  2. Missing database user privileges.

  3. Issues with Liquibase tables.

  4. Migration fails with database errors.

  5. Migration fails while migration changes are in progress.

  6. Creating the main account fails.

Connection issues

There are a number of possible causes if the collaboration server has issues connecting to the database:

Missing database user privileges

These issues fall into two different categories:

  • The admin user doesn’t have the correct privileges on the database.

  • The normal user can’t access the Unblu database tables.

The admin user doesn’t have the correct permissions on the database

  • Verify that the database admin user exists and has the required access privileges.

  • If you’re trying to recover the Unblu database from a backup, the user may not have been recovered.

  • If you’re migrating the Unblu database from your staging to your production environment, the required access privileges may not have been granted yet.

The normal user can’t access the Unblu database tables

Error messages such as "Table or view does not exist" or "Object does not exist" are a sign that the Unblu database user lacks the required privileges.

  • Verify that the user you’ve set up for Unblu to access the database actually has the necessary privileges.

  • If you’re running the Unblu database on Oracle, there may be a missing trigger. Review the database installation guide.

  • If you’re trying to recover the Unblu database from a backup, ensure the Liquibase tables have been restored correctly.

  • If you’re migrating the Unblu database from your staging to your production environment, check that the Liquibase tables have been migrated correctly.

Issues with Liquibase tables

  • Changes to Unblu’s database schema may result in a database that doesn’t work with older versions of the collaboration server. Verify that the version of your Unblu database is compatible with the version of the collaboration server you’re running.

  • If you’re trying to recover the Unblu database from a backup, ensure the Liquibase tables have been restored correctly.

  • If you’re migrating the Unblu database from your staging to your production environment, check that the Liquibase tables have been migrated correctly.

  • Issues with Liquibase tables also arise if you terminated the collaboration server while migrating the database.

Migration fails with database errors

Go through the points listed in the section Issues with Liquibase tables above. You may, however, have encountered an issue with Unblu that isn’t covered by our tests.

Migration fails while migration changes are in progress

Go through the points listed in the sections Issues with Liquibase tables and Migration fails with database errors above.

Additionally, this type of issue can arise if the checksum is wrong because the change set has changed after the initial migration run.

Creating the main account fails

This issue can be the result of corrupt Liquibase tables. Go through the points listed in the section Issues with Liquibase tables above.