I can't remove device with the webui

I have found here an old installation of librenms and i m trying to cope with it.
It seems to work but i have the following problems
i can"t remove dead devices with the web interfaces.
I got the final message
Removed device sw-cns-coeur.admin.local
but the devices is still in the list.
and when i go the the mysql database it s still here two

in the librenms.log i have only lines like
2021-03-29 17:42:00 MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘_down = “1”) = “1” )’ at line 1 (SELE│········
CT * FROM devices,ports WHERE (( ports.device_id = devices.device_id ) && devices.device_id = ‘39’) && ((devices.hostname REGEXP “.^sw-cn[sg]-coeur-ng.” && ((ports.deleted = 0 && ports.ignore = 0 && │········
ports.disabled = 0))_down = “1”) = “1” ))

here is the validate.php output

Component Version
LibreNMS 967fb8009235a1b17808aec86ab4a90c17aeb66b
DB Schema 195
PHP 7.0.33
MySQL 5.5.68-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

==========================================================

[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git branch is not master, this will prevent automatic updates.
[WARN] Your local git contains modified files, this could prevent automatic updates.
Modified files:
includes/init.php

Sorry we can’t support releases from 2017. Please update and report back if you still have problems

ok i will try to update

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.