I have been looking for a way to disable a Magento module in a Magento Cloud Enterprise instance.

Whenever I run the bin/magento module:disable command, I get this error.

Command line user does not have read and write permissions on generated directory.

So how can I disable modules?

  • did you try with sudo? – ASQ Jan 16 at 7:59

On Magento cloud you need run deploy process.

Anything that is related with file change (not related with cache).

You can use magento-cloud command. Create branch , disable module, test it and deploy to live.



| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.