Changes to JIRA's startup script assume bash - ie not compatible with Ubuntu

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • None
    • Affects Version/s: 5.0 - EAP
    • Component/s: Installation
    • 5

      From https://jira.atlassian.com/browse/JRA-25304?focusedCommentId=273346&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-273346

      On Ubuntu server when starting or stopping:
      /opt/atlassian/jira/bin/setenv.sh: 97: pushd: not found
      /opt/atlassian/jira/bin/setenv.sh: 100: popd: not found

      This is because /bin/sh is pointing to /bin/dash by default (and dash doesn't support pushd & popd).
      I was able to fix it locally using:
      sudo unlink /bin/sh && sudo ln -s /bin/bash /bin/sh
      but hopefully there's a nicer way to implement it.

              Assignee:
              Mel Nicholson [Atlassian]
              Reporter:
              Mark Lassau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: