【发布时间】:2016-02-03 06:55:33
【问题描述】:
从昨天开始,我一直在尝试在 Google Cloud SDK 上部署我的项目,并且一遍又一遍地遇到同样的错误。
我的 app.yaml 文件如下所示:
runtime: python27
api_version: 1
threadsafe: yes
- url: /
static_files: bin/index.html
upload: bin/index.html
- url: /assets
static_dir: bin/assets
- url: /src
static_dir: bin/src
- url: /vendor
static_dir: bin/vendor
- url: /templates-app.js
static_files: static/templates-app.js
upload: static/templates-app.js
- url: /templates-common.js
static_files: static/templates-common.js
upload: static/templates-common.js
- url: .*
script: main.app
我使用这个命令来部署:
gcloud preview app deploy app.yaml --version 1 --promote --force
我得到这个错误:
Beginning deployment...
Copying files to Google Cloud Storage...
Synchronizing files to [gs://staging.myapp.appspot.com/].
Updating module [default]...failed.
ERROR: (gcloud.preview.app.deploy) Error Response: [13] An internal error occurred.
【问题讨论】:
标签: google-app-engine google-cloud-platform