{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2960","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2960/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2960/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2960/events","html_url":"https://github.com/travis-ci/travis-ci/issues/2960","id":48833517,"number":2960,"title":"`git stash` fails during deployment","user":{"login":"riggerthegeek","id":275848,"avatar_url":"https://avatars.githubusercontent.com/u/275848?v=3","gravatar_id":"","url":"https://api.github.com/users/riggerthegeek","html_url":"https://github.com/riggerthegeek","followers_url":"https://api.github.com/users/riggerthegeek/followers","following_url":"https://api.github.com/users/riggerthegeek/following{/other_user}","gists_url":"https://api.github.com/users/riggerthegeek/gists{/gist_id}","starred_url":"https://api.github.com/users/riggerthegeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riggerthegeek/subscriptions","organizations_url":"https://api.github.com/users/riggerthegeek/orgs","repos_url":"https://api.github.com/users/riggerthegeek/repos","events_url":"https://api.github.com/users/riggerthegeek/events{/privacy}","received_events_url":"https://api.github.com/users/riggerthegeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-14T20:02:30Z","updated_at":"2015-09-21T04:50:21Z","closed_at":null,"body":"I'm trying to make deployments to OpenShift from tags.  Knowing the existing tags deployment bug (https://github.com/travis-ci/travis-ci/issues/1675) I'd set `all_branches:true` and `tags:true`.  However, the deployment still fails.\r\n\r\nLooking through the logs (https://travis-ci.org/riggerthegeek/kitbag-api/builds/41031580), it appears to start the deployment but there's an error in the **preparing deployment** section.  From line 1383:\r\n\r\n    Preparing deploy\r\n    authenticated as riggerthegeek\r\n    found app kitbagapi\r\n    Generating public/private rsa key pair.\r\n    Your identification has been saved in .dpl/id_rsa.\r\n    Your public key has been saved in .dpl/id_rsa.pub.\r\n    The key fingerprint is:\r\n    ea:b6:d0:c9:d1:e2:a8:16:cc:76:d4:9e:55:fb:71:8a testing-worker-linux-9-2-9206-linux-14-41031581\r\n    The key's randomart image is:\r\n    +--[ RSA 2048]----+\r\n    | |\r\n    | . |\r\n    | . . . |\r\n    | . ... . . . |\r\n    | o . .ooS o + |\r\n    | = .=o= E o |\r\n    | . oo * |\r\n    | .. o. |\r\n    | .. .o. |\r\n    +-----------------+\r\n    /usr/lib/git-core/git-stash: 186: /usr/lib/git-core/git-stash: cannot create /home/travis/build/riggerthegeek /kitbag-api/.git/logs/refs/stash: Directory nonexistent\r\n\r\nThe final line is where it gets an error.  As it refers to the .git/logs/refs/stash folder, I'm getting that I might need to do something in the _pre_deploy_ section - does anyone have any ideas?"},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/141877459","html_url":"https://github.com/travis-ci/travis-ci/issues/2960#issuecomment-141877459","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/2960","id":141877459,"user":{"login":"project-vrum","id":12262462,"avatar_url":"https://avatars.githubusercontent.com/u/12262462?v=3","gravatar_id":"","url":"https://api.github.com/users/project-vrum","html_url":"https://github.com/project-vrum","followers_url":"https://api.github.com/users/project-vrum/followers","following_url":"https://api.github.com/users/project-vrum/following{/other_user}","gists_url":"https://api.github.com/users/project-vrum/gists{/gist_id}","starred_url":"https://api.github.com/users/project-vrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-vrum/subscriptions","organizations_url":"https://api.github.com/users/project-vrum/orgs","repos_url":"https://api.github.com/users/project-vrum/repos","events_url":"https://api.github.com/users/project-vrum/events{/privacy}","received_events_url":"https://api.github.com/users/project-vrum/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T04:50:21Z","updated_at":"2015-09-21T04:50:21Z","body":"Getting this issue all of a sudden too. "}}