Suddenly, aften my technical supporter increased the maximum file upload for the course, I cannot login with any of my 3 users (admin, demoUser1, demoUser2 in my Moodle site. I have access to the database via PhpMyAdmin.
I tried the following:
1. Forgot password default feature from login page link, but no email is sent.
2. Reset password manually via ssh with the following command, but it didn't work beacuse it prompted me to give a password for the sudo command, despite the fact that I had already given that from previous step to connect with my Shell User in my Moodle site. (I assume that I need the password to execute the php exe which lands in a higher level file of the server, right?):
- $sudo -u www-data /usr/bin/php admin/cli/reset_password.php --username=demouser1 --password=testpassord --ignore-password-policy.
A. Could anyone please help me, because I struggled my head to find a solution for just logging in my Moodle site with any of my users?
B. Which is the possible explanation for this or how can I investigate the root cause for this? Any idea?
Thank you in advance!