无法克服“您没有权限修改此应用程序”的问题。

huangapple go评论130阅读模式
英文:

can't get over "You do not have permission to modify this app"

问题

我尝试了:

rm ~/.appcfg_oauth2_tokens

整个页面身份验证过程对于两个帐户(所有者角色)都成功完成,并且结果相同

appcfg.py update --no_cookies

结果相同

appcfg.py update --noauth_local_webserver

令牌显示在终端中被接受,进程继续向相同的结果进行。

我还尝试将另一个Google帐户添加为所有者,结果相同。当我输入应用程序名称时出现错误不同,所以我猜这不是问题。Goapp部署和appcfg似乎基本上是相同的工具,最终都有相同的结果。

有什么想法吗?

英文:

I tried:

rm ~/.appcfg_oauth2_tokens

Whole process with page authentication finish successfully for both accounts (owner role) with same result

appcfg.py update --no_cookies

Same result

appcfg.py update --noauth_local_webserver

Token is displayed, accepted in terminal, process continues towards same result.

I also tried to add another google account as owner, with same result. When I mistype application name, error is different, so I guess this is not a problem. Goapp deploy and appcfg seems to be same tool basically, both have same results in the end.

Any ideas?

答案1

得分: 0

请检查位于/webapp/WEB-INF的appengine-web文件,听起来你可能使用了一个保留的应用程序名称或应用程序+版本。

编辑:为了进一步咨询,我添加了该线程的结论。

从GCP控制台部署是解决该问题的有效方法。

https://cloud.google.com/sdk/gcloud/reference/app/create

https://cloud.google.com/appengine/docs/python/tools/uploadinganapp

英文:

Try checking the appengine-web file at /webapp/WEB-INF sounds like you have a reserved application name or application+version

Edit: For further consultation I am adding the conclusion of the thread.

Deploying from the GCP console was a valid workaround to the issue.

https://cloud.google.com/sdk/gcloud/reference/app/create

https://cloud.google.com/appengine/docs/python/tools/uploadinganapp

答案2

得分: 0

Nilo_DS的提示指向了正确的方向。使用gcloud命令,我成功地上传了应用程序。虽然在使用goapp命令时仍然不确定发生了什么,但这个解决方法对我来说已经足够好了。
我使用的命令是:

gcloud init
gcloud beta app create
gcloud deploy
英文:

Hint from Nilo_DS was pointing in right direction. Using gcloud commands, I was able to upload app correctly. Still not sure what is going on when using goapp command, but this workaround is good enough for me.
Commands I used were

gcloud init
gcloud beta app create
gcloud deploy

huangapple
  • 本文由 发表于 2017年1月3日 16:57:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/41439736.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定