I came in this morning and noticed our LibreNMS would not load. I ran ./validate.php and recieved this output:
librenms@librenms:/opt/librenms$ sudo ./validate.php
PHP Warning: require(/opt/librenms/vendor/composer/…/symfony/polyfill-mbstring /bootstrap.php): failed to open stream: No such file or directory in /opt/libren ms/vendor/composer/autoload_real.php on line 66
PHP Fatal error: require(): Failed opening required ‘/opt/librenms/vendor/compo ser/…/symfony/polyfill-mbstring/bootstrap.php’ (include_path=’.:/usr/share/php’ ) in /opt/librenms/vendor/composer/autoload_real.php on line 66
Component | Version |
---|---|
LibreNMS | 1.42.01-27-g45d35ef |
DB Schema | ? |
PHP | 7.0.30-0ubuntu0.16.04.1 |
MySQL | ? |
RRDTool | 1.5.5 |
SNMP | NET-SNMP 5.7.3 |
====================================
Warning: require(/opt/librenms/vendor/composer/…/symfony/polyfill-mbstring/boot strap.php): failed to open stream: No such file or directory in /opt/librenms/ve ndor/composer/autoload_real.php on line 66
Fatal error: require(): Failed opening required ‘/opt/librenms/vendor/composer/. ./symfony/polyfill-mbstring/bootstrap.php’ (include_path=’.:/usr/share/php’) in /opt/librenms/vendor/composer/autoload_real.php on line 66
I looked in the symfony directory, and did indeed notice that /polyfill-mbstring/bootstrap.php is not there. Currently in the directory is this:
librenms@librenms:/opt/librenms/vendor/symfony$ ls
console debug event-dispatcher http-foundation polyfill-ctype process translation yaml
css-selector dotenv finder http-kernel polyfill-php70 routing var-dumper
Can anyone help me with how to recover /polyfill-mbstring/bootstrap.php directory and files?
Thanks!