Deleting Confluence space hangs

XMLWordPrintable

    • 7
    • Severity 3 - Minor

      Issue Summary

      When trying to delete a Confluence space, it hangs with the following error in browser console:

      Unhandled promise rejection Error: "GraphQL error: Not permitted to view space with key:<key>

      Environment

      • Confluence Cloud

      Steps to Reproduce

      1. Go to any space, click on Space Settings.
      2. Click on Delete Space and then OK.

      Expected Results

      Space should get deleted.

      Actual Results

      The below error is thrown in the server logs:

      Caused by: org.postgresql.util.PSQLException: ERROR: update or delete on table "content" violates foreign key constraint "fklmhsipswol8imeqsg906ih62x" on table "confancestors"
       Detail: Key (contentid)=(4718595) is still referenced from table "confancestors".
      

      In browser console:

      Unhandled promise rejection Error: "GraphQL error: Not permitted to view space with key: <key>
      

      Notes

      The space removal task remains as ENQUEUED in the long-running-tasks table.

      Workaround

      Contact Atlassian Support to run the SQL queries on the following page to delete all traces of the space key:
      https://confluence.atlassian.com/confkb/after-a-failed-space-import-it-s-not-possible-to-re-import-because-of-leftover-space-data-217743668.html

            Assignee:
            Unassigned
            Reporter:
            Saif
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: