I’m trying to migrate from ubuntu 16 LTS to ubuntu 22 LTS. Have installed all required components, and restored old rrd files and librenms mysql dump to ubuntu 22, i’m hitting “Could not connect to database, check logs/librenms.log”.
Opening the webbrowser opens the setup page and i wonder if my restored db get overwritten if proceed with setup page, because i see “Build Database” button.
I don’t have config backups of ubuntu16, esp .env and config.php.
Done everything, except .env and config.php files since i don’t have config backup( ubuntu 16 crashed and not recoverable, fortunately i had automatic backups of mysql and rrd files).
Went ahead and completed installation thru GUI.
restored mysql backup and rrd folder again.
edited .env and config.php files.
ran ./validate.php again to fix the issues.
Now the issue is with graph, “ERROR: This RRD was created on another architecture”