Symfony assetic:dump runtime exception Symfony assetic:dump runtime exception php php

Symfony assetic:dump runtime exception


Try recreating your cache directories.

You can get all sort of weird behaviour when your cache is out-of-sync.

To clear your cache:

rm -rf app/cache/*sudo chmod +a "www-data allow delete,write,append,file_inherit,directory_inherit" app/cachesudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache

or

rm -rf app/cache/*sudo setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX app/cachesudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache


check your permissions, it seems you have no write permissions on

Unable to write file {path}/releases/20130314071536/app/../web/js/.

look here: http://symfony.com/doc/2.0/book/installation.html Setting up Permissions section.

One question...

Can you upload your deploy.rb config?did you set user, root mode ...?

You can also be more verbose by uncommenting the following line

logger.level = Logger::MAX_LEVEL

you will see step by step the deployment


Like the other users said, it's a problem with the permissions.

rm -rf symfonyProject/app/cache/*

chmod -R 755 symfonyProject/

chmod -R 777 symfonyProject/app/cache/

chmod -R 777 symfonyProject/app/logs/

Hope it helps