diff --git a/daily.sh b/daily.sh index 3d612727f..a85400d44 100644 --- a/daily.sh +++ b/daily.sh @@ -2,6 +2,7 @@ if [ $(php daily.php -f update) -eq 1 ]; then git pull --no-edit --quiet + php includes/sql-schema/update.php fi php daily.php -f syslog diff --git a/doc/UPDATING.md b/doc/UPDATING.md new file mode 100644 index 000000000..416b65cc6 --- /dev/null +++ b/doc/UPDATING.md @@ -0,0 +1,12 @@ +## Updating your install ## + +LibreNMS by default performs updates on a daily basis. This can be disabled by ensuring: + + $config['update'] = 0; + +Is no longer commented out. If you would like to perform a manual update then you can do this by running the following commands: + + git pull --no-edit --quiet + php includes/sql-schema/update.php + +This will update both the core LibreNMS files but also update the database structure if updates are available.