heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 382 forks source link

Unable to run any commands from heroku-cli #2056

Open joniba opened 7 years ago

joniba commented 7 years ago

OS: Windows 10 Home Build: 15063.296

UPDATE: Actually I am unable to run any command. Every command returns the below error, e.g., "heroku --version":

heroku-cli: Installing CLI... 18.45MB/18.45MB ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       Permission denied @ rb_sysopen - C:\Users\jbena\AppData\Local/heroku/cli/lib/node.exe (Errno::EACCES)
Command:     heroku --version
Version:     heroku/toolbelt/3.43.16 (i386-mingw32) ruby/2.1.7
Error ID:    4b9d12bedfd244cfa984afe137db28e7

More information in C:/Users/jbena/.heroku/error.log

As of 10:23 AM GMT+2:00, I am unable to connect to my app. I get the following output:

heroku-cli: Installing CLI... 18.45MB/18.45MB ! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error:       Permission denied @ rb_sysopen - C:\Users\jbena\AppData\Local/heroku/cli/lib/node.exe (Errno::EACCES)
Command:     heroku logs --tail -a tabit-api-hub
Version:     heroku/toolbelt/3.43.16 (i386-mingw32) ruby/2.1.7
Error ID:    1cf1fcb91bf04887b8c9e801794b8140

More information in C:/Users/jbena/.heroku/error.log

Error log:

Heroku client internal error. Permission denied @ unlink_internal - C:/Users/jbena/AppData/Local/Temp/d20170515-7704-1ore2zi/heroku.zip C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1460:in unlink' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1460:inblock in remove_file' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1468:in platform_support' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1459:inremove_file' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1448:in remove' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:776:inblock in remove_entry' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1498:in block (2 levels) in postorder_traverse' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1502:inpostorder_traverse' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1497:in block in postorder_traverse' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1496:ineach' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:1496:in postorder_traverse' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/fileutils.rb:774:inremove_entry' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/tmpdir.rb:94:in ensure in mktmpdir' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/tmpdir.rb:94:inmktmpdir' C:/Users/jbena/.heroku/client/lib/heroku/updater.rb:125:in block in update' C:/Users/jbena/.heroku/client/lib/heroku/updater.rb:92:inwait_for_lock' C:/Users/jbena/.heroku/client/lib/heroku/updater.rb:121:in update' C:/Users/jbena/.heroku/client/lib/heroku/updater.rb:109:inrescue in autoupdate' C:/Users/jbena/.heroku/client/lib/heroku/updater.rb:105:in autoupdate' C:/Users/jbena/.heroku/client/lib/heroku/cli.rb:36:instart' C:/Program Files (x86)/Heroku/bin/heroku:29:in <main>' Heroku client internal error. Permission denied @ rb_sysopen - C:\Users\jbena\AppData\Local/heroku/cli/lib/node.exe C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:188:ininitialize' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:188:in open' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:188:inblock (4 levels) in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:64:in each' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:179:inblock (3 levels) in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:28:in new' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:177:inblock (2 levels) in setup' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:176:in open' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:176:inblock in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/tmpdir.rb:88:in mktmpdir' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:144:insetup' C:/Users/jbena/.heroku/client/lib/heroku/cli.rb:28:in start' C:/Program Files (x86)/Heroku/bin/heroku:29:in

' Heroku client internal error. Permission denied @ rb_sysopen - C:\Users\jbena\AppData\Local/heroku/cli/lib/node.exe C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:188:in initialize' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:188:inopen' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:188:in block (4 levels) in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:64:ineach' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:179:in block (3 levels) in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/rubygems/package/tar_reader.rb:28:innew' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:177:in block (2 levels) in setup' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:176:inopen' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:176:in block in setup' C:/Program Files (x86)/Heroku/ruby-2.1.7/lib/ruby/2.1.0/tmpdir.rb:88:inmktmpdir' C:/Users/jbena/.heroku/client/lib/heroku/jsplugin.rb:144:in setup' C:/Users/jbena/.heroku/client/lib/heroku/cli.rb:28:instart' C:/Program Files (x86)/Heroku/bin/heroku:29:in `
'

jdx commented 7 years ago

please reinstall, you're using the old CLI