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
In Container.php line 729:
Class App\Console\Commands\BashCompletionCommand does not exist
Script php artisan optimize handling the post-install-cmd event returned with error code 1
Ok seems like i have been bit of idiot here, after running the git status in the ocrrect directory found few other things here.
Your branch is behind ‘origin/master’ by 79 commits, and can be fast-forwarded.
(use “git pull” to update your local branch)
i then ran git pull (in the correct directory which gave me this)
Updating 5197074c4…2eac72d34
error: Your local changes to the following files would be overwritten by merge:
LibreNMS/Util/GitHub.php
LibreNMS/Util/Version.php
app/Console/Kernel.php
app/Http/Controllers/Table/DeviceController.php
app/Models/Device.php
doc/General/Changelog.md
includes/common.php
storage/debugbar/.gitignore
storage/framework/cache/.gitignore
Please commit your changes or stash them before you merge.
I decided to run then ./scripts/github-remove -d
then I ran ./daily.sh
Which came back with
Re-running /opt/librenms/daily.sh as librenms user
Updating to latest codebase OK
Updating Composer packages OK
Updated from 5197074c4 to 2eac72d34 OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
However seems like some of the performance changes I made definitely had an impact.
Cause if i run
./validate.php
Component
Version
LibreNMS
1.48.1-70-g2eac72d34
DB Schema
2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
PHP
7.2.15-0ubuntu0.18.04.1
MySQL
10.1.38-MariaDB-0ubuntu0.18.04.1
RRDTool
1.7.0
SNMP
NET-SNMP 5.7.3
====================================
[OK] Composer Version: 1.8.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] The poller (monitoring-server) has not completed within the last 5 minutes, check the cron job.
[WARN] Some devices have not been polled in the last 5 minutes. You may have performance issues.
[FIX]:
Check your poll log and see: http://docs.librenms.org/Support/Performance/
I would like to thank everyone who assisted me in doing some troubleshooting the problem, found there was 1 device with allot vpn graphs once i deleted it restored all the speed.
there was well over 3000 monitoring graphs on it thanks to all.