Google App Engine Deployment Failed, “empty index configuration”

安稳与你 提交于 2019-12-22 04:09:06

问题


I've been trying to push my local copy to the remote repository. However, the following error shows up on my console:

Total 0 (delta 0), reused 0 (delta 0)
remote: Deploying...
remote: Created deployment: uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1382264909584
remote: Created deployment: uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1382264909584
remote: Created deployment: uconnect-dev-server.clouddev.gaeTemplate-d981b975f1ecaa6d.deployment_1382264909584
remote: Deployment failed: Deployment failed, details: { Failed to load application, Empty index configuration., none}
To https://code.google.com/id/-i5ivOq1gug/
   fe3d360..51bda59  dev -> master

The same issue also happens when I use master -> master. What "index configuration" is being referred to here? I've already done the commit locally and the push to the remote server is the only issue.

Thanks for the help!


回答1:


What language is this app running? GAE apps have an optional 'datastore index configuration file' (python, java). If you have an empty index file, GAE throws this error during deployment. (Git has nothing to do with this error by the way. This is strictly a GAE issue). If you don't need a datastore index, delete the the index.yaml/datastore-indexes.xml file completely. This might solve your issue.



来源:https://stackoverflow.com/questions/19476417/google-app-engine-deployment-failed-empty-index-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!