Several Page Functions in a Page are not Working After an Upgrade
Problem
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 page
- Watch all content in this space
- Manage watchers
- Share function
Diagnosis
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
Cause
You might have old layouts still present in the spaces that are created before the upgrade.
Resolution
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
Always back up your data before performing any modifications to the database. If possible, test any alter, insert, update, or delete SQL commands on a staging server first.