Unable to use Confluence upon adding some customizations in "Custom HTML"

Still need help?

The Atlassian Community is here for you.

Ask the community


A blank page is displayed when Confluence is accessed through the browser right after adding customizations within Confluence Admin >  Custom HTML


Please try to access the Confluence Admin page using the URL below. If you do not receive a blank screen, remove the customizations, otherwise proceed to the resolution.

  • http://<Confluence URL>/admin/viewcustomhtml.action

If you are able to access the link above, please read the KB article: Customized HTML Breaks the 'Edit Custom HTML' Page


One of the many causes that makes Confluence to present a blank screen is when  a <script> tag in your Custom HTML is open and not properly closed.


As the Confluence UI is not usable, the customizations in "custom HTML" need to be removed through the Confluence database directly. Before proceeding, please ensure that you have a full backup of your Confluence database.

  • Shutdown Confluence
  • Run the following SQL query against your database:

    SELECT bandanavalue FROM bandana WHERE bandanakey = 'atlassian.confluence.settings';
  • You can copy the result into a text editor, and locate  <customHtmlSettings>...</customHtmlSettings> tag as it contains the customizations added to Custom HTML.
  • To reset this, you need to remove the customizations added, and your customHtmlSettings should look like:


    (warning) Make sure all the tags are complete and properly enclosed, and you have only removed the added codes.

  • After that you need to update your Confluence database with the modified settings. To do that you can run the following query

    (info) You must copy the whole settings and replace <modified_settings> with.

     UPDATE bandana SET bandanavalue = '<modified_settings>' WHERE bandanakey = 'atlassian.confluence.settings';
  • Start Confluence
Last modified on Feb 26, 2016

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.