Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-18942

Unable to migrate data from H2 to an external database

    XMLWordPrintable

Details

    • 2
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Data migration from the current database (H2 or an external database) to another external database using the DB migration wizard isn't possible if a third-party plugin that uses the BLOB data type in its table is installed in Bitbucket. This is due to the fact that the Active object framework doesn't support the BLOB data type, thus migration of tables that use BLOB data fails.

      If a user tries to perform the migration, the migration fails and returns to the initial screen without displaying an error message on the GUI but an error "c.a.s.i.m.DefaultMaintenanceTaskMonitor MIGRATION maintenance has failed (Cause: NoClassDefFoundError: javax/xml/bind/DatatypeConverter)" is logged in the log file.

      Although it was already highlighted in the Developing your plugin with Active Objects article that Atlassian's Active Object framework does not support binary large objects (BLOBs) but this functionality should be included in the Bitbucket for smooth migration of all the data(including the BLOB data) from source database to the target database.

      Attachments

        Activity

          People

            Unassigned Unassigned
            83b3279fad28 Aman Shrivastava
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: