Issue with setenv.sh when starting and stopping JIRA on ubuntu

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      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:
            Unassigned
            Reporter:
            sladey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: