Validate.php wont load 503 Error

It’s been awhile since I’ve run the validation page. Upon checking today it’s not loading, receiving a 503 error.

image

I’ve reset the permissions for the files following the guide:Ubuntu 18.04 - Nginx - LibreNMS Docs

chown -R librenms:librenms /opt/librenms
chmod 770 /opt/librenms
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cac

Still have the same issue. The odd thing is everything else works perfectly.

librenms@librenms:/opt/librenms$ php -v
PHP 7.4.3 (cli) (built: Nov 25 2021 23:16:22) ( NTS )

librenms@librenms:/opt/librenms$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

Any ideas on what else to try? Thanks!

Edit: Took a snapshot and ran the following which corrected my issue.

apt remove composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php --install-dir=/usr/bin --filename=composer'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
1 Like