I am a novice here but had a wroking install on the 9th May we are using Centos7. I would suggest following an automatic update of LibreNMS over night the following day we get the error when trying to access the webui. I am not able to install the suggested ./scripts/composer_wrapper.php install --no-dev
I have tried a few of the fixes mentioned above but get the similar error when I execute.
-bash: php: command not found
If I try php -v i also get the same error. Pretty much any command I try to run that relates to php returns the above error.
You’re not saying which directory you’re running this from or which user…
Should be /opt/librenms and run as the librenms user.
In Debian
su - librenms
cd /opt/librenms
./scripts/composer_wrapper.php install --no-dev
The fact that it’s apparently not finding your php is troubling though… suggests either php isn’t installed or isn’t on the path for that particular user/shell.