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.
Chas
23 April 2019 07:28
2
i think you also need to rerun a migration, same as here:
Your install missed some migrations.
Try this:
DELETE FROM migrations where migration='2019_02_10_220000_add_dates_to_fdb'; and ./lnms migrate
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