Comments (5)
i'm having the same problem... shouldn't the server type (ie : windows or linux) be configurable ?
from easy-deploy-bundle.
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
$shellCommand = sprintf('%s %s', $this->isWindows() ? 'where' : 'which', $this->commandName);
https://github.com/EasyCorp/easy-deploy-bundle/blob/master/src/Requirement/CommandExists.php#L33
Replace where by whereis and things proceed as expected.
from easy-deploy-bundle.
I'm using Ubuntu Server, so which
is enough for me.
But we can also use command -v {$this->commandName}
or type -p {$this->commandName}
as well.
Or use them as a fallback.
from easy-deploy-bundle.
Same problem ! Local OS is Windows, remote OS is Linux, which results in command not found error :-(.
from easy-deploy-bundle.
Same problem, any updates ?
from easy-deploy-bundle.
Related Issues (20)
- User Deprecated: Passing a command as string when creating a "Symfony\Component\Process\Process" instance is deprecated
- {{ project_dir }} resolves to the local project directory in runLocal() HOT 3
- It would be cool if EasyDeploy pulled from git in a way which respected export-ignore in .gitattributes
- Symfony 5 compatibility HOT 8
- bash: where: command not found HOT 1
- deploy_dir per server HOT 2
- Error 123 with bin/console deploy test HOT 1
- bash: where: command not found HOT 1
- Configuration file path HOT 1
- updateRemoteComposerBinary requires sudo HOT 4
- Possible to run composer/php inside docker on prod?
- Running composer install --no-dev --optimize-autoloader before deploying failed HOT 1
- How to handle uploads files ? HOT 1
- Is this bundle still maintained HOT 1
- Problem with symlinks in chrooted ssh environment
- Add option for cloning/updating with submodules
- Mixed messages re: {{ deploy_dir }} HOT 1
- ABANDONED? HOT 3
- Permission denied (publickey) HOT 1
- Script @auto-scripts was called via post-install-cmd HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-deploy-bundle.