Script (daily.sh)

Hi Guys,

I’m getting dayly notification with the following error, please advise how to solve it?

Error: Daily update failedThe daily update script (daily.sh) has failed. Please check output by hand. If you need assistance, visit the LibreNMS Website to find out how.

By running it’s manually, it fails on the following:

[root@dl1-librenms-srv01 librenms]# ./daily.sh
Re-running /opt/librenms/daily.sh as librenms user
Updating to latest codebase FAIL
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK

Check logs/librenms.log

Post the output of validate.php

Solved, there was some issue on the firewall site, it was blocking the internet access

Hello All,
I have got the following on ./daily.sh

./daily.sh
Re-running /opt/librenms/daily.sh as librenms user
Unable to open logfile ‘/var/log/zarafa/php-mapi.log’ as user 'librenms’
Not enough permissions to append logfile ‘/var/log/zarafa/php-mapi.log’. Reverting to stderr.
Unable to open logfile ‘/var/log/zarafa/php-mapi.log’ as user 'librenms’
Not enough permissions to append logfile ‘/var/log/zarafa/php-mapi.log’. Reverting to stderr.
Unable to open logfile ‘/var/log/zarafa/php-mapi.log’ as user 'librenms’
Not enough permissions to append logfile ‘/var/log/zarafa/php-mapi.log’. Reverting to stderr.
Updating to latest codebase OK
Updated from f7e14df90e1eac5efedb0d52b482a911317cc791 to ec72eb2960db383948d4ef66e7c2dbfd91cb6ba7 OK
Unable to open logfile ‘/var/log/zarafa/php-mapi.log’ as user 'librenms’
Not enough permissions to append logfile ‘/var/log/zarafa/php-mapi.log’. Reverting to stderr.
Unable to open logfile ‘/var/log/zarafa/php-mapi.log’ as user 'librenms’
Not enough permissions to append logfile ‘/var/log/zarafa/php-mapi.log’. Reverting to stderr.
Unable to open logfile ‘/var/log/zarafa/php-mapi.log’ as user 'librenms’
Not enough permissions to append logfile ‘/var/log/zarafa/php-mapi.log’. Reverting to stderr.
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK

run a ./validate.php and check for permission

run a ./validate.php and check for permissions

Please don’t hijack someone else’s post.

However - all of those errors are nothing to do with LibreNMS, looks you’ve got or had another app installed with some php config. You’ll need to find that an clear it out.

Good day,

I’m getting the following message
[librenms@librenms ~]$ ./daily.sh
Updating to latest codebase FAIL
fatal: unable to access ‘https://github.com/librenms/librenms.git/’: SSL certificate problem: certificate is not yet valid
Updating Composer packages OK
Updating SQL-Schema OK
Updating submodules OK
Cleaning up DB OK
Fetching notifications OK
Caching PeeringDB data OK
Caching Mac OUI data OK

Check so the time is in sync on your server else you probably have a proxy that self-sign the certificates between your server and github.com, it’s not related to librenms tho. Talk with your network admin!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.