-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature request: Clear OPcache after deployment #138
Comments
Hang on-- actually that should already happen; at least, there's a deployer-recipes/src/Recipes/AppRecipe.php Lines 124 to 128 in 00d4a05
Implementation-wise, that task uses cachetool to flush the OPcache via a shell command: deployer-recipes/src/Recipes/AppRecipe.php Lines 207 to 219 in 00d4a05
Could you check if the |
https://github.com/mittwald/deployer-recipes/blob/master/src/Recipes/AppRecipe.php#L217
|
Ooh, that would also explain the initial bug report. 💡 Thanks for the hint, I'll investigate. 👍 🕵️ |
It has happened to me several times that the changes I made to my code were not visible after deployment to the SpaceServer.
The first time this happened to me, after hours of unsuccessful searching for the error, I contacted Mittwald support, who then explained to me that it can happen that you have to clear the OPcache manually (by executing "touch ~/.config/php/php.ini").
Today I wasted another 20 minutes trying to figure out why my code wasn't working on the SpaceServer, until I remembered that I had forgotten to manually clear the OPcache again after deployment.
It's just super annoying and takes a ton of time, if you have to clear the OPcache manually after every deployment!!
That's why I would really like your deployer-recipes to include a function that automatically clears the OPcache after each successful deployment!
It would be great if you could add this feature!
The text was updated successfully, but these errors were encountered: