dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #51893
Unable to create new users as secret and twofa columns are null
Dear all,
I am unable to create new users. My troubleshooting shows that when I
submit a new user request on the web page, a database
ConstraintViolationException is generated as secret is null. secret and
twofa columns are expected to be non-null. Please see an error extract
below and a table showing two attempts.
What could be causing secret and twofa to be null? I have over 100 users
successfully created before the issue started. thanks.
Error:
* ERROR 2018-10-14 21:55:17,350 ERROR: null value in column "secret"
violates not-null constraint
[org.hibernate.exception.ConstraintViolationException: could not execute
statement] (ExceptionMapperStandardImpl.java
[http-bio-127.0.0.1-8080-exec-90])
statement; SQL [n/a]; constraint [secret]; nested exception is
org.hibernate.exception.ConstrintViolationException: could not execute
statement
Attachment:
DHIS2-User-Creation-Error.JPG
Description: JPEG image
Follow ups