在GAE上部署Rails时出错

时间:2016-05-04 20:33:45

标签: ruby-on-rails ruby google-app-engine

部署到GAE(RoR)时,我收到此错误:

latest: digest: sha256:fae8a83d8a4503b9ca284ecfb70da5faf1b66b015804396c2282fae7fc5e4669 size: 75429
DONE
-----------------------------------------------------------------------------------------------------------------------------------------

Updating service [default]...failed.
ERROR: (gcloud.preview.app.deploy) Error Response: [13] The system encountered a fatal error

我不知道会发生什么。

我检查了日志,最后一个寄存器是关于docker build:

17:13:24.410 DONE { 元数据: {...} textPayload: " DONE" insertId: " 271f3953-7ca6-4282-960a-fcb35a2261a2-316" 日志: " cloudbuild" }

该应用程序正在开发和生产环境中出现错误。

  • Rails:4.2.6
  • Ruby:2.3.1
  • GCloud SDK:108.0.0

有人知道如何修复它吗?

非常感谢!

1 个答案:

答案 0 :(得分:0)

暂时解决:

只需向--docker-build=remote命令添加gcloud preview app deploy选项即可。 (远程构建正常工作)

要使用--verbosity debug选项调试命令。

编辑:

来自Google支持的回复:

Engineering is aware of an issue with the platform that would cause these errors. They are currently working on deploying a fix.