{"action":"created","issue":{"url":"https://api.github.com/repos/deployphp/deployer/issues/1640","repository_url":"https://api.github.com/repos/deployphp/deployer","labels_url":"https://api.github.com/repos/deployphp/deployer/issues/1640/labels{/name}","comments_url":"https://api.github.com/repos/deployphp/deployer/issues/1640/comments","events_url":"https://api.github.com/repos/deployphp/deployer/issues/1640/events","html_url":"https://github.com/deployphp/deployer/issues/1640","id":335370777,"node_id":"MDU6SXNzdWUzMzUzNzA3Nzc=","number":1640,"title":"bash: bash -s; printf  $?;: command not found","user":{"login":"eminos","id":1682784,"node_id":"MDQ6VXNlcjE2ODI3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1682784?v=4","gravatar_id":"","url":"https://api.github.com/users/eminos","html_url":"https://github.com/eminos","followers_url":"https://api.github.com/users/eminos/followers","following_url":"https://api.github.com/users/eminos/following{/other_user}","gists_url":"https://api.github.com/users/eminos/gists{/gist_id}","starred_url":"https://api.github.com/users/eminos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eminos/subscriptions","organizations_url":"https://api.github.com/users/eminos/orgs","repos_url":"https://api.github.com/users/eminos/repos","events_url":"https://api.github.com/users/eminos/events{/privacy}","received_events_url":"https://api.github.com/users/eminos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-25T11:42:40Z","updated_at":"2018-06-25T12:03:23Z","closed_at":null,"author_association":"NONE","body":"| Issue Type        Question\r\n| Deployer Version  | 6.2.0\r\n| Local Machine OS  | Windows 10 (17134)\r\n| Remote Machine OS | CloudLinux 7.5 (RedHat 7.5)\r\n\r\n### Description \r\nI suddenly started getting this error with my fairly simple deployer script.\r\n\r\nλ dep deploy production -vvv\r\n➤ Executing task git:pull\r\n[production] > cd /home/website/production.website.se && (git pull)\r\n[production] < bash: bash -s; printf  $?;: command not found\r\n\r\nIn Client.php line 99:\r\n\r\n  [Deployer\\Exception\\RuntimeException (-1)]\r\n  The command \"cd /home/website/production.website.se && (git pull)\" failed.\r\n\r\n  Exit Code: -1 (Unknown error)\r\n\r\n  Host Name: production\r\n\r\n  ================\r\n  bash: bash -s; printf [exit_code:%s] $?;: command not found\r\n\r\n\r\n---\r\n\r\nAny clue what can be causing this? It used to work and I'm not sure what has changed either on the local machine or remote that started causing this error.\r\n\r\nRunning the command `cd /home/website/production.website.se && (git pull)` directly on the server works fine.\r\n"},"comment":{"url":"https://api.github.com/repos/deployphp/deployer/issues/comments/399927709","html_url":"https://github.com/deployphp/deployer/issues/1640#issuecomment-399927709","issue_url":"https://api.github.com/repos/deployphp/deployer/issues/1640","id":399927709,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTkyNzcwOQ==","user":{"login":"eminos","id":1682784,"node_id":"MDQ6VXNlcjE2ODI3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1682784?v=4","gravatar_id":"","url":"https://api.github.com/users/eminos","html_url":"https://github.com/eminos","followers_url":"https://api.github.com/users/eminos/followers","following_url":"https://api.github.com/users/eminos/following{/other_user}","gists_url":"https://api.github.com/users/eminos/gists{/gist_id}","starred_url":"https://api.github.com/users/eminos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eminos/subscriptions","organizations_url":"https://api.github.com/users/eminos/orgs","repos_url":"https://api.github.com/users/eminos/repos","events_url":"https://api.github.com/users/eminos/events{/privacy}","received_events_url":"https://api.github.com/users/eminos/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T12:03:23Z","updated_at":"2018-06-25T12:03:23Z","author_association":"NONE","body":"I've done some more digging.\r\nIf I ssh into the server and run `echo $0` I get `-bash`.\r\nThere are references to that in other issues here, but I'm not sure what it means and how to fix it.\r\nThe command in question `cd /home/website/production.website.se && (git pull)` still works if I run it manually on the server."}}
{"actor":{"display_login":"eminos"}}