Unable to start Stash, with message function: not found

Troubleshooting Installation

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

The following appears in the command line:

#sh start-stash.sh

start-stash.sh: 3: start-stash.sh: function: not found
start-stash.sh: 4: [: unexpected operator
start-stash.sh: 7: start-stash.sh: Syntax error: "}" unexpected

原因

When you type sh start-stash.sh ou are probably using dash or some other shell script that does not recognise the command function.

This could be checked by issuing:

$ which sh

$ ls -ltra <path/to/sh/returned/above> 

ソリューション

  • Use the script without sh as recommended on step #6 of this document or call bash start-stash.sh instead, you should get it working as it will use bash in your environment.
最終更新日 2018 年 11 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.