I have deployed a Symfony2 app to Heroku with CHH heroku-buildpack-php.
After pushing the code to heroku, I use 'heroku run bash' to:
1) php app/console cache:clear --env=prod
2) php app/console assets:install --symlink
3) php app/console assetic:dump --env=prod
Anyhow, dumped assets on /web/bundles/... are not served and they show a 404 Not Found (I mean, each asset separately is not found). But for example, /web/favicon.ico is properly served to the client.
This is not happening in dev mode, in my localhost.
Could it be any permission issue on the server? Should I run those commands in Procfile, and how?
Thanks in advance.