Hi Folks,
I’m using the Centos 7 VMDK image provided and this morning I get the following error on the WWW page.
Error: Missing dependencies! Run the following command to fix:
./scripts/composer_wrapper.php install --no-dev
When, I run the specified command from terminal I also get:
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].**
If I try and install the ext-mbstring extension I get:
Error: php70w-common conflicts with php-common-5.4.16-45.el7.x86_64
** You could try using --skip-broken to work around the problem**
** You could try running: rpm -Va --nofiles --nodigest**
Any advice would be much appreciated.
EDIT: If I use the correct package I make more progress doh!
yum install php70w-mbstring
I can then run ./scripts/composer_wrapper.php install --no-dev
However I now get the following on the WWW page:
Missing PHP extensions. Please install and enable them on your LibreNMS server.
mbstring
A quick php --ini shows mbstring as being enabled:
[root@librenms librenms]# php --ini
Configuration File (php.ini) Path: /etc
Loaded Configuration File: /etc/php.ini
Scan for additional .ini files in: /etc/php.d
Additional .ini files parsed: /etc/php.d/bz2.ini,
/etc/php.d/calendar.ini,
/etc/php.d/ctype.ini,
/etc/php.d/curl.ini,
/etc/php.d/dom.ini,
/etc/php.d/exif.ini,
/etc/php.d/fileinfo.ini,
/etc/php.d/ftp.ini,
/etc/php.d/gd.ini,
/etc/php.d/gettext.ini,
/etc/php.d/gmp.ini,
/etc/php.d/iconv.ini,
/etc/php.d/json.ini,
/etc/php.d/mbstring.ini,
/etc/php.d/mcrypt.ini,
/etc/php.d/mysqli.ini,
/etc/php.d/pdo.ini,
/etc/php.d/pdo_mysql.ini,
/etc/php.d/pdo_sqlite.ini,
/etc/php.d/phar.ini,
/etc/php.d/posix.ini,
/etc/php.d/shmop.ini,
/etc/php.d/simplexml.ini,
/etc/php.d/snmp.ini,
/etc/php.d/sockets.ini,
/etc/php.d/sqlite3.ini,
/etc/php.d/sysvmsg.ini,
/etc/php.d/sysvsem.ini,
/etc/php.d/sysvshm.ini,
/etc/php.d/tokenizer.ini,
/etc/php.d/xml.ini,
/etc/php.d/xml_wddx.ini,
/etc/php.d/xmlreader.ini,
/etc/php.d/xmlwriter.ini,
/etc/php.d/xsl.ini,
/etc/php.d/zip.ini
LAST EDIT! - Working! a reboot was needed my bad.