Content
You are here:
problem logging into system
Added by ivan mustaka over 4 years ago
Hello, I'm new in here, found that project and decided to give it a shot, but so far not working
I made fresh install on debian 10 reading the wiki. After all done (with no errors)
I open the web interfeca and login using default user/pass
after login it offers me to change password, when I enter old and new one it display this errors:
This account uses an external authentication source. Impossible to change the password.
1 error prohibited this User from being saved
There were problems with the following fields:
- Email can't be blank.
Replies (4)
Hi Ivan,
you have likely provided an empty string to the
admin mail
wizard question, which in turn sets theADMIN_EMAIL
ENV variable to an empty string.This has been fixed in https://github.com/opf/openproject/commit/b07aacdf42 , but here's how you can correct this locally for now:
Assuming you installed the packaged version of OpenProject, run this command as root or openproject user:
`openproject run bundle exec rails runner "User.where(login: 'admin').update_all(mail: 'yourmail@example.com')"
Then try to login again and change your password.
Best
Oliver
thank you for quick answer, tried but no success, guess installation is somehow corrupt:
tried to run "openproject reconfigure" , same error
It appears to fail trying ot parse your
/opt/openproject/config/configuration.yml
. Judging from the line 38 column 18, this might be due to your SMTP_PASSWORD somehow breaking the YML spec https://github.com/opf/openproject/blob/dev/packaging/conf/configuration.yml#L38This is probably because the string is not properly escaped while writing. Without exposing your password, could you let me know if there are any control characters (colon, ampersand and the like) that I could test against?
Best
Oliver