Hi there I created a new installation of LibreNMS (The latest version), when I log in to the WebUI I can add devices normally and everything works fine with polling etc… except the dashboard page widgets show the error Problem with backend. I am not sure if it’s a problem with the LibreNMS package or something else. Any help on how to solve this please! Thanks
I just found out that the error is triggered by the file named tiles.php on line 598 the files is inside the directory /html/pages/front/. Any idea what this error means? and how I can solve it? Thanks
What is the error?
The error I get is “Problem with backend” but it doesn’t tell me enough of what went wrong. Thanks
Please post the output of ./validate.php
@laf ==========================================================
Component | Version |
---|---|
LibreNMS | 0997172b37dd261c3f44873372b247a18ab8610e |
DB Schema | 166 |
PHP | 7.0.15-1~dotdeb+8.1 |
MySQL | 10.0.29-MariaDB-0+deb8u1 |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2.1 |
==========================================================
[OK] Database connection successful
Please update and re-run ./validate.php
hey @laf I have updated it and ran again, I get the exact same result:
==========================================================
Component | Version |
---|---|
LibreNMS | 6a8318b7ec7e60ccba43fcac985c4d3455902224 |
DB Schema | 166 |
PHP | 7.0.15-1~dotdeb+8.1 |
MySQL | 10.0.29-MariaDB-0+deb8u1 |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2.1 |
==========================================================
[OK] Database connection successful
Could be related to the schema in general, we have a big update going live monday so try again on tuesday.
Also, problem with backend sometimes means your authentication timed out.
i am getting this
./validate.php
Component | Version |
---|---|
LibreNMS | 1.43-107-g4f6e2b4 |
DB Schema | 268 |
PHP | 7.2.9 |
MySQL | 5.5.60-MariaDB |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.7.2
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] Missing PHP extension: mysqlnd
[FIX] Please install mysqlnd
[FAIL] We have found some files that are owned by a different user than librenms, this w ill stop you updating automatically and / or rrd files being updated causing graphs to fa il.
You do not have mysqlnd and may have permission issues.
For your first problem, I would recommend you look at [FAIL] Missing PHP extension: mysqlnd [FIX] Please install mysqlnd
For you second, try:
chown -R librenms:librenms /opt/librenms setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/ setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/