When editing a page in Confluence, we are unable to upload any image via 'Insert files and images' dialog, file list is blank

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

The space where thumbnails are supposed to show is blank, we cannot select anything there. It is the same whether we access the dialogue box via the insert image button directly, or via '+ (Insert more content)' > Files and images, or via Ctrl+M.

Environment

This problem was identified in Confluence server and datacenter version 7.4. It could also affect other versions of Confluence.

Diagnosis

  • No clear error on the application logs.

  • While editing a page, the Insert Files and Images macro shows a blank list, and the Upload Files button doesn't work.

  • The following Javascript error is seen in the Developer Tools in the browser:

1 Uncaught Error: confluence-editor/files/file-item/file-item-model missing plupload

Cause

The module com.atlassian.confluence.plugins.drag-and-drop is disabled in the BANDANA table of Confluence:

1 2 3 4 <entry> <string>com.atlassian.confluence.plugins.drag-and-drop</string> <boolean>false</boolean> </entry>

Solution

Always backup your data before performing any modifications to the database.

  1. Shutdown Confluence

  2. Run the following query against your database:

    1 SELECT BANDANAVALUE FROM BANDANA WHERE BANDANAKEY = 'plugin.manager.state.Map';
  3. Copy the whole Bandana value

  4. Find the module below and remove it from the result

    1 2 3 4 <entry> <string>com.atlassian.confluence.plugins.drag-and-drop</string> <boolean>false</boolean> </entry>
  5. Now, update the database enabling the module by removing it from the previous. Please, note that the BANDANAVALUE may vary depending on your instance. Below is an example:

    Update query example

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 update BANDANA set BANDANAVALUE = '<map> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:blogpost-trashed-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-inline-tasks:task-email-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:comment-created-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:page-trashed-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:blogpost-edited-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:page-edited-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.share-page:share-page-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:page-moved-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-like:like-created-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-request-access-plugin:request-access-notification-email-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:follower-added-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>confluence.languages.de_DE</string> <boolean>false</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:page-created-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-onboarding:notification-template-less-users-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-file-notifications:file-content-update-email-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-onboarding:notification-template-no-spaces-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-software-blueprints:jira-sprints-item</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-mentions-plugin:mention-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:comment-edited-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-inline-comments:notification-template-new-mail-body</string> <boolean>true</boolean> </entry> <entry> <string>org.techtime.confluence.plugins.easysso</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-notifications-batch-plugin:batching-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.share-page:share-attachment-email-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.share-page:share-draft-email-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:blogpost-created-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:page-edited-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-inline-comments:notification-template-resolve-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-inline-comments:notification-template-reply-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-inline-tasks:task-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.whatsnew:show-whats-new-flag</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.share-page:share-page-email-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:blogpost-created-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:comment-edited-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:blogpost-edited-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:follower-added-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:comment-created-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:page-created-hipchat-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>org.techtime.confluence.plugins.usermanagement</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-content-notifications-plugin:forgot-password-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>org.techtime.plugins.techtimecore</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-mentions-plugin:mention-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-file-notifications:file-content-remove-email-notification-template-body</string> <boolean>true</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-request-access-plugin:grant-access-notification-email-template-body</string> <boolean>true</boolean> </entry> <entry> <string>org.swift.confluence.script:script</string> <boolean>false</boolean> </entry> <entry> <string>com.atlassian.confluence.plugins.confluence-like:like-created-notification-template-hipchat-body</string> <boolean>true</boolean> </entry> </map>' where BANDANAKEY = 'plugin.manager.state.Map';
  6. Start Confluence again

  7. You should be able to use the Insert Images and Files and the Upload Files button while editing a page.

Updated on March 21, 2025

Still need help?

The Atlassian Community is here for you.