I was updated my librenms yesterday,now I can’t access webui,It show:http error 500
I’ve check nginx error log it show:
PHP message: PHP Fatal error: Uncaught ReflectionException: Class translator does not exist in /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php:805
Stack trace:
#0 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(805): ReflectionClass->__construct(‘translator’)
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(687): Illuminate\Container\Container->build(‘translator’)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(796): Illuminate\Container\Container->resolve(‘translator’, Array, true)
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(633): Illuminate\Foundation\Application->resolve(‘translator’, A
and I was run ./validate.php , It show:
In Application.php line 690:
Class ‘Spatie\Cors\CorsServiceProvider’ not found
====================================
Component | Version |
---|---|
LibreNMS | 1.67 |
DB Schema | Not Connected (0) |
PHP | 7.2.24-0ubuntu0.18.04.6 |
Python | 3.6.9 |
MySQL | ? |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.6.3
[OK] Dependencies up-to-date.
how do I fix this issue?
regards!