Can´t add new user / user already exist
nils50122 last edited by nils50122
i try to create a new user on my ubuntu 20.04.04 with kopano on cli but without success.
When i try to add the user “versand” the first output is “unable to create user: versand not found”, when i try again the second output is “user already exist”.
The user is not visible at kopano-admin -l, when i try to kopano-admin --details versand, there comes user will not exist.
list-orphans is also empty.
root@xxxx:~# kopano-admin -c versand -p password -e firstname.lastname@example.org -f Versandsystem Unable to create user: "versand" not found Check server.log for details. Using the -v option (possibly multiple times) may give more hints. root@xxxx:~# kopano-admin -c versand -p password -e email@example.com -f Versandsystem Unable to create user: "versand" already exists Check server.log for details. Using the -v option (possibly multiple times) may give more hints.
At first have a look at the server.log, as stated in the output of the script.
And did you change anything of the system, were you able to create users on this system in the past or is this a fresh install?
Have you checked your LDAP if the user object “versand” has been written.
In server.log there is exactly the same output.
2022-07-11T18:42:28.205551: [warning] K-1519: Unable to create user in user database: Object exist: versand
LDAP is not integrated, i can´t find an user “versand” at local user list.
It wasn´t a fresh install, i was able to create users before - made nothing (simple install updates over apt-get update / upgrade).
Fixed: problem was user_safe_mode = yes