Tony Murray 496575ea99 docs: Add composer back to the CentOS install docs (#8224)
* Add composer back to the centos install docs
This is for CentOS 7, not CentOS 6...

* In tree composer requires php 7.2

* Rename socket file to match

* Clean up the initial config.php a bit
Add clearer releasing info in that config.php
Update the manual update instructions
2018-02-08 21:46:55 +00:00

32 lines
935 B
Markdown

source: General/Updating.md
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
```
Not using daily.sh means that you will also lose a lot of automatic database clean up, you will need to do this manually.
## Disabling automatic updates ##
LibreNMS by default performs updates on a daily basis. This can be disabled by setting:
`$config['update'] = 0;`