Hello,
I am new to librenms, I tried installing the application on Ubuntu 20.04 and 22.04, after some troubleshooting I am able to successfully validate as shown below, but when I access GUI, I see Pre Install checks all green, configure database all green, but when I click on user, i get error. I looked at the logs and find below. Any thoughts? Thank you.
Successful DB:
New User Creation Page Error:
LOG FILE ERROR:
[2025-03-27T06:06:07][ERROR] SQLSTATE[42S22]: Column not found: 1054 Unknown column âisâ in âwhere clauseâ (Connection: setup, SQL: select * from users
where is
= admin limit 1) {âexceptionâ:â[object] (Illuminate\Database\QueryException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column âisâ in âwhere clauseâ (Connection: setup, SQL: select * from users
where is
= admin limit 1) at /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829)
[previous exception] [object] (PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column âisâ in âwhere clauseâ at /opt/librenms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:423)â}
VALIDATION:
root@SERVER:/opt/librenms#
root@SERVER:/opt/librenms# sudo -u librenms ./validate.php
Component | Version |
---|---|
LibreNMS | 25.3.0-57-gda6ed13a3 (2025-03-26T21:53:24+00:00) |
DB Schema | 2022_05_25_084506_add_widgets_column_to_users_widgets_table (327) |
PHP | 8.3.19 |
Python | 3.8.10 |
Database | MariaDB 10.3.39-MariaDB-0ubuntu0.20.04.2 |
RRDTool | 1.7.2 |
SNMP | 5.8 |
=========================================== |
[OK] Composer Version: 2.8.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[WARN] You have no devices.
[FIX]:
Consider adding a device such as localhost: http://x.y.r.z/addhost
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
root@SERVER:/opt/librenms#