douxie5176 2017-03-10 06:18
浏览 71
已采纳

将Google App Engine应用程序升级到灵活环境时,如何运行Google的aefix工具?

I am trying to upgrade a Google App Engine app from the standard environment to the flexible environment. I am having an issue similar to the one described here, except I am only seeing the following error:

ERROR: (gcloud.app.deploy) Your application does not satisfy all of the requirements for a runtime of type [go]. Please correct the errors and try again.

I cannot find a log which details the missed requirements.

Google describes how to update an older (standard) app to the flexible environment here. They suggest running the aefix tool, but there are no instructions on how to run the tool. I ran go get google.golang.org/appengine/cmd/aefix to install it. I also looked through the source code and saw the following usage requirement: usage: aefix [-diff] [-r fixname,...] [-force fixname,...] [path ...]. However, the aefix command is not found. (I also tried running the compiled binary at $GOPATH/bin/aefix, but it just hangs).

  • 写回答

1条回答 默认 最新

  • dsds661730652211 2017-03-13 06:17
    关注

    Sadly, that documentation was out of date. I've sent a pull request to fix it.

    Those APIs (mostly) do not work from App Engine flexible. They're only useful from Standard.

    See the documentation on cloud.google.com on migrating an app from the standard environment to flexible.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教