How to clear customizations from Confluence
Make sure to back up Confluence's database and installation directory for safety purposes. If this page is being used as a troubleshooting purposes, back up the customization that are instructed to be deleted before deleting them.
- Delete any custom HTML in Confluence Admin > Custom HTML.
- Delete any custom CSS globally or in spaces (at Confluence Admin / Space Admin > Stylesheet).
- Reset any custom layouts configured in Confluence Admin >> Layouts page to the default Layouts.
Ensure that global and/or space theme are using the default or bundled theme.
- Ensure that there are no file modifications or files removed (e.g., the mail and activation jar files have to be moved to a different directory in order to activate a mail server) in your installation directory (at Confluence Admin >> System Information). For example, if any files were removed you would see the following.
Run the following query in your Confluence database:
SELECT * FROM DECORATOR;
The result of this query displays all the custom layouts applied on your Confluence site. If this query returns one or more rows, run the following query to delete all of the custom layouts:
DELETE FROM DECORATOR;
- Restart Confluence to pick up any changes