I am having issues with the WebUI displayed as text (and unusable) after upgrading from version 1.45 to version 1.56. I upgraded by steps, one version at a time and it stopped working after 1.53. At each step I ran ./daily.sh and ./validate.php.
I had a set of errors at version 1.53 in nginx error.log like:
PHP message: PHP Warning: include(): Failed opening ‘/opt/librenms/vendor/composer/…/symfony/http-kernel/HttpKernelInterface.php’ for inclusion (include_path=’.:/usr/share/pear:/usr/share/php’) in /opt/librenms/vendor/composer/ClassLoader.php on line 444
PHP message: PHP Fatal error: Interface ‘Symfony\Component\HttpKernel\HttpKernelInterface’ not found in /opt/librenms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php on line 25" while reading response header from upstream, client: 10.0.1.100, server: librenms.example.com, request: “POST /ajax/dash/worldmap HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php7.1-fpm.sock:”, host: “supervision”, referrer: “https://supervision/overview/dashboard=23”
I checked the base_url as well as the servername in nginx.
Can anyone help me figure out what is going wrong?
All right, @Elias I figured out what you meant by the mismatch between php and php-fpm. I updated the php-fpm config, restarted the php-fpm service, updated the nginx configuration to use the updated php-fpm socket, and restarted the nginx service.