Call to undefined method Illuminate

Just did a git pull and now I’m getting the following when trying to open a device. Not sure how to troubleshoot this. OS is up to date with packages.

[2022-02-13T19:07:47.757286-05:00] production.ERROR: Call to undefined method Illuminate\View\Compilers\BladeCompiler::render() {“userId”:8,“exception”:“[object] (Error(code: 0): Call to undefined method Illuminate\View\Compilers\BladeCompiler::render() at /opt/librenms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261)”}

validate.php is fine:


Component Version
LibreNMS 22.1.0-69-g4c9d4eefd
DB Schema 2021_12_02_113537_ports_stp_designated_cost_change_to_int (234)
PHP 7.4.3
Python 3.8.10
MySQL 10.3.32-MariaDB-0ubuntu0.20.04.1
RRDTool 1.7.2
SNMP 5.8

[OK] Composer Version: 2.2.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

I’m using Ubuntu LTS

Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

git pull is not how you update librenms, Updating - LibreNMS Docs

I’m using the section for Advanced Users. We can’t upgrade daily as this is a production system and in the past daily upgrades have caused issues. I’ve been following that method for sometime now without issues for the most part.


I see.
Make sure you still run in cron like it says tho, it does a lot of other things.
The error suggests you didn’t run the ./scripts/composer_wrapper.php install --no-dev step

Thanks for the help, that was the issue…I must have missed that step…guess that happens when your doing the upgrade during a 3AM maintenance window :crazy_face:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.