Several Page Functions in a Page are not Working After an Upgrade
問題
After an upgrade, several page/space functions in several spaces that was created before the upgrade are not working. Some of the functions that are not working might include but not limited to
- ページをウォッチ
- Watch all content in this space
- ウォッチャーの管理
- Share function
診断
Try creating a new space and check if all the functions are working in this space
- If the broken page functions are working in the newly created space, proceed with the resolution steps
Find out if space customization are present in the the database:
- Find out what is the space's space key
- Go to the problematic space
- Go to "Space Tools"
- The URL should be displayed something similar as: http://10.60.5.195:8563/confluence/spaces/viewspacesummary.action?key=CES
- This space's space key should be 'CES'
- Append the space key obtained from step 1 in the following SQL query, and run it in the database:
SELECT * FROM DECORATOR WHERE SPACEKEY = '<spacekey>'
- If the query returns a value, space customization is indeed present
原因
You might have old layouts still present in the spaces that are created before the upgrade.
ソリューション
In the problematic space, go to Space Tools > Look and Feel
- Under Themes tab, make sure you are using *Global Look and Feel* theme
- Under Layout tab, make sure that everything is set to <default>
- Please backup all the layouts first if you wish to save the customizations
- Under Stylesheet tab, make sure there are no stylesheet there.
- Please backup all the layouts first if you wish to save the customizations
- Please backup all the layouts first if you wish to save the customizations
Use the following code if you would like to remove all customizations in your instance completely
DELETE FROM DECORATORS
Please note that the above code will remove all customizations in your instance, including the ones you may want to keep
データベースの変更を行う場合は必ず事前にバックアップを取得してください。可能な場合は、まずステージング サーバーで SQL コマンドの変更、挿入、更新、または削除を行うようにします。