Hi,
Each time i visit my librenms web interface i get daily.sh warning message.
But when i run it manually i dont get any error, below is output of daily and validate script.
Thanks in advance
Hi,
Each time i visit my librenms web interface i get daily.sh warning message.
But when i run it manually i dont get any error, below is output of daily and validate script.
Thanks in advance
Do you get the notification every day ? If you click on the notification, and mark as read. Does it come back?
Check in the logs/daily.log for any clues
Yes it notifies everyday, If it is mark as read it does not come back.
Below is the logs on daily.log
Returned: 0
Cleaning up DB
Refreshing alert rules queries
Clearing OS cache
Eventlog cleared for entries over 30 days
Perf times cleared for entries over 30 days
Device perf cleared for entries over 7 days
Ports fdb cleared for entries over 10 days
Returned: 0
Fetching notifications
[ Thu, 06 Jun 2019 18:40:14 +0800 ] LibreNMS Notifications (42)
[ Thu, 06 Jun 2019 18:40:22 +0800 ] misc/notifications.rss (52)
[ Thu, 06 Jun 2019 18:40:22 +0800 ] Updating DB Done
Returned: 0
Caching PeeringDB data
Peering DB integration disabled
Returned: 0
Updating to latest codebase
Returned: 0
Updating Composer packages
warning: unable to access ‘/root/.gitconfig’: Permission denied
warning: unable to access ‘/root/.config/git/config’: Permission denied
warning: unable to access ‘/root/.gitconfig’: Permission denied
warning: unable to access ‘/root/.config/git/config’: Permission denied
LibreNMS\ComposerHelper::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi
Discovered Package: fideloper/proxy
Discovered Package: laravel/laravel
Discovered Package: laravel/nexmo-notification-channel
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: oriceon/toastr-5-laravel
Package manifest generated successfully.
LibreNMS\ComposerHelper::postInstall
Illuminate\Foundation\ComposerScripts::postInstall
Returned: 0
Updating SQL-Schema
Nothing to migrate.
Returned: 0
Updating submodules
Thanks
#1 run daily.sh (and all other scripts) as the librenms user. (that could cause the issue, but maybe not)
#2 you may have the notification stuck in your DB. Delete it from the notifications table manually, and it should not re-occur.