fr-ser / grafana-sqlite-datasource

Grafana Plugin to enable SQLite as a Datasource
Apache License 2.0
123 stars 17 forks source link

sqlite3 plugins don't visible in grafana web page #121

Closed alvarotir closed 3 months ago

alvarotir commented 7 months ago

Describe the bug hi, I manually installed the latest version of your sqlite3 plugins in the path /var/lib/grafana/plugins, restarted the grafana service but unfortunately this is not visible in the web section from the datasources

To Reproduce Steps to reproduce the behavior:

[root@SPE1mpxytool12 frser-sqlite-datasource]# pwd /var/lib/grafana/plugins/frser-sqlite-datasource

[root@SPE1mpxytool12 frser-sqlite-datasource]# ll total 147412 -rw-r--r-- 1 grafana grafana 8330 Dec 11 16:17 CHANGELOG.md -rwxr-xr-x 1 grafana grafana 1440 Dec 11 16:17 go_plugin_build_manifest -rwxr-xr-x 1 grafana grafana 22039872 Dec 11 16:17 gpx_sqlite-datasource_darwin_amd64 -rwxr-xr-x 1 grafana grafana 21772546 Dec 11 16:17 gpx_sqlite-datasource_darwin_arm64 -rwxr-xr-x 1 grafana grafana 28870072 Dec 11 16:17 gpx_sqlite-datasource_freebsd_amd64 -rwxr-xr-x 1 grafana grafana 19812352 Dec 11 16:17 gpx_sqlite-datasource_linux_amd64 -rwxr-xr-x 1 grafana grafana 18939904 Dec 11 16:17 gpx_sqlite-datasource_linux_arm -rwxr-xr-x 1 grafana grafana 19136512 Dec 11 16:17 gpx_sqlite-datasource_linux_arm64 -rwxr-xr-x 1 grafana grafana 20233728 Dec 11 16:17 gpx_sqlite-datasource_windows_amd64.exe drwxr-xr-x 2 grafana grafana 104 Dec 11 16:17 img -rw-r--r-- 1 grafana grafana 11357 Dec 11 16:17 LICENSE -rw-r--r-- 1 grafana grafana 2429 Dec 11 16:17 MANIFEST.txt -rw-r--r-- 1 grafana grafana 17400 Dec 11 16:17 module.js -rw-r--r-- 1 grafana grafana 71646 Dec 11 16:17 module.js.map -rw-r--r-- 1 grafana grafana 1152 Dec 11 16:17 plugin.json -rw-r--r-- 1 grafana grafana 7242 Dec 11 16:17 README.md

[root@SPE1mpxytool12 frser-sqlite-datasource]# systemctl status grafana-server

Dec 14 10:44:25 SPE1mpxytool12 grafana[499998]: logger=settings t=2023-12-14T10:44:25.490148234+01:00 level=info msg="App mode production" Dec 14 10:44:25 SPE1mpxytool12 grafana[499998]: logger=sqlstore t=2023-12-14T10:44:25.49021832+01:00 level=info msg="Connecting to DB" dbtype=sqlite3 Dec 14 10:44:25 SPE1mpxytool12 grafana[499998]: logger=migrator t=2023-12-14T10:44:25.490865449+01:00 level=info msg="Starting DB migrations" Dec 14 10:44:25 SPE1mpxytool12 grafana[499998]: logger=migrator t=2023-12-14T10:44:25.509201742+01:00 level=info msg="migrations completed" performed=0 skipped=608 duration=633.121µs Dec 14 10:44:25 SPE1mpxytool12 grafana[499998]: logger=licensing t=2023-12-14T10:44:25.510057186+01:00 level=info msg="Validated license token" appURL=http://localhost:3000/ source=disk status=NotFound Dec 14 10:44:25 SPE1mpxytool12 grafana[499998]: logger=secrets t=2023-12-14T10:44:25.510447289+01:00 level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1 Dec 14 10:44:25 SPE1mpxytool12 grafana[499998]: logger=plugins.registration t=2023-12-14T10:44:25.577761562+01:00 level=info msg="Plugin registered" pluginId=input Dec 14 10:44:26 SPE1mpxytool12 grafana[499998]: logger=plugins.registration t=2023-12-14T10:44:26.202194626+01:00 level=info msg="Plugin registered" pluginId=frser-sqlite-datasource Dec 14 10:44:26 SPE1mpxytool12 grafana[499998]: logger=query_data t=2023-12-14T10:44:26.223692133+01:00 level=info msg="Query Service initialization" Dec 14 10:44:26 SPE1mpxytool12 grafana[499998]: logger=live.push_http t=2023-12-14T10:44:26.227944054+01:00 level=info msg="Live Push Gateway initialization

Screenshots image

Versions (please complete the following information):

Additional context I don't have internet connection

fr-ser commented 7 months ago

Could you provide the full log message from Grafana after startup at debug level?

More information here: https://grafana.com/docs/grafana/latest/troubleshooting/#troubleshoot-with-logs

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.