Date: Tue, 04 Apr 2017 12:32:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218351] net-mgmt/librenms: validate.php fails in fresh FreeBSD 11 Jail Message-ID: <bug-218351-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218351 Bug ID: 218351 Summary: net-mgmt/librenms: validate.php fails in fresh FreeBSD 11 Jail Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: freebsd@jonathanprice.org Assignee: bofh@freebsd.org Flags: maintainer-feedback?(bofh@freebsd.org) I created a new FreeBSD 11.0-RELEASE jail, changed the pkg repo to latest a= nd ran "pkg install librenms". When I run validate.php I get the following error: PHP Warning: require(/usr/local/www/librenms/vendor/autoload.php): failed = to open stream: No such file or directory in /usr/local/www/librenms/includes/init.php on line 40 PHP Fatal error: require(): Failed opening required '/usr/local/www/librenms/vendor/autoload.php' (include_path=3D'.:/usr/local/share/pear') in /usr/local/www/librenms/includes/init.php on line 40 If I perform a git clone of the original repo and run validate.php I get: [FAIL] config.php does not exist, please copy config.php.default to config= .php The latter error is just because it's a blank installation and hasn't been configured yet, but the point is that I am only seeing the first error with= the FreeBSD port. Strangely, the offending line "require $install_dir . '/vendor/autoload.php= ';" exists in both the FreeBSD port and the git clone, but only causes an issue with the port. I have tried loading /install.php and it gives a HTTP 500. There is no error output to the nginx error log. I tried adding /debug=3Dtrue/ and this did n= ot help.] When I switch nginx to point to the git clone'd copy of librenms, it loads correctly at the installation web UI. It should be fairly simple to recreate as all I did was create a blank Free= BSD 11 Jail and then install the librenms package, but nonetheless I am able to test any suggestions to resolve this issue. I have had a brief look, but my= PHP knowledge is holding me back in debugging thsi. Thanks, Jonathan --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218351-13>