Dependency missing, check validate

I have updated LibreNMS (git pull, ./daily.sh, and ./validate.sh all on the librenms user account), and since the upgrade I am seeing a notification on the WebGUI stating " dependency missing, check validate ". I did notice that some items were not installed, which the ./validate.sh output asked me to install using the following commands:

./scripts/composer_wrapper.php install --no-dev
composer install --no-dev

Since then, validate.sh is showing up perfectly on the CLI but the WebGUI is still showing that popup.
Unfortunately I did not save the command output for you guys to see. Everything does appear to be working fine and it seems as if that notification is cosmetic (I don’t think I have lost any functionality on LibreNMS).

Not sure how to proceed from here. What do I do to either remove the notification or resolve the dependencies that is not being displayed on ./validate.sh output?

$ ./daily.sh 
Updating SQL-Schema                                OK
Cleaning up DB                                     OK
$ ./validate.php 
====================================
Component | Version
--------- | -------
LibreNMS  | 1.42.01-16-g63a4977
DB Schema | 258
PHP       | 7.0.30-0ubuntu0.16.04.1
MySQL     | 10.0.34-MariaDB-0ubuntu0.16.04.1
RRDTool   | 1.5.5
SNMP      | NET-SNMP 5.7.3
====================================

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

image

Check if you have mbstring installed:

presumably when you ran this command, it gave no errors or indication of missing dependencies ?

./scripts/composer_wrapper.php install --no-dev
composer install --no-dev

root@hostname:~# apt-get install php7.0-mbstring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php7.0-mbstring is already the newest version (7.0.30-0ubuntu0.16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@hostname:~# su - librenms
$  ./scripts/composer_wrapper.php install --no-dev 
> LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
> LibreNMS\ComposerHelper::postInstall
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
Generating optimized class loader
The compiled services file has been removed.
$ 
$ 
$ 
$ 
$ ./scripts/composer_wrapper.php install --no-dev
> LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
> LibreNMS\ComposerHelper::postInstall
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
Generating optimized class loader
The compiled services file has been removed.
$ composer install --no-dev
> LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
> LibreNMS\ComposerHelper::postInstall
> Illuminate\Foundation\ComposerScripts::postInstall
> php artisan optimize
Generating optimized class loader
The compiled services file has been removed.
$

Try log off LibreNMS and re-authenticate and see if you still get the message.

Presumably you don’t have SeLinux installed ? run sestatus command. ( Error: Missing dependencies! - Librenms)