Hi,
I installed LibreNMS to replace an old instance, updated to current (daily channel) and added my devices.
I have a number of devices that don’t have a sysLocation set, so I went to edit the device and manually override it. When hitting “Save” an error is thrown, however the changes are successful.
For now, I have commented out line 51 in includes/html/pages/device/edit/device.inc.php to save my sanity, but was wondering if any others are experiencing the same issue, or if there is a fix?
Thanks!
Error-ID:
062f66f2-185f-4427-8378-220acd0b75ef
librenms.log entry:
Call to undefined method App\Http\Interfaces\ToastInterface::sucess() {"userId":1,"exception":"[object] (Error(code: 0): Call to undefined method App\\Http\\Interfaces\\ToastInterface::sucess() at /opt/librenms/includes/html/pages/device/edit/device.inc.php:51)"}
validate.php:
===========================================
Component | Version
--------- | -------
LibreNMS | 24.5.0-27-g7ac1b3303 (2024-06-05T06:16:33-07:00)
DB Schema | 2024_04_29_183605_custom_maps_drop_background_suffix_and_background_version (294)
PHP | 8.2.18
Python | 3.11.2
Database | MariaDB 10.11.6-MariaDB-0+deb12u1
RRDTool | 1.7.2
SNMP | 5.9.3
===========================================
[OK] Composer Version: 2.7.6
[OK] Dependencies up-to-date.
[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] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrd_dir is writable
[OK] rrdtool version ok
OS:
Debian 12.5
Linux librenms1 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux