mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added updating of sql database when daily updates are run. Also added a small doc showing how to manually update
This commit is contained in:
1
daily.sh
1
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
|
||||
|
12
doc/UPDATING.md
Normal file
12
doc/UPDATING.md
Normal 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.
|
Reference in New Issue
Block a user