Hello, I could use a little more information (e.g. stack trace, debugging 
log, screenshots, Google Cloud SDK version) to provide guidance here. 
However, I'll suggest a few reasons you encountered this along with some 
solutions I've seen:

1) you ran 'gcloud app deploy' and you are using a deprecated version of 
the SDK (run 'gcloud version' to check)

   - run 'gcloud components update' to upgrade to the latest Google Cloud 
   SDK [1]. At the time of this post the latest Google Cloud SDK version is 
   217.0 [2]
   - rerun 'gcloud app deploy --verbosity=debug' command (assuming you used 
   this) to deploy your app [3]. Take note of the verbosity flag to output a 
   debugging log [4].
   - A workaround I have seen is running 'gcloud config set 
   app/use_deprecated_preparation True'. Once that property is set, rerun the 
   deployment. Note that I haven't tested if this works but it worked for some 
   others on this thread in GitHub [5].

2) you are running into some limitation and using 'appcfg.py update 
[DEPLOYMENTS]' to deploy instead will output a more understandable error 
message [6][7].

   - You may be running into "Exceeded the limit of 1000 files per 
   directory..." Which is a hard limit in Google App Engine [8].
   - A simple workaround is to not put a large amount of files in a single 
   directory, or add in an exclude in 'skip_files' in your app.yaml file [9].

I hope one of these suggestions helps to resolve your deployment issue. If 
you still require more help you could try asking a question with more 
detail on the steps you took and the issues you encountered in 
StackOverflow [10].

[1] https://cloud.google.com/sdk/gcloud/reference/components/update
[2] https://cloud.google.com/sdk/docs/release-notes
[3] https://cloud.google.com/sdk/gcloud/reference/app/deploy
[4] https://cloud.google.com/sdk/gcloud/reference/#--verbosity
[5] https://github.com/GoogleCloudPlatform/getting-started-java/issues/281
[6] https://cloud.google.com/appengine/docs/standard/python/tools/uploadinganapp
[7] 
https://cloud.google.com/appengine/docs/standard/python/tools/appcfg-arguments
[8] https://stackoverflow.com/a/1462249
[9] 
https://cloud.google.com/appengine/docs/standard/python/config/appref#Python_app_yaml_Includes
[10] https://stackoverflow.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9ac05046-678e-4d57-a56d-451279deb1aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to