Support the ongoing development of Laravel.io →
Installation Configuration Packages

Hello,

I've been running a Laravel 4 app on Pagoda Box for a few months, and it's been great. However, I just went to try and install a brand new Laravel 5 app on version 2 of Pagoda Box, and am getting an error I can't seem to fix.

When I deploy the app, Pagoda Box runs composer install and does a bunch of installing/cloning, but then I get the error below. I should add that my Boxfile contains this after_exec: "if [ ! -f composer.phar ]; then curl -s http://getcomposer.org/installer | php; fi; php composer.phar install --prefer-source"

symfony/var-dumper suggests installing ext-symfony_debug ()

symfony/translation suggests installing symfony/config ()
symfony/security-core suggests installing symfony/expression-language (For using the expression voter)
symfony/security-core suggests installing symfony/validator (For using the user password constraint)
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)

symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()

symfony/http-kernel suggests installing symfony/class-loader ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()

monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)

monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)

monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Use S3 storage with AWS SDK v2)

league/flysystem suggests installing league/flysystem-aws-s3-v3 (Use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage)

league/flysystem suggests installing league/flysystem-dropbox (Use Dropbox storage)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows SFTP server storage via phpseclib)

league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
league/flysystem suggests installing predis/predis (Allows you to use Predis for caching)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver (~2.4).)

laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.4).)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mailgun and Mandrill mail drivers (~5.0).)
laravel/framework suggests installing iron-io/iron_mq (Required to use the iron queue driver (~1.5).)
laravel/framework suggests installing league/flysystem-aws-s3-v2 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)

laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
phpspec/phpspec suggests installing phpspec/nyan-formatters (~1.0 – Adds Nyan formatters)
sebastian/global-state suggests installing ext-uopz (*)

phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)


Generating autoload files

PHP Warning:  require(/data/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /data/bootstrap/autoload.php on line 17
PHP Fatal error:  require(): Failed opening required '/data/bootstrap/../vendor/autoload.php' (include_path='.:') in /data/bootstrap/autoload.php on line 17

Warning: require(/data/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /data/bootstrap/autoload.php on line 17

Fatal error: require(): Failed opening required '/data/bootstrap/../vendor/autoload.php' (include_path='.:') in /data/bootstrap/autoload.php on line 17

Script php artisan clear-compiled handling the post-install-cmd event returned with an error

[RuntimeException]                                                                                                                                                        
Error Output: PHP Warning:  require(/data/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /data/bootstrap/autoload.php on line 17  
PHP Fatal error:  require(): Failed opening required '/data/bootstrap/../vendor/autoload.php' (include_path='.:') in /data/bootstrap/autoload.php on line 17

I spoke to Scott at Pagoda Box, and mentioned that I thought at first it might be a file write permission problem, but he said that during the build phase, the entire codebase is writable.

I'd appreciate any suggestions… Thank you :)

Last updated 2 years ago.
0

I thought I'd try changing the version of PHP I'm using, so I'm now using 5.5 instead of 5.6, and… It works! Well, it removes the above error, at least, and the deploy/build process completes. I'm now getting a blank page, but I'll work on that part next!

As an aside… Is there any reason why Laravel 5 wouldn't work with PHP 5.6? Or is it more likely to be an issue with Pagoda Box?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.