I recently upgraded from an ancient version of librenms, with an ancient php 5.something, to latest and php7.2. I believe I’ve upgraded all necessary packages (sql, anything that complained, etc).
Validate looks clean, and composer-wrapper runs, and even after installing acl and running those setfacl commands, everything is happy. The website just doesn’t work at all.
Forgive me for not cutting&pasting the validate.php output; it’s on another machine entirely. Reproduced here:
`LibreNMS 1.43-434-ga9723cb
DB Schema 268
PHP 7.2.10-1+ubuntu14.04.1+deb.sury.org+1
MySQL 5.7.18
RRDTool 1.4.7
SNMP NET-SNMP 5.7.2
Composer Version: 1.7.2
’
All dependencies up to date, database connection successful, database schema correct.
All I get in my librenms.log (besides a lot of poller.php logging) is a single “GET / HTTP 1.1” 500 206 line. I’ve even tried with /debug=yes, same thing.
Probably NOT related since it was happening before: whenever poller runs, I get mail (lots of mail) from cron with subject line “librenms /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16” with a message body of “/bin/sh: 1: librenms: not found”
Any clues? I haven’t YET updated ubuntu to 15.04 (and hopefully onwards to 16.04), but if that might help, I’ll do that.