Self service was working fine for a while, people could change and reset their passwords without issues. Now when users try to reset their password this happens;
Enter username and click next
After a few minutes the following error pops-up “SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data”
Reset password is set to send a token to e-mail.
If i enter an invalid username i do get an error that the user is not found, so part of the script works.
Tried uninstalling and reinstalling the self-serve module.
the error message is mentioned in comment 2 of [bug]40152[/bug], unfortunately without saying what can cause an import error.
There might be a chance that there is some data in the self service data of the account.
I’d also see if one of the /var/log/univention/self-service* files contains more information.
Thanks Dirk for pointing it out. Strange thing is that it was working for a while.
Hope they get to that bug quickly, seeing that it’s been reported end of last year
As far as I understood the bug it is just the goal to provide more information about the cause of these errors, Even if this addressed it will most likely not fix the problem itself.
I’d try to extract the problem from the mentioned logs.
/var/log/univention has a self-service-access.log and self-service-error.log.
Maybe you can find some hints there. The Apache logs just says that there is a problem.
Found out that postfix wasn’t starting for some reason.
Some config errors apparently, but i didn’t change anything.
Redid the postfix config and everything is working.
Very strange.