gpt4 book ai didi

ubuntu - Heroku - 权限被拒绝?

转载 作者:行者123 更新时间:2023-12-04 18:53:30 26 4
gpt4 key购买 nike

当我尝试恢复备份时,出现以下错误: Permission denied -/var/www/.netrc

我想知道如何解决?提前致谢!

Error:       Permission denied - /var/www/.netrc (Errno::EACCES)
Backtrace: /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:in `read'
/usr/local/heroku/lib/heroku/auth.rb:119:in `netrc'
/usr/local/heroku/lib/heroku/auth.rb:143:in `read_credentials'
/usr/local/heroku/lib/heroku/auth.rb:84:in `get_credentials'
/usr/local/heroku/lib/heroku/auth.rb:74:in `password'
/usr/local/heroku/lib/heroku/auth.rb:17:in `api'
/usr/local/heroku/lib/heroku/command/base.rb:40:in `api'
/usr/local/heroku/lib/heroku/command/pgbackups.rb:204:in `config_vars'
/usr/local/heroku/lib/heroku/command/pgbackups.rb:208:in`pgbackup_client'
/usr/local/heroku/lib/heroku/command/pgbackups.rb:53:in `url'
/usr/local/heroku/lib/heroku/command.rb:206:in `run'
/usr/local/heroku/lib/heroku/cli.rb:28:in `start'
/usr/bin/heroku:25:in `<main>'

Command: heroku pgbackups:url -a sony-staging-hannibal-mobovivo
Version: heroku-toolbelt/2.36.1 (x86_64-linux) ruby/1.9.2


解决方案
根据以下说明重新安装 heroku-toolbelt:

https://toolbelt.heroku.com/

解决了这个问题。再次感谢你! :)

最佳答案

尝试使用 $ heroku update 升级您的客户端.当前版本是 2.37

关于ubuntu - Heroku - 权限被拒绝?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15956258/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com