Confluence default installation on Windows creates ${localHome} directories inside <Confluence-installation-directory>

XMLWordPrintable

    • 5
    • Severity 2 - Major
    • 0

      Issue Summary

      Confluence default installation on Windows creates ${localHome} directories inside <Confluence-installation-directory>
      This is reproducible on Data Center: (yes)

      Steps to Reproduce

      1. Install Confluence (we tested with v7.16.3 or v7.17.1 or v7.17.2 DC or Server) on Windows
      2. ${localHome} directories are created inside installation directory even if the home directories path are all correct with proper permissions ( screenshots attached for reference )

      Expected Results

      ${localHome} directories should not get created.

      Actual Results

      ${localHome} directories are created.

      Workaround

      • Stop Confleunce
      • Edit <Confluence-home-directory>/confluence.cfg.xml and change the forward slash to backward slash for the below properties and save the file
        <property name="lucene.index.dir">${localHome}/index</property>
        <property name="webwork.multipart.saveDir">${localHome}/temp</property>
        

        After changing it should be like -

        <property name="lucene.index.dir">${localHome}\index</property>
        <property name="webwork.multipart.saveDir">${localHome}\temp</property>
        
      • Also ensure that <property name="attachments.dir">${confluenceHome}\attachments</property> should also be having backslash
      • Go to <Confluence-installation-directory> and delete that ${localHome} which was created.
      • Start Confleunce and Navigate to Confluence Admin > Content Indexing and click "Rebuild"

            Assignee:
            Unassigned
            Reporter:
            Avik H
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: