Merge pull request #215 from laf/issue-laf-30

Added updating of sql database when daily updates are run.
This commit is contained in:
Paul Gear
2014-04-28 09:25:41 +10:00
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -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
+12
View File
@@ -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.