当我试图恢复备份时,我会得到以下错误:权限被拒绝-/var/www/..netrc
我想知道怎么修理它?提前感谢!
错误:权限被拒绝-/var/www/..netrc (Errno::EACCES)回溯: /usr/local/heroku/vendor/gems/netrc-0.7.7/lib/netrc.rb:37:in
read' /usr/local/heroku/vendor/gems/netrc-0.7.7/lib/netrc.rb:37:inread‘/usr/local/heroku/lib/heroku/auth.rb:119:innetrc' /usr/local/heroku/lib/heroku/auth.rb:143:inread_credentials’/usr/local/heroku/lib/heroku/auth.rb:84:inget\_credentials' /usr/local/heroku/lib/heroku/auth.rb:74:in密码‘/usr/local/heroku/lib/heroku/auth.rb:17:in /usr/local/heroku/lib/heroku/command/pgbackups.rb:204:in api‘/usr/local/heroku/lib/heroku/command/pgbackups.rb:53:inconfig\_vars' /usr/local/heroku/lib/heroku/command/pgbackups.rb:208:inpgbackup_client’/usr/local/heroku/lib/heroku/command/pgbackups.rb:53:inurl' /usr/local/heroku/lib/heroku/command.rb:206:inrun /usr/local/heroku/lib/heroku/cli.rb:28:instart' /usr/bin/heroku:25:in‘命令: heroku pgbackup:url -a sony-staging hannibal-mobo体版本:heroku-Tool传送带/2.36.1 (x86_64-linux) ruby/1.9.2
解决方案根据以下说明重新安装heroku-工具箱:
解决了这个问题。再次谢谢!)
发布于 2013-04-11 20:44:24
尝试用$ heroku update升级客户端。当前版本为2.37
发布于 2013-10-25 12:01:40
试着使用
sudo heroku登录
它在debian linux上对我有效。
https://stackoverflow.com/questions/15956258
复制相似问题