Issue since Nov 18, Unable to connect on GUI

Hello,

We have production system and daily update, since November 18 2017. we have some trouble to connect and getting error 500 on the browser.
We have our librenms solution run on RHEL 6.9 with php 5.3.3 and we CAN’T upgrade them due to customer constraint.

Could you please to help us to fix the issue below or to restore the latest release on the November 17 2017.?

[PROD] [email protected]: ~ $ ./daily.sh
Checking PHP version FAIL
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
Updating SQL-Schema FAIL
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
Updating submodules OK
Cleaning up DB FAIL
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
Fetching notifications FAIL
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
Caching PeeringDB data OK

When asking for help and support, please provide as much information as possible. This should include:

  • Steps to reproduce an issue.
  • The output of ./validate.php
    PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33
    ====================================
    Component | Version
    --------- | -------
    LibreNMS | 1.33-133-gc9728a1
    DB Schema | ?
    PHP | 5.3.3
    MySQL | ?
    RRDTool | 1.6.0
    SNMP | NET-SNMP 5.5
    ====================================

If it’s an issue with the WebUI then please consider including the browser version you are using.

  • httpd 2.2.15

If you need to post any text longer than a few lines, please use a pastebin service such as https://p.libren.ms using non-expiring pastes.

Thanks
Didier

Please use pastebin to post output of ./daily.sh and ./validate.php

Just FYI let your “customer” know that after this they won’t be able to get updates anymore. Still, have time tho.

https://p.libren.ms/view/3ffc3002

I get the update part of PHP of 5.3 but since we have multiple other product using the version we can’t upgrade.

Thanks
Didier

:frowning:

run php daily.php -f update

paste the output

This error you are seeing should have been fixed. Look at your config.php check and see if you have updates disabled?

Uncomment the next line to disable daily updates

#$config[‘update’] = 0;

php daily.php -f update
PHP Fatal error: Can’t inherit abstract function LibreNMS\Interfaces\Authentication\Authorizer::authenticate() (previously declared abstract in LibreNMS\Authentication\AuthorizerBase) in /sysadmin/librenms/LibreNMS/Authentication/AuthorizerBase.php on line 33

There was an error in one version, you seem to have gotten stuck on that version.

Just run git pull as the librenms user then run ./daily.sh and ./validate.php

1 Like

Thanks so much Murrant and Kevin.

The info provided fix this issue.

do you recommend to keep the daily update in place or no?

1 Like

Yes, absolutely. Updates will stop automatically on Jan 10 when PHP < 5.6.4 is no longer supported, but until then, we release a lot of bug fixes and features all the time.