Google App Engine Project 已部署,但不会在 xxx.appspot.com 更新



我已经在本地创建了一个谷歌应用程序,并试图在app_id.appspot.com上查看它。该应用程序的项目在谷歌开发者的控制台上设置,我可以通过以下日志输出从应用程序引擎启动器成功部署:

    2015-07-17 08:42:59 Running command: "['C:\Python27\pythonw.exe', '-    u', 'C:\Program Files (x86)\Google\google_appengine\appcfg.py', '--   oauth2_credential_file=C:\Users\xxxx/.appcfg_oauth2_tokens', 'update',    'C:\Program Files\Google\Cloud SDK\app-iddefault']"
    08:43 AM Application: app-id; version: 6
    08:43 AM Host: appengine.google.com
    08:43 AM 
    Starting update of app: app-id, version: 6
    08:43 AM Getting current resource limits.
    08:43 AM Scanning files on local disk.
    08:43 AM Scanned 500 files.
    08:43 AM Cloning 2 static files.
    08:43 AM Cloning 727 application files.
    08:43 AM Uploading 1 files and blobs.
    08:43 AM Uploaded 1 files and blobs.
    08:43 AM Compilation starting.
    08:43 AM Compilation completed.
    08:43 AM Starting deployment.
    08:43 AM Checking if deployment succeeded.
    08:43 AM Deployment successful.
    08:43 AM Checking if updated app version is serving.
    08:43 AM Completed update of app: app-id, version: 6
    08:43 AM Uploading index definitions.
    2015-07-17 08:43:22 (Process exited with code 0)
    You can close this window now.

我使用的是Windows7,在cmd上也尝试过,输出相同。我尝试过更改版本号,等待过夜,并在app.yaml中将"default_expiration"设置为"1m",但没有骰子。地址app_id.appspot.com仍然显示该应用程序的旧版本。有什么建议吗?

看起来您正在上传版本标签为6的应用程序。登录谷歌云控制台,查看是否将版本6设置为默认服务版本。

https://console.developers.google.com/project/<your-app-id>/appengine/versions

相关内容

最新更新