I am doing the Magento Cloud Docker setup in my Ubuntu server, however I need to bypass the 2 factor authentication because I am setup in local. I know that we can disable the related module for the normal setup, but how to do it with Magento Cloud Docker? I keep seeing Autoload error: We can't read some files that are required to run the Magento application. This usually means file permissions are set incorrectly. when I run module:disable. Can anyone guide me on what I miss here? I am attaching the screenshot of the error message and the ownership of the files and directories here.enter image description here

  • have you tried composer install
    – Rana Zain
    Feb 26 at 7:43
  • Sorry @rana, can you please elaborate on this?
    – ooi18
    Feb 26 at 7:45
  • please check my updated, if anything more requires please ask
    – Rana Zain
    Feb 26 at 7:50
  • The files user is www-data. Try adding yourself to that group sudo usermod -aG www-data user
    – S.Murtadha
    Feb 26 at 12:28
  • hi @s-murtadha, I have tried that and run the module disable again but still the same, anything else I can do here?
    – ooi18
    Feb 27 at 0:06


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.