I am trying to deploy my first Symfony2 application.
A blank screen when trying to access it.
Check log:
$ sudo tail -f /var/log/apache2/error.log
[...] Throw a "RuntimeException" exception with the message "Could not write cache file [...]
Trying to put good cache and log rights
$ sudo chmod +a "www-data allow delete,write,[...]" app/cache app/logs
chmod: invalid mode: `+ a '
Trying with setfacl
$ sudo setfacl -R -mu:www-data:rwx -mu:`whoami`:rwx app/cache app/logs
setfacl: app / cache: operation not supported
setfacl: app / logs: operation not supported
I believe my partition is not set using acl or something like that.
Can't I just use cache and www logs logs? data?
debugging caching symfony deployment
Pierre de LESPINAY
source share