{"id":1996,"date":"2018-05-14T23:11:01","date_gmt":"2018-05-14T23:11:01","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1996"},"modified":"2018-05-14T23:11:01","modified_gmt":"2018-05-14T23:11:01","slug":"librenms-error-missing-dependencies-run-the-following-command-to-fix","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/librenms-error-missing-dependencies-run-the-following-command-to-fix\/","title":{"rendered":"LibreNMS Error: Missing dependencies! Run the following command to fix:"},"content":{"rendered":"<p>Received this error while trying to access LibreNMS in web browser.<\/p>\n<blockquote>\n<h3>Error: Missing dependencies! Run the following command to fix:<\/h3>\n<p>.\/scripts\/composer_wrapper.php install &#8211;no-dev<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>Tried sshing into the LibreNMS server and running the script, but that didn&#8217;t fix the issue.<\/p>\n<p>Ran .\/validate.php and it came up with the some of the following errors.<\/p>\n<pre>[FAIL] Missing PHP extension: mbstring\r\n[FIX] Please install mbstring\r\n[FAIL] The poller (localhost.localdomain) has not completed within the last 5 minutes, check the cron job.\r\n[WARN] Your install is over 24 hours out of date, last update: Thu, 7 May 2018 19:18:35 +0000\r\n[FIX] Make sure your daily.sh cron is running and run .\/daily.sh by hand to see if there are any errors.\r\n<\/pre>\n<p>Installed mbstring.\u00a0 You may need to change the number if yum is complaining about package conflicts.\u00a0 Use &#8220;yum search mbstring&#8221; to show all the versions available.<\/p>\n<pre>yum install php71w-mbstring<\/pre>\n<p>Ran .\/validate.php again and it wanted this script run<\/p>\n<pre>.\/scripts\/composer_wrapper.php install --no-dev<\/pre>\n<p>Restart Apache<\/p>\n<pre>systemctl restart httpd<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Received this error while trying to access LibreNMS in web browser. Error: Missing dependencies! Run the following command to fix: .\/scripts\/composer_wrapper.php install &#8211;no-dev &nbsp; Tried sshing into the LibreNMS server and running the script, but that didn&#8217;t fix the issue. &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/librenms-error-missing-dependencies-run-the-following-command-to-fix\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,352,3],"tags":[340,353,134,445],"class_list":["post-1996","post","type-post","status-publish","format-standard","hentry","category-centos-linux","category-librenms","category-linux","tag-errors","tag-librenms","tag-monitoring","tag-php"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1996"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1996\/revisions"}],"predecessor-version":[{"id":2001,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1996\/revisions\/2001"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}