-
Notifications
You must be signed in to change notification settings - Fork 75
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
Problem with deploy after updated module with SFTP error in setup:di:compile step #155
Comments
They gave you a patched version of the Mageplaza module didn't they? |
Thank you for your response, probably this is the problem infact I use redis on my staging server. ` namespace :magento do in "deploy.rake" file in lib/task in magento capistrano folder, so maybe this override normal deploy but the end is the same...
Excuse for this, but you are the man and probably your solution is correct, but i have to understand it! Thank you in advance for your answer |
See, my latest response in that thread. I'm not using the override of "magento:maintenance:enable" anymore. |
OK, I used your final response in that thread like you say. But probably for my incompetence I din't manage to fix problem. Strange... in the past I have various problems with capistrano-magento2 but after some headache I resolve that, if you have some further advice for me your are the best! Thank you |
Seems that problem is plugin that I have installed, because in their forum, others people have my problem. Thank you Pascal for your answer |
Hello,
first of all I would like to thank those who maintain this capistrano-magento2, it is really very useful and its optimal functioning, but I have a problem.
I got to the point that I have to update a Mageplaza plugin not via composer but simply by copying the folder /app and overwriting it within the webserver. After doing the usual compilations and upgrades, clear the cache as usual ... everything in the development environment works fine.
But as soon as I go to deploy in my staging environment, capistrano gives me an error at the "setup: di: compile" step
"""
Interceptors generation...
Class Magento\Newsletter\Model\SubscriptionManagerInterface does not exist
Class Mageplaza\BetterMaintenance\Plugin\Controller\Subscriber\NewAction\In
terceptor generation error: The requested class did not generate properly,
because the 'generated' directory permission is read-only. If --- after run
ning the 'bin/magento setup:di:compile' CLI command when the 'generated' di
rectory permission is set to write --- the requested class did not generate
properly, then you must add the generated class object to the signature of
the related construct method, only.
"""
I can't understand why this, I've always updated the plugins via composer this is the first time that i updated plugin via SFTP. Can you tell me how I can proceed to resolve this fail deploy?
Thank you in advance for your answer
The text was updated successfully, but these errors were encountered: