{"action":"created","issue":{"url":"https://api.github.com/repos/deployphp/deployer/issues/637","repository_url":"https://api.github.com/repos/deployphp/deployer","labels_url":"https://api.github.com/repos/deployphp/deployer/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/deployphp/deployer/issues/637/comments","events_url":"https://api.github.com/repos/deployphp/deployer/issues/637/events","html_url":"https://github.com/deployphp/deployer/issues/637","id":150552673,"number":637,"title":"[RuntimeException] Without exception message","user":{"login":"Rudolfff","id":18629909,"avatar_url":"https://avatars.githubusercontent.com/u/18629909?v=3","gravatar_id":"","url":"https://api.github.com/users/Rudolfff","html_url":"https://github.com/Rudolfff","followers_url":"https://api.github.com/users/Rudolfff/followers","following_url":"https://api.github.com/users/Rudolfff/following{/other_user}","gists_url":"https://api.github.com/users/Rudolfff/gists{/gist_id}","starred_url":"https://api.github.com/users/Rudolfff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rudolfff/subscriptions","organizations_url":"https://api.github.com/users/Rudolfff/orgs","repos_url":"https://api.github.com/users/Rudolfff/repos","events_url":"https://api.github.com/users/Rudolfff/events{/privacy}","received_events_url":"https://api.github.com/users/Rudolfff/received_events","type":"User","site_admin":false},"labels":[{"id":47395265,"url":"https://api.github.com/repos/deployphp/deployer/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/deployphp/deployer/milestones/2","html_url":"https://github.com/deployphp/deployer/milestones/v4.0","labels_url":"https://api.github.com/repos/deployphp/deployer/milestones/2/labels","id":936666,"number":2,"title":"v4.0","description":"","creator":{"login":"elfet","id":141232,"avatar_url":"https://avatars.githubusercontent.com/u/141232?v=3","gravatar_id":"","url":"https://api.github.com/users/elfet","html_url":"https://github.com/elfet","followers_url":"https://api.github.com/users/elfet/followers","following_url":"https://api.github.com/users/elfet/following{/other_user}","gists_url":"https://api.github.com/users/elfet/gists{/gist_id}","starred_url":"https://api.github.com/users/elfet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elfet/subscriptions","organizations_url":"https://api.github.com/users/elfet/orgs","repos_url":"https://api.github.com/users/elfet/repos","events_url":"https://api.github.com/users/elfet/events{/privacy}","received_events_url":"https://api.github.com/users/elfet/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":26,"state":"open","created_at":"2015-01-15T11:53:46Z","updated_at":"2016-11-02T13:38:13Z","due_on":"2016-10-31T00:00:00Z","closed_at":null},"comments":19,"created_at":"2016-04-23T12:53:05Z","updated_at":"2016-11-02T13:43:24Z","closed_at":null,"body":"| Q | A |\n| --- | --- |\n| Issue Type | Bug |\n| Deployer Version | 3.2.1 |\n| Local Machine OS | Ubuntu 14.04 |\n| Remote Machine OS | Debian 7 |\n\nI'm trying implement new deploy in my project but i'm stuck. when i run my deploy command\n\n> dep deploy:update_code beta -vvv\n\nthen i have this exception\n\n`➤ Executing task deploy:update_code\n↳ on [main]\n\n> cd /var/www/beta.domain.pl && which git\n> < /usr/bin/git\n> < \n> cd /var/www/beta.domain.pl && git version\n> < git version 1.7.10.4\n> < \n> cd /var/www/beta.domain.pl && find /var/www/beta.domain.pl/releases -maxdepth 1 -mindepth 1 -type d\n> cd /var/www/beta.domain.pl && readlink /var/www/beta.domain.pl/release\n\n  [RuntimeException]  \n\nException trace:\n () at phar:///usr/local/bin/dep/src/Server/Remote/PhpSecLib.php:114\n Deployer\\Server\\Remote\\PhpSecLib->run() at phar:///usr/local/bin/dep/src/functions.php:296\n run() at phar:///usr/local/bin/dep/recipe/common.php:146\n {closure}() at n/a:n/a\n call_user_func() at phar:///usr/local/bin/dep/src/Server/Environment.php:101\n Deployer\\Server\\Environment->get() at phar:///usr/local/bin/dep/src/Server/Environment.php:175\n Deployer\\Server\\Environment->parseCallback() at n/a:n/a\n preg_replace_callback() at phar:///usr/local/bin/dep/src/Server/Environment.php:161\n Deployer\\Server\\Environment->parse() at phar:///usr/local/bin/dep/src/functions.php:285\n run() at phar:///usr/local/bin/dep/recipe/common.php:206\n {closure}() at n/a:n/a\n call_user_func() at phar:///usr/local/bin/dep/src/Task/Task.php:79\n Deployer\\Task\\Task->run() at phar:///usr/local/bin/dep/src/Executor/SeriesExecutor.php:43\n Deployer\\Executor\\SeriesExecutor->run() at phar:///usr/local/bin/dep/src/Console/TaskCommand.php:82\n Deployer\\Console\\TaskCommand->execute() at phar:///usr/local/bin/dep/vendor/symfony/console/Command/Command.php:256\n Symfony\\Component\\Console\\Command\\Command->run() at phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:791\n Symfony\\Component\\Console\\Application->doRunCommand() at phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:186\n Symfony\\Component\\Console\\Application->doRun() at phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:117\n Symfony\\Component\\Console\\Application->run() at phar:///usr/local/bin/dep/src/Deployer.php:101\n Deployer\\Deployer->run() at phar:///usr/local/bin/dep/bin/dep:63\n require() at /usr/local/bin/dep:4\n\ndeploy:update_code [-p|--parallel]\n`\nthis is my deploy.php file\n\n`<?php\nrequire 'recipe/common.php';\n\nserver('main', 'beta.domain.pl', 22)\n    ->user('user')\n    ->password('password')\n    ->stage('beta')\n    ->env('deploy_path', '/var/www/beta.domain.pl');\n\nset('repository', 'https://bbuser@bitbucket.org/bbuser/beta.domain.pl.git');\nset('keep_releases', 2);`\n\nAny idea what's causing this error?\n"},"comment":{"url":"https://api.github.com/repos/deployphp/deployer/issues/comments/257867509","html_url":"https://github.com/deployphp/deployer/issues/637#issuecomment-257867509","issue_url":"https://api.github.com/repos/deployphp/deployer/issues/637","id":257867509,"user":{"login":"psihius","id":3097957,"avatar_url":"https://avatars.githubusercontent.com/u/3097957?v=3","gravatar_id":"","url":"https://api.github.com/users/psihius","html_url":"https://github.com/psihius","followers_url":"https://api.github.com/users/psihius/followers","following_url":"https://api.github.com/users/psihius/following{/other_user}","gists_url":"https://api.github.com/users/psihius/gists{/gist_id}","starred_url":"https://api.github.com/users/psihius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psihius/subscriptions","organizations_url":"https://api.github.com/users/psihius/orgs","repos_url":"https://api.github.com/users/psihius/repos","events_url":"https://api.github.com/users/psihius/events{/privacy}","received_events_url":"https://api.github.com/users/psihius/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T13:43:24Z","updated_at":"2016-11-02T13:43:24Z","body":"Leaving this for the people who will come here in search of the original issue.\r\n\r\nI think this is the same issue that happened to the author of this issue, because when running \"deploy:update_code\" I had the same issue as the author, I just moved on to running \"deploy:release\".\r\nIn any case, before anything else, try running command bellow first - if it runs fine, then it is the issue of using the wrong command. But be aware, that that runs the full deployment process, that can be undesirable.\r\n```\r\nphp dep deploy\r\n```"}}
{"actor":{"display_login":"psihius"}}