googlearchive / symfony-standard

Symfony for GAE (originally from SensioLabs)
http://symfony.com
11 stars 5 forks source link

Can't deploy successfully symfony example #1

Open smace opened 9 years ago

smace commented 9 years ago

Hello, I'm not able to successfully deploy your example to GCE:

The first error appear while running:

$ appcfg.py update .

2015-06-18 15:14:29,043 ERROR appcfg.py:1920 Invalid character in filename: vendor/symfony/symfony/src/Symfony/Component/Finder/Tests/Fixtures/r+e.gex[c]a(r)s/dir/bar.dat 03:15 PM Compilation starting. 03:15 PM Compilation completed. 03:15 PM Starting deployment. 03:15 PM Checking if deployment succeeded. 03:15 PM Deployment successful. 03:15 PM Checking if updated app version is serving. 03:15 PM Completed update of app: sbire-980, version: 1

After clear_cache, while browsing /app/example, I have the following errors:

Warning: include(gs://sbire/symfony/cache/classes.map): failed to open stream: "\google\appengine\ext\cloud_storage_streams\CloudStorageStreamWrapper::stream_open" call failed in /base/data/home/apps/e~sbire-980/1.385106447907790979/app/bootstrap.php.cache on line 2519 Warning: include(): Failed opening 'gs://sbire/symfony/cache/classes.map' for inclusion (include_path='.;/base/data/home/apps/e~sbire-980/1.385106447907790979/;/base/data/home/runtimes/php/sdk') in /base/data/home/apps/e~sbire-980/1.385106447907790979/app/bootstrap.php.cache on line 2519 Warning: array_unique() expects parameter 1 to be array, boolean given in /base/data/home/apps/e~sbire-980/1.385106447907790979/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php on line 59 Catchable fatal error: Argument 1 passed to Symfony\Component\ClassLoader\ClassCollectionLoader::getOrderedClasses() must be of the type array, null given, called in /base/data/home/apps/e~sbire-980/1.385106447907790979/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php on line 98 and defined in /base/data/home/apps/e~sbire-980/1.385106447907790979/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php on line 251

Can you help me to fix this ?

marslangoog commented 9 years ago

Can you share the content of your app.yaml file? Is the GCS bucket "sbire" accessible by your GAE app?