Closed yuuyins closed 2 years ago
In the logs you attached (thanks for that by the way!) I found this line:
logger=plugin.manager t=2022-06-02T10:53:45.11+0200 lvl=eror msg="Could not start plugin" pluginId=frser-sqlite-datasource err="fork/exec /var/lib/grafana/plugins/frser-sqlite-datasource/gpx_sqlite-datasource_linux_amd64: no such file or directory"
For some reason Grafana does not see the file. Maybe it is a permission thing? I see the root
user owns the files. Maybe grafana needs to be the file and folder owner?
I have two ideas you could try:
sudo
(so it is not the root
user who executes this command and creates the plugin)grafana
but maybe check what users you have): sudo chown -R grafana /var/lib/grafana/plugins
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 this is most likely a NixOS specific issue, in which it is trying to find the dynamic loader in a path that does not exist in NixOS; happens when trying to execute a binary in NixOS that was created in another distribution like Ubuntu. As such, I'm closing this issue.
Describe the bug
Error
Plugin unavailable
when trying to save and test data source.To Reproduce Steps to reproduce the behavior:
sudo grafana-cli plugins install frser-sqlite-datasource
sudo systemctl restart grafana.service
/path/to/sqlite.db
Screenshots If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Additional context
Add any other context about the problem here. Please also attach the logs of Grafana!
grafana.log