I am having some trouble using the some datasource plugins, grafana-github-datasource and yesoreyeram-infinity-datasource fails with the same errors. They’re both based on Golang.
Older (using deprecated Angular) does not have the same issue, for example GitHub - sensu/grafana-sensu-go-datasource: A Grafana data source plugin for querying the Sensu Go API works fine.
I have not any other plugins than the
From /var/log/grafana/grafana.log
:
logger=plugin.store t=2024-07-17T13:49:11.782592373Z level=info msg="Loading plugins..."
logger=plugins.registration t=2024-07-17T13:49:11.809603808Z level=error msg="Could not register plugin" pluginId=xychart error="plugin xychart is already registered"
logger=plugins.initialization t=2024-07-17T13:49:11.809850237Z level=error msg="Could not initialize plugin" pluginId=xychart error="plugin xychart is already registered"
logger=plugin.grafana-github-datasource t=2024-07-17T13:49:11.907325075Z level=error msg="plugin init error" error="listen unix /tmp/plugin1759906345: socket: address family not supported by prot
ocol"
logger=plugin.grafana-github-datasource t=2024-07-17T13:49:11.908637164Z level=info msg="plugin process exited" plugin=/var/lib/grafana/plugins/grafana-github-datasource/gpx_github_linux_amd64 id
=1835041
logger=plugins.backend.start t=2024-07-17T13:49:11.908956226Z level=error msg="Could not start plugin backend" pluginId=grafana-github-datasource error="Unrecognized remote plugin message: \nFail
ed to read any lines from plugin's stdout\nThis usually means\n the plugin was not compiled for this architecture,\n the plugin is missing dynamic-link libraries necessary to run,\n the plugin
is not executable by this process due to file permissions, or\n the plugin failed to negotiate the initial go-plugin protocol handshake\n\nAdditional notes about plugin:\n Path: /var/lib/grafa
na/plugins/grafana-github-datasource/gpx_github_linux_amd64\n Mode: -rwxr-x---\n Owner: 117 [grafana] (current: 117 [grafana])\n Group: 124 [grafana] (current: 124 [grafana])\n ELF architectu
re: EM_X86_64 (current architecture: amd64)\n"
logger=plugins.initialization t=2024-07-17T13:49:11.909179174Z level=error msg="Could not initialize plugin" pluginId=grafana-github-datasource error="Unrecognized remote plugin message: \nFailed
to read any lines from plugin's stdout\nThis usually means\n the plugin was not compiled for this architecture,\n the plugin is missing dynamic-link libraries necessary to run,\n the plugin i
s not executable by this process due to file permissions, or\n the plugin failed to negotiate the initial go-plugin protocol handshake\n\nAdditional notes about plugin:\n Path: /var/lib/grafana
/plugins/grafana-github-datasource/gpx_github_linux_amd64\n Mode: -rwxr-x---\n Owner: 117 [grafana] (current: 117 [grafana])\n Group: 124 [grafana] (current: 124 [grafana])\n ELF architecture
: EM_X86_64 (current architecture: amd64)\n"
logger=plugins.registration t=2024-07-17T13:49:11.919944854Z level=info msg="Plugin registered" pluginId=grafana-simple-json-datasource
logger=plugin.store t=2024-07-17T13:49:11.919976593Z level=info msg="Plugins loaded" count=55 duration=137.384981ms
permissions:
ls -lah /var/lib/grafana/plugins/grafana-github-datasource
total 26M
drwxr-x--- 4 grafana grafana 4.0K Jul 17 13:47 .
drwxr-x--- 4 grafana grafana 77 Jul 17 13:47 ..
-rw-r----- 1 grafana grafana 4.9K Jul 17 13:47 CHANGELOG.md
drwxr-x--- 2 grafana grafana 28 Jul 17 13:47 dashboards
-rwxr-x--- 1 grafana grafana 8.2K Jul 17 13:47 go_plugin_build_manifest
-rwxr-x--- 1 grafana grafana 26M Jul 17 13:47 gpx_github_linux_amd64
drwxr-x--- 2 grafana grafana 24 Jul 17 13:47 img
-rw-r----- 1 grafana grafana 12K Jul 17 13:47 LICENSE
-rw-r----- 1 grafana grafana 1.7K Jul 17 13:47 MANIFEST.txt
-rw-r----- 1 grafana grafana 43K Jul 17 13:47 module.js
-rw-r----- 1 grafana grafana 100K Jul 17 13:47 module.js.map
-rw-r----- 1 grafana grafana 1.4K Jul 17 13:47 plugin.json
-rw-r----- 1 grafana grafana 5.8K Jul 17 13:47 README.md
When opening data source i get greeted with this warning:
Unsigned plugins were found during plugin initialization. Grafana Labs cannot guarantee the integrity of these plugins. We recommend only using signed plugins.
The following plugins are disabled and not shown in the list below:
grafana-github-datasource Missing signature
Grafana version: 11.1.0 (commit: 5b85c4c2fcf5d32d4f68aaef345c53096359b2f1, branch: HEAD)
OS: Ubuntu 22.04 LTS 64bits
Grafana installed with Puppet and community maintained module.
This is a partial copy paste from the issue I posted here because it seems to not be caused by this specific plugin.