NagVis / nagvis

Visualization addon for your open source monitoring core

Home Page:http://nagvis.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to open auth database (sqlite:/usr/local/nagvis/etc/auth.db): "could not find driver" after updaing from ubuntu 18 to ubuntu 20

tafi786 opened this issue · comments

Hi

I upgraded two server which both have nagios and nagvis running and after the upgrade from ubuntu 18 to ubuntu 20. After the upgrade im getting this error "Unable to open auth database (sqlite:/usr/local/nagvis/etc/auth.db): "could not find driver"". Please could someone advises how to fit this.

image

many regards

Altaf

commented

Seems php sqlite module is missing or not enabled in your installation.

I'm having the same issue with the upgrade from Debian 11 to Debian 12. The sqlite modules are installed and enabled in php, but nagvis doesn't seem to find them. Same issue with a fresh install of NagVis on the upgraded machine.

I found the issue. Although the sqlite and pdo sections were displayed in phpinfo, the php config files were not stated in the Additional .ini files parsed section for some reason. An apachectl restart fixed it.