I also noticed, maybe it’s related, that it cannot discover all the Gponports, namely every port that will pass 1/2/8. For example, starting with 2/1/1 it throws an error.
SQL[e[1;33mselect * from transceivers
where transceivers
.device_id
= ? and transceivers
.device_id
is not null e[0;33m[871]e[0m 0.66ms]
…e[0;31mError discovering transceivers module for phlncacoolt-307828.racecom.io.e[0m PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘port_id’ cannot be null in /data/librenms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:587
Next Illuminate\Database\QueryException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘port_id’ cannot be null (Connection: mysql, SQL: insert into transceivers
(port_id
, index
, entity_physical_index
, device_id
, updated_at
, created_at
) values (?, 2.1.1, 40101, 871, 2024-10-08 06:30:52, 2024-10-08 06:30:52)) in /data/librenms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829
SQL[e[1;33minsert into eventlog
(reference
, type
, datetime
, severity
, message
, username
, device_id
) values (?, ?, ?, ?, ?, ?, ?) e[0;33m[null,“discovery”,“2024-10-08 06:30:52”,5,“Error discovering transceivers module. Check log file for more details.”,“”,871]e[0m 1.38ms]
SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘port_id’ cannot be null (Connection: mysql, SQL: insert into transceivers
(port_id
, index
, entity_physical_index
, device_id
, updated_at
, created_at
) values (?, 2.1.1, 40101, 871, 2024-10-08 06:30:52, 2024-10-08 06:30:52)) {“exception”:“[object] (Illuminate\Database\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘port_id’ cannot be null (Connection: mysql, SQL: insert into transceivers
(port_id
, index
, entity_physical_index
, device_id
, updated_at
, created_at
) values (?, 2.1.1, 40101, 871, 2024-10-08 06:30:52, 2024-10-08 06:30:52)) at /data/librenms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829)
[previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘port_id’ cannot be null at /data/librenms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:587)”}