Changing from daily updates to monthly

Hello

If we want to change from daily updates to monthly branch, are these the right steps:

$config['update_channel'] = 'release'; in config.php

Do we need to run this command aswell?
cd /opt/librenms && git fetch --tags && git checkout $(git describe --tags $(git rev-list --tags --max-count=1))

Is it possible to specify what day and time it updates?

I had a quick look, I think the daily.sh script keeps running daily until there is a change in the release branch. So I’m guessing we could change the time here?

15 0 * * * librenms /opt/librenms/daily.sh >> /dev/null 2>&1

Thanks!

Don’t change the cron for daily.sh it dose more than just updates it also performs maintenance.

If you want to change to the stable branch follow this doc. https://docs.librenms.org/#General/Updating/

1 Like

the link u posted does not state anything about changing to a monthly release branch. also im running the version below

image

    # Uncomment the next line to disable daily updates
   $config['update'] = 0;
   $config['update'] = 'release';
   $config['fping'] = '/usr/sbin/fping';

would i have to change mine for this ?

https://docs.librenms.org/General/Releases/

1 Like

thank you. did not mean to hijack the thread