'generated' directory permission is read-only #178
Unanswered
MidnightRoller
asked this question in
Q&A
Replies: 1 comment 1 reply
-
to fix https loop permissions issue as because you have to create multiple environments and build/deploy from github with actions |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
After running magenx.sh on a fresh minimal Debian 11 and uncomenting SSL lines in the 3 nginx configuration files I am stuck in a 302 https -> http -> https loop on the front-end.
Admin page loads fine prompting to configure 2FA and email sent.
I ran:
php bin/magento deploy:mode:set production
debug.log contains many errors such as:
Prior to this I had the same issue on a Debian 11 minimal install and I made many attempts to correct the issue by changing permissions in generated/, adjusting magento_umask etc but I was unable to resolve the issue and after enabling google 2fa I was just getting a message "Error" after code entry hence the fresh install of OS to see if issue was repeatable.
I would really appreciate it if someone could point me in the right direction to debug this error as I am brand new to Magento.
Beta Was this translation helpful? Give feedback.
All reactions