I follow the symbol guide: http://tutorial.symblog.co.uk/docs/doctrine-2-the-blog-model.html
I try to run: $ php composer.phar update after updating composer.json , but get the following error:
[Symfony \ Component \ Filesystem \ Exception \ IOException]
Failed to delete the file "/var/webroot/vhosts/mysite.co.uk/htdocs/Symfony/app/cache/dev_old/profiler/32/95/639532"
Permissions for this file: 0644 was the owner of www-data, and the group was sambashare, which includes the user am ssh'd in as (john).
How does it work php from the command line, php runs as "john", thus, in the group of the file to be deleted, but not the user?
Runtime error at the end:
[RuntimeException]
An error occurred while executing the command "cache: clear --no-warmup".
After a little search, some people just said that he cleared this cache manually .. but how can I fix this problem in the root, so I donβt have to do it manually?
Thanks, John
John
source share