When I attempt to go to http:///install.php i get the following error…
Fatal error : Uncaught Error: Call to undefined function LibreNMS\Util\app() in /opt/librenms/LibreNMS/Util/Laravel.php:71 Stack trace: #0 /opt/librenms/LibreNMS/Util/Laravel.php(38): LibreNMS\Util\Laravel::isBooted() #1 /opt/librenms/includes/init.php(96): LibreNMS\Util\Laravel::bootCli() #2 /opt/librenms/html/install.php(30): require(’/opt/librenms/i…’) #3 {main} thrown in /opt/librenms/LibreNMS/Util/Laravel.php on line 71
any thoughts?
Thank you
Did you follow the install docs? looks like you are missing a package.
https://docs.librenms.org/Installation/
Absolutely. That being said, I cannot promise that I didn’t make any mistakes…
I am resetting my machine now and starting the process over. Is there a preference between apache and nginx?
Thank you.
You haven’t installed dependencies.
./scripts/composer_wrapper.php install --no-dev
./validate.php would have told you this also
ok, so I started over with a fresh install of Ubuntu 16.04 and followed the librenms install instructions here… https://docs.librenms.org/Installation/Installation-Ubuntu-1604-Apache/. when I get to the step to install librenms and run the command
composer create-project --no-dev --keep-vcs librenms/librenms librenms dev-master
I get the error - [InvalidArgumentException]
Could not find package librenms/librenms with version dev-master.
If I remove ‘dev-master’ the install completesand I can get to the GUI, however RRD folders don’t exist and I get the following message - RRD Log Directory is missing (/opt/librenms/rrd). Graphing may fail.
Thoughts?
Thank you
You are still missing packages and from the looks of it you are not pasting in commands correctly
I typically key commands in manually as it helps me to learn the process better. However, in this case, I am running as sudo -s, and doing a copy/past on the commands. I’ll try again, but I am not sure what I could be doing wrong on the pasting.
Later today I am going to start from scratch again and save all of my session output to a logfile. Perhaps that will help to find what I am doing wrong…