Error assets:install web
Hi everyone,
I have a project with Symfony2 and I use your bundle to execute my command lines. I have an error when I write assets:install web :
[Symfony\Component\Filesystem\Exception\IOException] Failed to remove file "web/bundles/framework/images/blue_picto_more.gif".
So, I have to do updates manually... I saw on the web that it was a permissions issue of the command line user. I read the "Setting up permissions" paragraph here http://symfony.com/doc/current/book/installation.html but the 'chmod +a' solution doesn't work, I'm not very friendly with ACL and the umask solution doesn't work either.
I don't know what to do now to make it work. My app/cache and app/logs folders have 777 rights. I can edit the httpd.conf of my server but I don't know what to write...
the cache:clear command works for me.
When I test php app/console assets:install web with a SSH connection (root user), I have this error : [RuntimeException] Could not create cache directory "/path_of_my_website/httpdocs/app/cache/dev/annotations".
I don't understand because this folder is already created and it has 777 rights. I did this to be sure : chmod -R 777 app/cache
I don't know very well command lines, so if you could explain me in a simple way, I will be thankful.
If it does not work even via ssh then it seems to be not a problem with this bundle.
Have you tried removing all the contents of the /web/bundles/ folder via ssh manually and then run assets:install via the web console?
No it doesn't work : [Symfony\Component\Filesystem\Exception\IOException] Failed to create "web/bundles/framework": mkdir() [function.mkdir]: Permission denied.
what chmod is assigned to the web/bundles folder?
web/bundles/ has 755 and for example, .htaccess has 644.
pretty sure this is missconfigured acl or something else messy on your host, nothing related to this plugin neither symfony