Heroku toolbelt fails update

后端 未结 4 827
被撕碎了的回忆
被撕碎了的回忆 2021-01-12 09:24

I\'m trying to get Heroku toolbelt working and it\'s a total nightmare. The install runs successfully, but when I run heroku update I get:

    $ heroku upda         


        
相关标签:
4条回答
  • 2021-01-12 09:42

    I had some problems installing Heroku on Windows. After installing and running at the command line for the first time, I got something like "Updating to 5.1.4-cc" and then simply 'panic:'. I couldn't find a '.heroku' folder, and after a lot of messing around, running heroku-cli.exe in {user}AppData\Local\heroku got it past that problem, then everything was good. Until this morning - one day later :) - when it tried updating again, to 5.1.5. I uninstalled everything, re-installed, same issue - but this time there was a '.heroku' folder, and deleting that got past the update issue.

    Cheers

    0 讨论(0)
  • 2021-01-12 09:47

    Dont have much fuss about about uninstalling and reinstalling it again. Just Delete .heroku folder and it will start working fine...

    0 讨论(0)
  • 2021-01-12 09:59

    Heroku toolbelt is nice, but heroku_san offers all that and more. Maybe give it a shot?

    https://github.com/fastestforward/heroku_san

    0 讨论(0)
  • 2021-01-12 10:01

    Heroku support finally helped me fix this. Long story short, if you're having this issue, just run:

    $ rm -rf ~/.heroku/client
    

    Then reinstall the Heroku Toolbelt from http://toolbelt.heroku.com

    If you want the long answer, here you go:

    There appear to be some edge cases where update ended up with some incorrect data and it is somewhat more difficult to recover from this. If you first delete the ~/.heroku/client directory and subsequently run the installer you should end up with a working result.

    0 讨论(0)
提交回复
热议问题