On Windows Bitbucket Server does not start when the installation path contains a space

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 5.5.0, 5.4.3
    • Affects Version/s: 5.3.0, 5.2.2
    • Component/s: None
    • None
    • 3
    • Severity 2 - Major
    • 15

      Summary

      After installing Bitbucket Server using the installer by specifying a path with a blank as installation path, the application does not start.

      Environment

      • Windows as Operating system

      Steps to Reproduce

      1. Install Bitbucket Server by using one of the available methods
        1. Run the Bitbucket Server installer
        2. Install Bitbucket Server from the archive
      2. Select a path with a space as installation directory (e.g. "C:\Progra~1\Bitbucket\5.2.2" where "C:\Progra~1" is the eight-character equivalent of "C:\Program Files")

      Expected Results

      Bitbucket Server starts successfully.

      Actual Results

      Bitbucket Server does not start, the below exception is thrown in the atlassian-bitbucket.log file:

      2017-08-14 07:46:21,548 ERROR [spring-startup]  com.atlassian.plugin.util.FileUtils Found file:/C:/Program%20Files/Bitbucket/5.2.2/app/static/WEB-INF/atlassian-bundled-plugins, but failed to read file
      java.io.FileNotFoundException: C:\Program Files\Bitbucket\5.2.2\app\static\WEB-INF\atlassian-bundled-plugins (The system cannot find the path specified)
      

      Notes

      The installer does not allow the installation directory to be specified as C:\Program Files\Bitbucket\5.2.2.

      Workaround

      Not available.

            Assignee:
            Kordinator
            Reporter:
            Caterina Curti
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: