-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache:clear doesn't work #19
Comments
Any help would be welcomed ! |
Hey, sorry for the late response. Are you able to run the command via the real command line (ssh)? I suppose it is a permission problem. |
I can execute the command in the command line. But the user for the app/cache/* folders is not the same as the one I'm connected with (and that may indeed be the issue). I'll try to ask the server admin guys about it. |
Assuming this is solved by now on the server you are using? I cannot reproduce it here. |
I'm not yet fixed about it, as the IT service is really... slow to interact with us (development). But I'll open the issue again if I'm in the need. |
hi ! i had the same issue. command with ssh works fine ( with root user ) but it doesn't work with the bundle but everything else works fine. any idea ? |
Have you giving chmod 777 permissions to the /app/cache/ and all it's (just for diagnosis reasons)? It could be that if you have run cache:warmup via ssh the folders and files are created without write access for the user the webserver is running as. This would lead to the webserver not being able to modify the files afterwards. |
Could you try to create the app/cache/dev/annotations folder yourself? |
I the error occurred due to the --no-warmup flag which was automatically added to the cache:clear command when executed via web console. I forced this flag to prevent namespacing errors in earlier symfony versions but it seems to not necessary anymore. Could you please try the current master branch? |
i updated to the current master and i got this error i got a new directory in the cache folder : " de_ " by the way "cache:clear --no-optional-warmers" is working partially. (delete some folder but not all). (sorry for my poor english :) and i really appreciate your help ) |
Same problem here:
The "sessions" folder has 755 rights, and the right owner. If I delete it manually and run "cache:clear --no-warmup" it is created again and I get the same error. However, for production mode it works fine. My config: Hope this can help. |
Are you logged in during using the console? Could you try clearing the cache while being logged out? |
I was indeed logged in but logging out didn't change anything. The sessions folder is empty btw. |
Try running it like this: This works for me. |
I'm having issues executing the
cache:clear
command with this bundle.On my server :
Is it about webserver's user rights ?
In local :
And here is what I find in the logs for the local error :
Both commands work well from the command line.
I'm using Symfony 2.3.3 and CoreSphereConsoleBundle 0.1.0.
The text was updated successfully, but these errors were encountered: