NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
113 stars 73 forks source link

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

Closed tafi786 closed 2 years ago

tafi786 commented 2 years ago

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

LarsMichelsen commented 2 years ago

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

FrderiVR commented 3 months ago

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.

FrderiVR commented 3 months ago

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.