{"action":"created","issue":{"url":"https://api.github.com/repos/tsuru/tsuru/issues/1377","repository_url":"https://api.github.com/repos/tsuru/tsuru","labels_url":"https://api.github.com/repos/tsuru/tsuru/issues/1377/labels{/name}","comments_url":"https://api.github.com/repos/tsuru/tsuru/issues/1377/comments","events_url":"https://api.github.com/repos/tsuru/tsuru/issues/1377/events","html_url":"https://github.com/tsuru/tsuru/issues/1377","id":137206187,"number":1377,"title":"Tsuru failed when I execute git push","user":{"login":"magichk","id":17543960,"avatar_url":"https://avatars.githubusercontent.com/u/17543960?v=3","gravatar_id":"","url":"https://api.github.com/users/magichk","html_url":"https://github.com/magichk","followers_url":"https://api.github.com/users/magichk/followers","following_url":"https://api.github.com/users/magichk/following{/other_user}","gists_url":"https://api.github.com/users/magichk/gists{/gist_id}","starred_url":"https://api.github.com/users/magichk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magichk/subscriptions","organizations_url":"https://api.github.com/users/magichk/orgs","repos_url":"https://api.github.com/users/magichk/repos","events_url":"https://api.github.com/users/magichk/events{/privacy}","received_events_url":"https://api.github.com/users/magichk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-02-29T10:01:09Z","updated_at":"2016-03-04T09:25:09Z","closed_at":null,"body":"Hi, \r\n\r\nI have installed tsuru and I have configured an application. When I execute tsuru app-info --app aplicacio1 the result is this:\r\n\r\n> \r\n> root@tsuru:~/wordpress/wordpress# tsuru app-info --app aplicacio1\r\n> Application: aplicacio1\r\n> Repository: git@localhost:aplicacio1.git\r\n> Platform: php\r\n> Teams: test\r\n> Address: aplicacio1.localhost:80\r\n> Owner: admin@test.cat\r\n> Team owner: test\r\n> Deploys: 0\r\n> Pool: pool1\r\n> Quota: 0/4 units\r\n> \r\n> App Plan:\r\n> +---------------+--------+------+-----------+--------+---------+\r\n> | Name          | Memory | Swap | Cpu Share | Router | Default |\r\n> +---------------+--------+------+-----------+--------+---------+\r\n> | autogenerated | 0      | 0    | 100       |        | false   |\r\n> +---------------+--------+------+-----------+--------+---------+\r\n\r\nI have a remote repository like this:\r\n\r\n> root@tsuru:~/wordpress/wordpress# git remote -v \r\n> tsuru\tgit@localhost:aplicacio1.git (fetch)\r\n> tsuru\tgit@localhost:aplicacio1.git (push)\r\n\r\n\r\nBut when I try to push the code with git I have this problem....\r\n\r\n> root@tsuru:~/wordpress/wordpress# git push tsuru master\r\n> Counting objects: 1410, done.\r\n> Compressing objects: 100% (1387/1387), done.\r\n> Writing objects: 100% (1410/1410), 6.92 MiB | 2.95 MiB/s, done.\r\n> Total 1410 (delta 114), reused 0 (delta 0)\r\n> remote: HEAD se encuentra en f5ccae1... test\r\n> remote: Traceback (most recent call last):\r\n> remote:   File \"<stdin>\", line 2, in <module>\r\n> remote:   File \"/usr/lib/python2.7/json/__init__.py\", line 338, in loads\r\n> remote:     return _default_decoder.decode(s)\r\n> remote:   File \"/usr/lib/python2.7/json/decoder.py\", line 366, in decode\r\n> remote:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())\r\n> remote:   File \"/usr/lib/python2.7/json/decoder.py\", line 384, in raw_decode\r\n> remote:     raise ValueError(\"No JSON object could be decoded\")\r\n> remote: ValueError: No JSON object could be decoded\r\n> To git@localhost:aplicacio1.git\r\n>  ! [remote rejected] master -> master (pre-receive hook declined)\r\n> error: failed to push some refs to 'git@localhost:aplicacio1.git'\r\n\r\nAny idea for this error ? :( \r\n\r\nThanks.\r\n\r\nJoan.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tsuru/tsuru/issues/comments/192203437","html_url":"https://github.com/tsuru/tsuru/issues/1377#issuecomment-192203437","issue_url":"https://api.github.com/repos/tsuru/tsuru/issues/1377","id":192203437,"user":{"login":"magichk","id":17543960,"avatar_url":"https://avatars.githubusercontent.com/u/17543960?v=3","gravatar_id":"","url":"https://api.github.com/users/magichk","html_url":"https://github.com/magichk","followers_url":"https://api.github.com/users/magichk/followers","following_url":"https://api.github.com/users/magichk/following{/other_user}","gists_url":"https://api.github.com/users/magichk/gists{/gist_id}","starred_url":"https://api.github.com/users/magichk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magichk/subscriptions","organizations_url":"https://api.github.com/users/magichk/orgs","repos_url":"https://api.github.com/users/magichk/repos","events_url":"https://api.github.com/users/magichk/events{/privacy}","received_events_url":"https://api.github.com/users/magichk/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T09:25:09Z","updated_at":"2016-03-04T09:25:09Z","body":"Hi, \r\n\r\nYes, sure, I can document the process that I followed to run tsuru. I will re-install manually all the services and I will document it. I'll post it here when it's done!\r\n\r\nThanks."}}