Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symfony2 assets in --env=prod mode --no-debug are not installing #1

Open
sumkincpp opened this issue Feb 27, 2013 · 0 comments
Open
Labels

Comments

@sumkincpp
Copy link
Owner

Apparently, this is due fact, that assets somehow use relative to ${BUILD_DIR} path

$ heroku logs >
2013-02-27T12:40:17+00:00 app[web.1]: #0 /app/app/cache/prod/classes.php(9912): Monolog\Handler\StreamHandler->write(Array) 2013-02-27T12:40:17+00:00 app[web.1]: #1 /app/app/cache/prod/classes.php(9808): Monolog\Handler\AbstractProcessingHandler->handle(Array) 2013-02-27T12:40:17+00:00 app[web.1]: #3 /app/app/cache/prod/classes.php(10334): Monolog\Handler\FingersCrossedHandler->handle(Array) 2013-02-27T12:40:17+00:00 app[web.1]: #4 /app/app/cache/prod/classes.php(10450): Monolog\Logger->addRecord(500, 'InvalidArgument...', Array) 2013-02-27T12:40:17+00:00 app[web.1]: #5 /app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(55): Monolog\Logger->crit('InvalidArgument...') 2013-02-27T12:40:17+00:00 app[web.1]: #6 [internal function]: Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\E in /app/app/cache/prod/classes.php on line 9983 2013-02-27T12:40:17+00:00 heroku[router]: at=info method=GET path=/ host=lpct.herokuapp.com fwd="184.73.237.85" dyno=web.1 queue=0 wait=0ms connect=1ms service=13ms status=500 bytes=5 2013-02-27T12:40:34+00:00 heroku[router]: at=info method=GET path=/ host=lpct.herokuapp.com fwd="50.18.57.7" dyno=web.1 queue=0 wait=0ms connect=6ms service=12ms status=500 bytes=5 2013-02-27T12:40:35+00:00 app[web.1]: [27-Feb-2013 12:40:34 UTC] PHP Fatal error: Uncaught exception 'UnexpectedValueException�4P P��9�' with message 'The stream or file "/tmp/build_1m2xrf5g9fdu/app/logs/prod.log" could not be opened: failed to open stream: No such file or directory' in /app/app/cache/prod/classes.php:9983 2013-02-27T12:40:35+00:00 app[web.1]: #0 /app/app/cache/prod/classes.php(9912): Monolog\Handler\StreamHandler->write(Array) 2013-02-27T12:40:35+00:00 app[web.1]: #1 /app/app/cache/prod/classes.php(9808): Monolog\Handler\AbstractProcessingHandler->handle(Array) 2013-02-27T12:40:35+00:00 app[web.1]: Stack trace: 2013-02-27T12:40:35+00:00 app[web.1]: #2 /app/app/cache/prod/classes.php(10052): Monolog\Handler\AbstractHandler->handleBatch(Array) 2013-02-27T12:40:35+00:00 app[web.1]: #4 /app/app/cache/prod/classes.php(10450): Monolog\Logger->addRecord(500, 'InvalidArgument...', Array) 2013-02-27T12:40:35+00:00 app[web.1]: #6 [internal function]: Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\E in /app/app/cache/prod/classes.php on line 9983 2013-02-27T12:40:35+00:00 app[web.1]: #5 /app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(55): Monolog\Logger->crit('InvalidArgument...') 2013-02-27T12:40:35+00:00 app[web.1]: #3 /app/app/cache/prod/classes.php(10334): Monolog\Handler\FingersCrossedHandler->handle(Array) 2013-02-27T12:40:45+00:00 heroku[router]: at=info method=GET path=/ host=lpct.herokuapp.com fwd="204.93.223.151" dyno=web.1 queue=0 wait=0ms connect=1ms service=109ms status=500 bytes=5 2013-02-27T12:40:46+00:00 app[web.1]: [27-Feb-2013 12:40:45 UTC] PHP Fatal error: Uncaught exception 'UnexpectedValueException�4P P��9�' with message 'The stream or file "/tmp/build_1m2xrf5g9fdu/app/logs/prod.log" could not be opened: failed to open stream: No such file or directory' in /app/app/cache/prod/classes.php:9983 2013-02-27T12:40:46+00:00 app[web.1]: Stack trace: 2013-02-27T12:40:46+00:00 app[web.1]: #0 /app/app/cache/prod/classes.php(9912): Monolog\Handler\StreamHandler->write(Array) 2013-02-27T12:40:46+00:00 app[web.1]: #3 /app/app/cache/prod/classes.php(10334): Monolog\Handler\FingersCrossedHandler->handle(Array) 2013-02-27T12:40:46+00:00 app[web.1]: #5 /app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(55): Monolog\Logger->crit('InvalidArgument...') 2013-02-27T12:40:46+00:00 app[web.1]: #1 /app/app/cache/prod/classes.php(9808): Monolog\Handler\AbstractProcessingHandler->handle(Array) 2013-02-27T12:40:46+00:00 app[web.1]: #6 [internal function]: Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\E in /app/app/cache/prod/classes.php on line 9983 2013-02-27T12:40:46+00:00 app[web.1]: #2 /app/app/cache/prod/classes.php(10052): Monolog\Handler\AbstractHandler->handleBatch(Array) 2013-02-27T12:40:46+00:00 app[web.1]: #4 /app/app/cache/prod/classes.php(10450): Monolog\Logger->addRecord(500, 'InvalidArgument...', Array) 2013-02-27T12:41:12+00:00 heroku[router]: at=info method=GET path=/ host=lpct.herokuapp.com fwd="50.112.95.211" dyno=web.1 queue=0 wait=0ms connect=2ms service=38ms status=500 bytes=5 2013-02-27T12:41:12+00:00 app[web.1]: #5 /app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(55): Monolog\Logger->crit('InvalidArgument...') 2013-02-27T12:41:12+00:00 app[web.1]: #2 /app/app/cache/prod/classes.php(10052): Monolog\Handler\AbstractHandler->handleBatch(Array) 2013-02-27T12:41:12+00:00 app[web.1]: [27-Feb-2013 12:41:12 UTC] PHP Fatal error: Uncaught exception 'UnexpectedValueException�4P P��9�' with message 'The stream or file "/tmp/build_1m2xrf5g9fdu/app/logs/prod.log" could not be opened: failed to open stream: No such file or directory' in /app/app/cache/prod/classes.php:9983 2013-02-27T12:41:12+00:00 app[web.1]: #3 /app/app/cache/prod/classes.php(10334): Monolog\Handler\FingersCrossedHandler->handle(Array) 2013-02-27T12:41:12+00:00 app[web.1]: Stack trace: 2013-02-27T12:41:12+00:00 app[web.1]: #1 /app/app/cache/prod/classes.php(9808): Monolog\Handler\AbstractProcessingHandler->handle(Array) 2013-02-27T12:41:12+00:00 app[web.1]: #0 /app/app/cache/prod/classes.php(9912): Monolog\Handler\StreamHandler->write(Array) 2013-02-27T12:41:12+00:00 app[web.1]: #4 /app/app/cache/prod/classes.php(10450): Monolog\Logger->addRecord(500, 'InvalidArgument...', Array) 2013-02-27T12:41:12+00:00 app[web.1]: #6 [internal function]: Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\E in /app/app/cache/prod/classes.php on line 9983 2013-02-27T12:41:17+00:00 heroku[router]: at=info method=GET path=/ host=lpct.herokuapp.com fwd="184.73.237.85" dyno=web.1 queue=0 wait=0ms connect=1ms service=80ms status=500 bytes=5 2013-02-27T12:41:18+00:00 app[web.1]: #4 /app/app/cache/prod/classes.php(10450): Monolog\Logger->addRecord(500, 'InvalidArgument...', Array) 2013-02-27T12:41:18+00:00 app[web.1]: [27-Feb-2013 12:41:17 UTC] PHP Fatal error: Uncaught exception 'UnexpectedValueException�4P P��9�' with message 'The stream or file "/tmp/build_1m2xrf5g9fdu/app/logs/prod.log" could not be opened: failed to open stream: No such file or directory' in /app/app/cache/prod/classes.php:9983 2013-02-27T12:41:18+00:00 app[web.1]: Stack trace: 2013-02-27T12:41:18+00:00 app[web.1]: #0 /app/app/cache/prod/classes.php(9912): Monolog\Handler\StreamHandler->write(Array) 2013-02-27T12:41:18+00:00 app[web.1]: #6 [internal function]: Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\E in /app/app/cache/prod/classes.php on line 9983 2013-02-27T12:41:18+00:00 app[web.1]: #1 /app/app/cache/prod/classes.php(9808): Monolog\Handler\AbstractProcessingHandler->handle(Array) 2013-02-27T12:41:18+00:00 app[web.1]: #3 /app/app/cache/prod/classes.php(10334): Monolog\Handler\FingersCrossedHandler->handle(Array) 2013-02-27T12:41:18+00:00 app[web.1]: #2 /app/app/cache/prod/classes.php(10052): Monolog\Handler\AbstractHandler->handleBatch(Array) 2013-02-27T12:41:18+00:00 app[web.1]: #5 /app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(55): Monolog\Logger->crit('InvalidArgument...') 2013-02-27T12:41:34+00:00 app[web.1]: #0 /app/app/cache/prod/classes.php(9912): Monolog\Handler\StreamHandler->write(Array) 2013-02-27T12:41:34+00:00 app[web.1]: [27-Feb-2013 12:41:34 UTC] PHP Fatal error: Uncaught exception 'UnexpectedValueException�4P P��9�' with message 'The stream or file "/tmp/build_1m2xrf5g9fdu/app/logs/prod.log" could not be opened: failed to open stream: No such file or directory' in /app/app/cache/prod/classes.php:9983 2013-02-27T12:41:34+00:00 app[web.1]: Stack trace: 2013-02-27T12:41:34+00:00 app[web.1]: #5 /app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(55): Monolog\Logger->crit('InvalidArgument...') 2013-02-27T12:41:34+00:00 app[web.1]: #1 /app/app/cache/prod/classes.php(9808): Monolog\Handler\AbstractProcessingHandler->handle(Array) 2013-02-27T12:41:34+00:00 app[web.1]: #3 /app/app/cache/prod/classes.php(10334): Monolog\Handler\FingersCrossedHandler->handle(Array) 2013-02-27T12:41:34+00:00 app[web.1]: #6 [internal function]: Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\E in /app/app/cache/prod/classes.php on line 9983 2013-02-27T12:41:34+00:00 app[web.1]: #2 /app/app/cache/prod/classes.php(10052): Monolog\Handler\AbstractHandler->handleBatch(Array) 2013-02-27T12:41:34+00:00 app[web.1]: #4 /app/app/cache/prod/classes.php(10450): Monolog\Logger->addRecord(500, 'InvalidArgument...', Array) 2013-02-27T12:41:45+00:00 heroku[router]: at=info method=GET path=/ host=lpct.herokuapp.com fwd="204.93.223.151" dyno=web.1 queue=0 wait=0ms connect=1ms service=22ms status=500 bytes=5 2013-02-27T12:41:45+00:00 app[web.1]: #0 /app/app/cache/prod/classes.php(9912): Monolog\Handler\StreamHandler->write(Array) 2013-02-27T12:41:45+00:00 app[web.1]: #1 /app/app/cache/prod/classes.php(9808): Monolog\Handler\AbstractProcessingHandler->handle(Array) 2013-02-27T12:41:45+00:00 app[web.1]: Stack trace: 2013-02-27T12:41:45+00:00 app[web.1]: #2 /app/app/cache/prod/classes.php(10052): Monolog\Handler\AbstractHandler->handleBatch(Array) 2013-02-27T12:41:45+00:00 app[web.1]: #3 /app/app/cache/prod/classes.php(10334): Monolog\Handler\FingersCrossedHandler->handle(Array) 2013-02-27T12:41:45+00:00 app[web.1]: [27-Feb-2013 12:41:45 UTC] PHP Fatal error: Uncaught exception 'UnexpectedValueException�4P P��9�' with message 'The stream or file "/tmp/build_1m2xrf5g9fdu/app/logs/prod.log" could not be opened: failed to open stream: No such file or directory' in /app/app/cache/prod/classes.php:9983 2013-02-27T12:41:45+00:00 app[web.1]: #4 /app/app/cache/prod/classes.php(10450): Monolog\Logger->addRecord(500, 'InvalidArgument...', Array) 2013-02-27T12:41:45+00:00 app[web.1]: #5 /app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionListener.php(55): Monolog\Logger->crit('InvalidArgument...') 2013-02-27T12:41:45+00:00 app[web.1]: #6 [internal function]: Symfony\Component\HttpKernel\EventListener\ExceptionListener->onKernelException(Object(Symfony\Component\HttpKernel\E in /app/app/cache/prod/classes.php on line 9983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant