Blog

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleThe Problem

Currently we encountered a problem where Confluence did no longer present the list of space wizards, but simply displayed an error in the dialog window.

Error message after opening the Space Wizard Dialog

The log file shows this:

Code Block
[INFO]  ..... WARN [http-nio-1990-exec-7] 
         [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] 
         doRollback Performing rollback. Transactions:
[INFO]  ->[PluginReadWriteTx]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #.....)
[INFO]  – referer: ...../confluence/pages/viewpage.action?spaceKey=PP&title=x | 
        url: /confluence/rest/create-dialog/1.0/space-blueprint/dialog/web-items | 
        traceId: ..... | userName: .....
Section
titleThe Cause

If you encounter this message it is very likely that you have deactivated an add-on that contains a space blueprint.

If it is only deactivated, simply activating it again will make the problem go away.

Section
titleReproducing the Problem

To reproduce the problem follow these steps:

  1. Have an add-on installed that provides at least on space blueprint
  2. Deactivate this add-on
  3. Try to create a new space with the space wizard (Spaces -> Create Space)

Instead of having a dialog top select a space wizard, you see the error message in the view and log file.

Section
titleNarrowing the Problem

After some further investigation we discovered that the problem is independent of the used database. With MySQL, PostgreSQL, and H2 the problem could be reconstructed.

We found that the problem first occurred with version 6.11.2 of Confluence, while in version 6.11.1 and before everything was alrightfine.

At first we checked if the problem was only related to the projectdoc Toolbox, since 6.11.2 has been around for some time. We thought it very unlikely that such a problem would have gone unnoticed by the community. In fact the problem is reproducible with every space blueprint.

Section
titleWorkaround

To workaround work around the problem, the admin user needs to fix issues on the database level. On the Atlassian Community the post Confluence add Space fails - An unknown server error has occurred. provided a solution to a similar problem that also fixes the issue we have encountered.

In fact, dropping the AO_54C900_SPACE_BLUEPRINT_AO after server stop, removing the plugin cache directories, and restarting the server also fixes the problem: new spaces can again be created.

Caution Box
titleBe careful! Backup your data!

Please make sure to backup your system and save any of your data before you try to fix this issue!

What worked on our system to fix the problem might harm you installation.

There is also a knowledge base article Creating new page or space loads forever that seems related. But the described problem in this article is that the process for displaying the space wizard dialog loads forever, whereas in our case the process terminates and shows an error message.

...