mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
06b85f5b07
* clean 1-Minute-Polling.md formatting * cleanup formatting for Adding-a-Device.md * clean up formatting of Cleanup-options.md * cleanup formatting some for CLI-Tools.md * cleanup formatting for Syslog.md and Configuration.md * cleanup formatting for Device-Sensors.md * cleanup formatting for Device-Troubleshooting.md * cleanup Discovery Support.md * cleanup Environment-Variables.md * cleanup Example-Hardware-Setup.md and FAQ.mg * update Features.md, Install Validation.md, Perfermance.md, Poller Support.md, and index.md * cleanup Remote-Monitoring-VPN.md, SNMP-Configuration-Examples.md, and SSL-Configuration.md * lots of updates for Installation docs * more installation doc cleanup * more formatting cleanup * clean Work-Map.md up some
39 lines
1001 B
Markdown
39 lines
1001 B
Markdown
source: General/Updating.md
|
|
path: blob/master/doc/
|
|
|
|
By default, LibreNMS is set to automatically update. If you have
|
|
disabled this feature then you can perform a manual update.
|
|
|
|
# Manual update
|
|
|
|
If you would like to perform a manual update then you can do this by
|
|
running the following command as the `librenms` user:
|
|
|
|
`./daily.sh`
|
|
|
|
This will update both the core LibreNMS files but also update the database
|
|
structure if updates are available.
|
|
|
|
# Advanced users
|
|
|
|
If you absolutely must update manually without using `./daily.sh` then
|
|
you can do so by running the following commands:
|
|
|
|
```bash
|
|
cd /opt/librenms
|
|
git pull
|
|
composer install --no-dev
|
|
./build-base.php
|
|
./validate.php
|
|
```
|
|
|
|
You should continue to run daily.sh. This does database cleanup and
|
|
other processes in addition to updating. You can disable the daily.sh
|
|
update process as described below.
|
|
|
|
# Disabling automatic updates
|
|
|
|
LibreNMS by default performs updates on a daily basis. This can be disabled by setting:
|
|
|
|
`$config['update'] = 0;`
|