2016-08-24 08:12:20 +01:00
|
|
|
source: General/Updating.md
|
2014-03-29 20:06:26 +00:00
|
|
|
## Updating your install ##
|
|
|
|
|
2016-08-11 09:07:13 -05:00
|
|
|
If you would like to perform a manual update
|
|
|
|
then you can do this by running the following command as the **librenms** user:
|
2014-03-29 20:06:26 +00:00
|
|
|
|
2016-08-26 00:40:11 +01:00
|
|
|
`./daily.sh`
|
2014-03-29 20:06:26 +00:00
|
|
|
|
2015-03-09 08:09:53 +10:00
|
|
|
This will update both the core LibreNMS files but also update the database
|
|
|
|
structure if updates are available.
|
2016-08-11 09:07:13 -05:00
|
|
|
|
|
|
|
## Configuring the update channel ##
|
|
|
|
LibreNMS follows the master branch on github for daily updates.
|
|
|
|
You can change to the monthly releases by setting:
|
|
|
|
|
2016-08-26 00:40:11 +01:00
|
|
|
`$config['update_channel'] = 'release';`
|
2016-08-11 09:07:13 -05:00
|
|
|
|
|
|
|
## Disabling automatic updates ##
|
|
|
|
LibreNMS by default performs updates on a daily basis. This can be disabled
|
|
|
|
by ensuring:
|
|
|
|
|
2016-08-26 00:40:11 +01:00
|
|
|
`$config['update'] = 0;`
|
2016-08-11 09:07:13 -05:00
|
|
|
|
2016-08-19 00:44:02 +02:00
|
|
|
is no longer commented out.
|