-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS determination in CommandExist is giving wrong result for remote servers. #24
Comments
Which linux flavour are you deploying to? This command also fails for me at the exact same point to a centos 7.3 vps, but on further investigation I realised the where command on centos is actually whereis
https://github.com/EasyCorp/easy-deploy-bundle/blob/master/src/Requirement/CommandExists.php#L33 Replace where by whereis and things proceed as expected. |
I'm using Ubuntu Server, so |
i'm having the same problem... shouldn't the server type (ie : windows or linux) be configurable ? |
Same problem ! Local OS is Windows, remote OS is Linux, which results in command not found error :-(. |
Same problem, any updates ? |
For example if I'm trying to deploy from Windows-based machine to Unix-based one i'm receiving following error message:
The command "ssh test@example.com "where /usr/local/bin/composer"" failed.
That's happening because of the check
in CommandExists.php:40 which is only valid for local PHP instance and not for remote host.
The text was updated successfully, but these errors were encountered: