I am getting the following error while I browse the monitoring.
Error: Missing dependencies! Run the following command to fix:
./scripts/composer_wrapper.php install --no-dev
After run the script, it get these notification.
[root@monitor librenms]# ./scripts/composer_wrapper.php install --no-dev
Do not run Composer as root/super user! See How do I install untrusted packages safely? Is it safe to run Composer as superuser or root? - Composer for details
LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for erusev/parsedown 1.7.1 → satisfiable by erusev/parsedown[1.7.1].
- erusev/parsedown 1.7.1 requires ext-mbstring * → the requested PHP extension mbstring is missing from your system.
Problem 2
- Installation request for laravel/framework v5.4.36 → satisfiable by laravel/framework[v5.4.36].
- laravel/framework v5.4.36 requires ext-mbstring * → the requested PHP extension mbstring is missing from your system.
Problem 3
- laravel/framework v5.4.36 requires ext-mbstring * → the requested PHP extension mbstring is missing from your system.
- oriceon/toastr-5-laravel dev-master requires illuminate/session >=5.0.0 → satisfiable by laravel/framework[v5.4.36].
- Installation request for oriceon/toastr-5-laravel dev-master → satisfiable by oriceon/toastr-5-laravel[dev-master].
[root@monitor librenms]# ./validate.php
Component | Version |
---|---|
LibreNMS | 1.39-32-ge4bc556 |
DB Schema | 249 |
PHP | 7.0.18 |
MySQL | 5.5.52-MariaDB |
RRDTool | 1.4.8 |
SNMP | NET-SNMP 5.7.2 |
==================================== |
[OK] Composer Version: 1.6.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] Missing PHP extension: mbstring
[FIX] Please install mbstring
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX] You can fix this with ./scripts/github-remove
Modified Files:
html/images/librenms_logo_light.svg
scripts/Migration/Standard_Conversion/nodelist.txt
when I try to install mbstring using “yum install php-mbstring” getting below errors.
Error: php70w-common conflicts with php-common-5.4.16-45.el7.x86_64
Any help?