Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

zackcote's avatar

Deploy fails on *Install Composer Dependencies*

My deployment fails immediately on Install Composer Dependencies with the following output:

stdin: is not a tty
Using global Composer installation.
bash: line 17: composer: command not found

I can run composer just fine if I ssh in myself (simply by entering 'composer'), so i'm not sure what the problem is here. Does Envoyer require sudo/root access of any sort? Could that be the problem? I wish this error was more helpful.

0 likes
2 replies
zackcote's avatar

Here is the output of the previous process:

stdin: is not a tty
No current symlink detected. Removing any existing current directory.
--2016-08-09 12:34:16--  https://bitbucket.org/REPONAME/get/19105cd059c5.tar.gz
Resolving bitbucket.org... 104.192.143.3, 104.192.143.1, 104.192.143.2, ...
Connecting to bitbucket.org|104.192.143.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-tar-gz]
Saving to: `/home/project/default/19105cd059c5'

     0K ........ ........ ........ ........ ........ .        1.87M=1.4s

2016-08-09 12:34:19 (1.87 MB/s) - `/home/project/default/19105cd059c5' saved [2748807]

Unpacking project tarball.
Storage Directory Detected: Linking
isantoso's avatar

When you are running those commands yourself your .bash_profile is executed. You will need to modify your .bash_rc

Copy your php and composer aliases/path from your .bash_profile to .bash_rc

Please or to participate in this conversation.