Hello everyone:
This problem I tried a lot of methods can not be repaired
I have tried this command ./scripts/github-apply 14042
But there is this error
$ ./scripts/github-apply 14042
Checking patch LibreNMS/Validations/Updates.php…
error: while searching for:
use LibreNMS\Util\Version;
use LibreNMS\ValidationResult;
use LibreNMS\Validator;
class Updates extends BaseValidation
{
error: patch failed: LibreNMS/Validations/Updates.php:35
error: LibreNMS/Validations/Updates.php: patch does not apply
$ git config --global --add safe.directory /opt/librenms
$ ./scripts/github-apply 14042
Checking patch LibreNMS/Validations/Updates.php…
error: while searching for:
use LibreNMS\Util\Version;
use LibreNMS\ValidationResult;
use LibreNMS\Validator;
class Updates extends BaseValidation
{
error: patch failed: LibreNMS/Validations/Updates.php:35
error: LibreNMS/Validations/Updates.php: patch does not apply
Did I do anything wrong?