Try doing a manual update
https://docs.librenms.org/General/Updating/
cd /opt/librenms
git pull
composer install --no-dev
./build-base.php
./validate.php
Error on composer install
Try changing php versions by removing old version of php and install composer
yum remove php71* yum install php composer