Hi everyone.
Yesterday I ran the script daily.sh, because the system had not updated for a week, and it stopped working.
I attach the log
[2020-11-10 04:10:33] production.ERROR: Call to undefined method Illuminate\Pagination\Paginator::useBootstrap() {“exception”:"[object] (Error(code: 0): Call to undefined method Illuminate\Pagination\Paginator::useBootstrap() at /opt/librenms/app/Providers/AppServiceProvider.php:43)
[stacktrace]
#0 [internal function]: App\Providers\AppServiceProvider->boot()
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): call_user_func_array(Array, Array)
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(39): Illuminate\Container\BoundMethod::callBoundMethod(Object(App\Application), Array, Object(Closure))
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\Container\BoundMethod::call(Object(App\Application), Array, Array, NULL)
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(867): Illuminate\Container\Container->call(Array)
#7 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(850): Illuminate\Foundation\Application->bootProvider(Object(App\Providers\AppServiceProvider))
#8 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(App\Providers\AppServiceProvider), 23)
#9 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(851): array_walk(Array, Object(Closure))
#10 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#11 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(App\Application))
#12 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Foundation\Application->bootstrapWith(Array)
#13 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(135): Illuminate\Foundation\Http\Kernel->bootstrap()
#14 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#15 /opt/librenms/html/index.php(52): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#16 {main}
“}
[2020-11-10 04:10:33] production.ERROR: Class ‘Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance’ not found {“exception”:”[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Class ‘Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance’ not found at /opt/librenms/app/Http/Middleware/PreventRequestsDuringMaintenance.php:7)
[stacktrace]
#0 {main}
“}
[2020-11-10 07:11:01] production.ERROR: Call to undefined method Illuminate\Pagination\Paginator::useBootstrap() {“exception”:”[object] (Error(code: 0): Call to undefined method Illuminate\Pagination\Paginator::useBootstrap() at /opt/librenms/app/Providers/AppServiceProvider.php:43)
[stacktrace]
#0 [internal function]: App\Providers\AppServiceProvider->boot()
#1 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): call_user_func_array()
#2 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#3 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\Container\Util::unwrapIfClosure()
#4 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(39): Illuminate\Container\BoundMethod::callBoundMethod()
#5 /opt/librenms/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\Container\BoundMethod::call()
#6 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(867): Illuminate\Container\Container->call()
#7 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(850): Illuminate\Foundation\Application->bootProvider()
#8 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}()
#9 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(851): array_walk()
#10 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot()
#11 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap()
#12 /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\Foundation\Application->bootstrapWith()
#13 /opt/librenms/LibreNMS/Util/Laravel.php(46): Illuminate\Foundation\Console\Kernel->bootstrap()
#14 /opt/librenms/includes/init.php(91): LibreNMS\Util\Laravel::bootCli()
#15 /opt/librenms/alerts.php(33): require(’/opt/librenms/i…’)
#16 {main}
"}
Can help me with this issue??
Regards.