fr-ser / grafana-sqlite-datasource

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

FreeBSD 13 plugin installation fails #78

Closed karthi12346 closed 2 years ago

karthi12346 commented 2 years ago

In grafana.log got following error:

lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=frser-sqlite-datasource error="fork/exec /var/db/grafana/plugins/frser-sqlite-datasource/gpx_sqlite-datasource_freebsd_amd64: no such file or directory"

How to build plugin for FreeBSD?

fr-ser commented 2 years ago

If you want to build it yourself take a look here: https://github.com/fr-ser/grafana-sqlite-datasource/blob/master/DEVELOPMENT.md

But if you mean that I should include a FreeBSD build, I will have to investigate a bit first

karthi12346 commented 2 years ago

Thanks. I can build and use unsigned version in FreeBSD13: go mod vendor env GOOS=freebsd GOARCH=amd64 go build -ldflags="-s -w" -mod=vendor -o ./dist/gpx_sqlite-datasource_freebsd_amd64 ./pkg

It would be nice if I can use signed version of plugin to use in grafana8.

stale[bot] commented 2 years 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.

fr-ser commented 2 years ago

The new release v3.0.0 should solve the issue: https://github.com/fr-ser/grafana-sqlite-datasource/releases/tag/v3.0.0