Hello.
After update librenms
php error Uncaught Error: Call to undefined method Illuminate\Foundation\Application::usePublicPath() in /opt/librenms/bootstrap/app.php:1
Full log:
Supported PHP and Python version, switched back to master branch. OK
Updating to latest codebase OK
PHP Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Application::usePublicPath() in /opt/librenms/bootstrap/app.php:18
Stack trace:
#0 /opt/librenms/LibreNMS/Util/Laravel.php(42): require_once()
#1 /opt/librenms/includes/init.php(90): LibreNMS\Util\Laravel::bootCli()
#2 /opt/librenms/daily.php(42): require(‘…’)
#3 {main}
thrown in /opt/librenms/bootstrap/app.php on line 18
PHP Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Application::usePublicPath() in /opt/librenms/bootstrap/app.php:18
Stack trace:
#0 /opt/librenms/LibreNMS/Util/Laravel.php(42): require_once()
#1 /opt/librenms/includes/init.php(90): LibreNMS\Util\Laravel::bootCli()
#2 /opt/librenms/daily.php(42): require(‘…’)
#3 {main}
thrown in /opt/librenms/bootstrap/app.php on line 18
Updating Composer packages OK
Updated from 5b432ddc0 to 6474e1e0b OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Version info
./validate.php
Component | Version |
---|---|
LibreNMS | 22.9.0-3-g06c361c2b |
DB Schema | 2022_09_03_091314_update_ports_adsl_table_with_defaults (246) |
PHP | 8.1.2-1ubuntu2.18 |
Python | 3.10.12 |
Database | MariaDB 10.6.18-MariaDB-0ubuntu0.22.04.1 |
RRDTool | 1.7.2 |
SNMP | 5.9.1 |
But according to the output the update was successful and libre is running. Please help me to fix this error after the update.If you need more information, please write to me and I will provide it.
Thank you.