I am unable to log in to my OMP 3.5 and also unable to get mail with password reset. I have tried to create new password in DB using:
UPDATE users SET password=SHA1(CONCAT(‘admin’, ‘password’)) WHERE user_id = 1
but still I cannot login using new password.
How can I debug this?
The only only message in the error log is:
Got error ‘PHP message: Missing locale key “validation.attributes” for the locale “en”; PHP message: Missing locale key “validation.values.email.admin” for the locale “en”’, referer: https://xxx.xxx.xx/xxx/login
Might be unrelated but trying to reset password using password reset link results in:
ot error ‘PHP message: Expected response code “250” but got code “550”, with message “550 5.7.62 SMTP; Client does not have permissions to send on behalf of the from address”.’, referer: https://xxx.xx.xx/xxx/login/lostPassword
I have successfully sent an email from python on the same server using the email/smtp settings from the config. I also have OJS on the same server using the same settings with no problems sending email.
To be able to change/reset the admin password I changed the email setting from smtp to log. I then issued clicked the reset password link and got the reset password link from the error log. This worked well so now I can log in again. smtp is still not working though. Emails are successfully sent from OJS on the same server/same ip with the same credentials. I have also sent mail from this server successfully from python. Not sure where to start digging now.
Hi @bjarman, it sounds like this is an SMTP issue, possibly a mismatch between your sending address in OJS and what the SMTP server is expecting. Did you set the default_envelope_sender in your config.inc.php file as well?
You may be running into this bug in OMP 3.5.0-1 where force_dmarc_compliant_from isn’t working correctly, and this was resolved in 3.5.0-2. I would strongly recommend updating to the latest version of 3.5.0, as it has a number of other important fixes as well. Let us know if that resolves the issue for you.
Also double-check that your OMP config.inc.php has default = smtp under [email], as you did not list that above in your config settings. This setting was not in 3.3, so if you’re using a 3.3 config file that wasn’t updated then you may be missing some settings.