Hi All,
I have seen issues with LDAP on some of my instances through couple months where ldap test with ./auth_test.php passes but when try to login via gui , it does not work. Anyone in the same boat ?
- The output of
./validate.php
[[email protected] librenms]# ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 1.62-70-ge4b49f5
DB Schema | 2020_03_25_165300_add_column_to_ports (162)
PHP | 7.2.8
MySQL | 5.6.30
RRDTool | 1.4.8
SNMP | NET-SNMP 5.7.2
====================================
[OK] Composer Version: 1.10.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[FAIL] Database: missing index (sensors_to_state_indexes/state_index_id)
[FAIL] Database: extra index (sensors_to_state_indexes/sensors_to_state_indexes_ibfk_1)
[FAIL] We have detected that your database schema may be wrong, please report the following to us on Discord (https://t.libren.ms/discord) or the community site (https://t.libren.ms/5gscd):
[FIX]:
Run the following SQL statements to fix.
SQL Statements:
ALTER TABLE sensors_to_state_indexes
DROP INDEX sensors_to_state_indexes_ibfk_1
;
ALTER TABLE sensors_to_state_indexes
ADD INDEX state_index_id
(state_index_id
);
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[FAIL] Some folders have incorrect file permissions, this may cause issues.
[FIX]:
sudo chown -R librenms:librenms /opt/librenms
sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
Files:
/opt/librenms/storage/framework/views/3b20920b4b55193bb9a1c5d22a7caaa7