Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-21174

When confluence starts, empty the content of the plugins-temp folder

XMLWordPrintable

    • 3
    • 3
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The folder confluence-home\plugins-temp seems to be used by at least the non bundled plugins to extract some libraries they depend on and which are packaged in the corresponding jar in META-INF/lib.
      I have compared the content of this folder for a couple of plugins available from the plugin manager search menu or directly from the authors (calendar, cache, linking, multi-excerpt).
      My understanding is that this is the standard way to add dependent jars to a confluence plugin, the plugin framework taking care of extracting them to confluence-home\plugins-temp when required.

      The issue if that EACH time the server/confluence starts (or the plugin reinstalled I guess), it does it.
      As an example on a DEV server I have <<616>> files in this folder corresponding in fact to the same 8 jars, 77 versions of each of them!!!
      This server is not restarted everyday and this is a good thing or we would have 10, 20 or 30 times more files.

      You need to do something.
      This folder can be part of a backup and this is no good to waste disk space for nothing.

      I simply suggest when confluence starts to clear the content of the folder.

       

      Note: There is also a related bug for this situation that's been logged at CONFSERVER-52749

              Unassigned Unassigned
              a0900449ff91 Olivier Dupuy
              Votes:
              37 Vote for this issue
              Watchers:
              32 Start watching this issue

                Created:
                Updated: