Several errors after PHP upgrade

I updated PHP to 7.2 and it really messed up my LibreNMS install. I have been able to fix most of the issues but I am stuck on a few weird ones.

Output of ./validate.php: Pastebin

In addition the webui returns an http 500 error

git status returns:
On branch master
Your branch is up-to-date with ‘origin/master’.
nothing to commit, working directory clean

I have attempted to fix the database with the provided SQL statements, however this is what I get: Pastebin

I am not sure where to go from here.

i think you also need to rerun a migration, same as here:

if there is still 500 error, this is normally a misconfiguration of php and the webserver, remember to disable your older php modules

Thank you, the migration tip fixed that error

However after I disabled php 7.0, my server error changed from a 500 error to a 502 bad gateway error. I am poking around with that but any advice would be greatly appreciated.

Nevermind, I got it. just needed to update the nginx config to use the new version

1 Like