'Found file atlassian-bundled-plugins.zip, but failed to read file' Causes Loss of Standard Functionality
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
Problem
Some functionality, which are provided by the bundled plugins stored in atlassian-bundled-plugins.zip
cease to work. For example:
Confluence Dashboard renders
unknown macro
in place of the recently-updated section.Graphical user interface, for example the pull down menu no longer works.
Index rebuild does not work.
Dashboard does not render, throwing a browser redirection error.
Diagnosis
The following stack trace appears in the atlassian-confluence.log
:
1
2
3
2009-06-25 15:49:49,243 ERROR [main] [atlassian.plugin.util.FileUtils] conditionallyExtractZipFile Found file:/apps/confluence-3.0.0_01/confluence/WEB-INF/classes/com/atlassian/confluence/setup/atlassian-bundled-plugins.zip, but failed to read file
java.io.IOException: Unable to delete file: /apps/data/confluence-data/bundled-plugins/toc-plugin-2.4.5.jar
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
Cause
This is usually due to Confluence inability to update the bundled plugins in the Confluence home folder. Usually related to write permissions. For example if the files belong to root user account and Confluence is run by a non-root user account, then it may not be able to delete (ie. update) its bundled plugins.
Solution
Resolution
Check for your files and/or folder permissions in <confluence home>/bundled-plugins
folder. Make sure that Confluence is run by a user with sufficient write permission.
Was this helpful?