我在本地创建了一个Google应用,并尝试在 app_id .appspot.com上看到它。该应用程序的项目是在Google Developer的控制台上设置的,我可以使用以下日志输出从App Engine Launcher成功部署:
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-id\default']"
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.
我在Windows 7上并且在cmd上尝试了这个并且具有相同的输出。我已经尝试更改版本号,等待一夜,并在app.yaml中将“default_expiration”设置为“1m”,但没有骰子。地址 app_id .appspot.com仍会显示应用程序的旧版本。关于该怎么做的任何建议?
答案 0 :(得分:6)
您似乎正在使用版本标签上传您的应用程序6.登录Google云端控制台并检查版本6是否设置为默认服务版本。
https://console.developers.google.com/project/<your-app-id>/appengine/versions