Site import task is failing with error "Error while running upgrade tasks for imported data!"

XMLWordPrintable

    • 6
    • Severity 3 - Minor

      Issue Summary

      Site import task is failing with error "Error while running upgrade tasks for imported data!"

      Steps to Reproduce

      1. Export data from one cloud instance
      2. Import site data into another cloud instance

      Expected Results

      Export-import should work fine

      Actual Results

      The below error is thrown in the logs:

      org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [ALTER TABLE ONLY content_perm DROP CONSTRAINT cp_unique_group;]; nested exception is org.postgresql.util.PSQLException: ERROR: constraint "cp_unique_group" of relation "content_perm" does not exist
      
      Upgrade task [Remove the outdated cp_unique_group constraint from content_perm.,buildNumber=105] failed
      
      com.atlassian.confluence.importexport.ImportExportException: Error while running upgrade tasks for imported data!
      

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Nitika Arora
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: