Create button is missing in Confluence 5.0.x or 5.1.x
症状
The Create button is missing from the top navigation bar
診断
First, ensure that you have no customisations applied that may prevent the button to display properly. You can verify that you don't have any applied at:
- Confluence Admin > Layouts
- Confluence Admin > Stylesheet
- Confluence Admin > Custom HTML
Try enabling plugin safe mode to disable third-party plugins that may interact with this behavior.
If none of the above apply, you could be facing this issue. To further verify, execute the following query against your Confluence database:
select count(*) from SPACES where SPACESTATUS is NULL;
If the query returns a value above 0, then you are affected by this issue.
原因
The root cause is yet unclear, however it most probably can be traced back to either an unsupported application server or database server version. Please ensure that you are using supported versions of any of the supported platform components. The source of the problem is a NULL value in the SPACESTATUS column.
ソリューション
Please note that since the problem is most probably due to the use of an unsupported version of database/application server, the following fix will only remedy the problem with the Create button. We cannot verify if any other functions may be broken, too.
- Confluence をシャットダウンします。
- Create a backup of your Confluence database
Execute the following query against your Confluence database:
update SPACES set SPACESTATUS='CURRENT' where SPACESTATUS is null;
- Remove the following directories under <CONFLUENCE-HOME>:
- index/
- bundled-plugins/
- plugins-temp/
- plugins-cache/
- plugins-osgi-cache/
- Confluence を起動します。
- The create button should already be visible by now. Navigate to Confluence Admin > Content Indexing and press Rebuild