The advanced password encryption tool fails with missing a dependency error

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When running the password advanced encryption steps as defined in this documentation the command fails.

      The error is caused by a missing dependency on the ${BITBUCKET_INSTALL_DIR}/tools/atlassian-password directory.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      Follow the of the steps to encrypt a password using the advanced method.
      https://confluence.atlassian.com/bitbucketserver/advanced-encryption-1032257987.html

      Expected Results

      The result is generated successfully.

      Actual Results

      The command fails with the following error displayed.

      Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.ObjectUtils
      

      Workaround

      Manually copy the commons-lang3 jar from the WEB-INF/lib folder into the password tools directory.

      cp ${BITBUCKET_INSTALL_DIR}/app/WEB-INF/lib/commons-lang3-*.jar \
          ${BITBUCKET_INSTALL_DIR}/tools/atlassian-password/
      

            Assignee:
            Josh Aguilar
            Reporter:
            Josh Aguilar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: