Adduser.php says user already exists

I am updated, and utilize http-auth within my config.php file, and currently it seems to work fine for anyone that I added as users, via the addusers.php script, or via the web gui up until a couple months ago.

When I attempt to add a new user via either method, I receive a message that “User with this name already exists!”

Checking the nms database, I am unable to find any user matching this, and hence I am confused what could be occurring.

[root@nms1 librenms]# ./validate.php

Component Version
LibreNMS 1.30-5-g9211680
DB Schema 200
PHP 7.0.18
MySQL 5.5.52-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Database connection successful
[OK] Database schema correct
[WARN] Some devices have not been polled in the last 5 minutes.
snip

Is there a way to debug that, I’m not seeing any errors in my logs, actually not seeing anything in my logs for this.

Thanks,
Jeff

can you delete users?

I apologize for the delay, I was ooto, and traveling. The web site gui to delete a user appears to complete but the users do not seem to be removed.

I’m able to delete a user from the users table in the database, and then they no longer show up in the users list from the website in the “edit user” pull down.

But basically the add/delete functionality of the website is no longer working for me.

-Jeff

I was able to manually create a user by running an insert on the users table. Once I ran that, I WAS able to “edit” the users info from the nms web page, and the changes were populated within the users table/row of that user.

It just seems like the add/delete functionality of nms is broken on my installation.

With http-auth, I am under the impression that there still needs to be an actual username/acct in the mysql db to link the users permissions to a username that logs in and auths via http.

-Jeff