简单的PHP Google App Engine实时部署失败

时间:2013-06-18 05:38:25

标签: php google-app-engine

我已经获得了一个PHP白名单帐户,并创建了一个名为afreekaworld的简单helloworld应用程序...

app.yaml文件,看起来像这样

application: afreekaworld

版本:1 运行时:php api_version:1

处理程序: - url:/ stylesheets   static_dir:stylesheets

  • url:/。* 脚本:afreekaworld.php

afreekaworld.php

(1)我的所有上传都失败并出现错误 - 大量检查然后......

05:53 AM Checking if deployment succeeded.
2013-06-18 05:53:23,771 WARNING appcfg.py:1801 Version still not ready to serve,     aborting. 
013-06-18 05:53:23,771 ERROR appcfg.py:2049 An unexpected error occurred. Aborting. 
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-    default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line     2030, in DoUpload
app_summary = self.Commit()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-    default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line   1802, in Commit
raise Exception('Version not ready.')
Exception: Version not ready.
05:53 AM Rolling back the update.
Traceback (most recent call last):
File "/usr/local/bin/appcfg.py", line 171, in <module>
run_file(__file__, globals())
File "/usr/local/bin/appcfg.py", line 167, in run_file
execfile(script_path, globals_)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line  4247, in <module>
main(sys.argv)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine- default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line  4238, in main
result = AppCfgApp(argv).Run()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2396, in Run
self.action(self)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 3973, in __call__
return method()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2974, in Update
self.UpdateVersion(rpcserver, self.basepath, appyaml, yaml_file_basename)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2923, in UpdateVersion
return appversion.DoUpload(paths, openfunc)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 2030, in DoUpload
app_summary = self.Commit()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/appcfg.py", line 1802, in Commit
raise Exception('Version not ready.')
Exception: Version not ready.

(2)我尝试上传的其他一些应用,在日志中的实例网址管理员https://appengine.google.com/logs中显示错误日志,但尚未创建。

我的白名单提供是否有可能在某种程度上是腐败的,有人可以通过Google App引擎查看:-),因为我现在无法做任何有用的事情: - )

例如 - 这是我们日志中我们尝试部署的另一个应用程序...

2013-06-17 21:24:13.270 / 500 698ms 0kb Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 Firefox/21.0

46.65.177.73 - - [17/Jun/2013:21:24:13 -0700] "GET / HTTP/1.1" 500 406 - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:21.0) Gecko/20100101 Firefox/21.0" "afreekamobwp.appspot.com" ms=699 cpu_ms=454 cpm_usd=0.000045 loading_request=1 app_engine_release=1.8.1 instance=00c61b117c76a3a17827f8a385fb45c3a650

I 2013-06-17 21:24:13.270

This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application.

====================== 每次我们尝试从浏览器访问它时,它都会生成另一条错误警告消息,但实际上管理控制台没有列出单个实例,并且没有部署成功完成,它们都失败了 - 所以这个实例在哪里参考来自?以及如何解决?

非常感谢任何帮助: - )

Ps:刚刚在日志中找到了更多内容..它声称已经部署了应用程序,但我喜欢我之前没有列出任何实例的内容。

2013-06-17 22:54:59     apps-extensibility@google.com   Deleted builtin bundle     version: ah-builtin-datastoreservice.368168489818936938  
2013-06-17 22:48:52     apps-extensibility@google.com   Deleted builtin bundle   version: ah-builtin-datastoreservice.368168489818936938    
2013-06-17 22:48:24     apps-extensibility@google.com   Created builtin bundle version: ah-builtin-datastoreservice.368168489818936938  

2013-06-17 22:45:36 myemail@gmail.com部署了新版本= 1.2013-06-18T05:45:35Z     2013-06-17 21:39:12 myemail@gmail.com部署新版本= 1.2013-06-18T04:39:11Z     2013-06-17 21:35:24 myemail@gmail.com谷歌API控制台项目创建
2013-06-17 21:35:20 myemail@gmail.com创建应用程序

1 个答案:

答案 0 :(得分:1)

问题在于,虽然您的帐户已被列入白名单,但此特定应用尚未被列入白名单。我现在为你准备这个应用程序,所以再试一次。其他应用需要单独列入白名单 - 您可以在此处注册:https://gaeforphp.appspot.com/