我正在尝试使用Easy deploy Bundle部署我的Symfony应用程序。但在执行run命令后,出现php bin/console deploy stable错误:
The command "cd D:\MySymfonyApp && where ssh" failed.
Exit Code: 1(General error)
Working directory: D:\MySymfonyApp
Output:
================
Error Output:
================
INFO: Could not find files for the given pattern(s). 在我看来,ssh配置是可以的。( cd D:\MySymfonyApp && where ssh返回C:\Windows\System32\OpenSSH\ssh.exe
我尝试在Windows10上运行它。(symfony 4.1)
发布于 2018-10-27 06:50:09
您的会话变量似乎没有设置,并且找不到ssh二进制文件。
You can fix them或者...
我的建议是to install ubuntu's terminal inside your Windows 10.
你可以在/mount上找到你的文件
cd /mnt/d我目前是using deployer.org,我对它非常满意,它有很多关于Laravel/Symfony的菜谱,当一个新的部署完成时,你可以触发Telegram或Slack通知。(还有更多的东西)
https://stackoverflow.com/questions/53010776
复制相似问题