Can't create users

We can’t create users on our LibreNMS installation. Clicking save on the create user form just redirects you to the manage users page, regardless what has been entered to the form (or nothing at all).

The only indication that something seems wrong is that the new user form dashboard dropdown does not have any dashboards listed, it is completely empty, although two dashboards have been created.

The POST request gets handled with 302 Found and redirects us to the mange users page and nothing has changed. No error is being displayed on the webpage or in the logfiles.

Validate shows everything OK:


Component Version
LibreNMS 21.1.0-15-g4126663b3
DB Schema 2020_09_19_230114_add_foreign_keys_to_service_templates_device_table (197)
PHP 7.3.19-1~deb10u1
Python 3.7.3
MySQL 10.3.27-MariaDB-0+deb10u1
RRDTool 1.7.1


[OK] Composer Version: 2.0.9
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

The website validate config shows everything OK aswell. Other than that, I haven’t noticed any problems.

Is your user an admin?


Adding users via cli (php artisan user:add test) works. Also editing that newly created user in the web UI and setting the user to Admin also works.

Logging in with that new Admin user and trying to create yet another user in the web UI does not work.

1 Like

This topic was automatically closed 186 days after the last reply. New replies are no longer allowed.