Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Grafana OSS 7.5.15 #117

Closed
MatheusGelinskiPires opened this issue Mar 14, 2022 · 3 comments
Closed

Not working on Grafana OSS 7.5.15 #117

MatheusGelinskiPires opened this issue Mar 14, 2022 · 3 comments
Assignees
Labels

Comments

@MatheusGelinskiPires
Copy link

MatheusGelinskiPires commented Mar 14, 2022

What happened: plugin v1.4.0 is not loading/working on Grafana 7.5.15

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Fresh install RHEL 8 and YUM manual install of OSS Grafana.

Plugin also installed via grafana-cli

Anything else we need to know?:

Logs

t=2022-03-14T21:06:39+0000 lvl=dbug msg="Loading plugin" logger=plugins path=/var/lib/grafana/plugins/grafana-x-ray-datasource/plugin.json
t=2022-03-14T21:06:39+0000 lvl=dbug msg="Getting signature state of plugin" logger=plugins plugin=grafana-x-ray-datasource isBackend=true
t=2022-03-14T21:06:39+0000 lvl=dbug msg="Verifying contents of plugin manifest" logger=plugins plugin=grafana-x-ray-datasource
t=2022-03-14T21:06:39+0000 lvl=dbug msg="Plugin signature valid" logger=plugins id=grafana-x-ray-datasource
t=2022-03-14T21:06:40+0000 lvl=dbug msg="Found plugin" logger=plugins id=grafana-x-ray-datasource signature=valid hasRoot=false
t=2022-03-14T21:06:40+0000 lvl=dbug msg="Plugin has valid signature" logger=plugins id=grafana-x-ray-datasource
t=2022-03-14T21:06:40+0000 lvl=dbug msg="Attempting to add plugin" logger=plugins id=grafana-x-ray-datasource
t=2022-03-14T21:06:40+0000 lvl=info msg="Registering plugin" logger=plugins id=grafana-x-ray-datasource
t=2022-03-14T21:06:40+0000 lvl=dbug msg="Registering backend plugin" logger=plugins.backend pluginId=grafana-x-ray-datasource
t=2022-03-14T21:06:40+0000 lvl=dbug msg="Backend plugin registered" logger=plugins.backend pluginId=grafana-x-ray-datasource
t=2022-03-14T21:06:40+0000 lvl=dbug msg="Successfully added plugin" logger=plugins id=grafana-x-ray-datasource
t=2022-03-14T21:06:40+0000 lvl=dbug msg="Plugins: Adding route" logger=http.server route=/public/plugins/grafana-x-ray-datasource dir=/var/lib/grafana/plugins/grafana-x-ray-datasource
t=2022-03-14T21:06:40+0000 lvl=dbug msg="starting plugin" logger=plugins.backend pluginId=grafana-x-ray-datasource path=/var/lib/grafana/plugins/grafana-x-ray-datasource/gpx_x-ray-datasource_linux_amd64 args=[/var/lib/grafana/plugins/grafana-x-ray-datasource/gpx_x-ray-datasource_linux_amd64]
t=2022-03-14T21:06:40+0000 lvl=dbug msg="plugin started" logger=plugins.backend pluginId=grafana-x-ray-datasource path=/var/lib/grafana/plugins/grafana-x-ray-datasource/gpx_x-ray-datasource_linux_amd64 pid=54632
t=2022-03-14T21:06:40+0000 lvl=dbug msg="waiting for RPC address" logger=plugins.backend pluginId=grafana-x-ray-datasource path=/var/lib/grafana/plugins/grafana-x-ray-datasource/gpx_x-ray-datasource_linux_amd64
t=2022-03-14T21:06:40+0000 lvl=dbug msg="Serving plugin" logger=plugins.backend pluginId=grafana-x-ray-datasource plugins="[diagnostics resource data]"
t=2022-03-14T21:06:40+0000 lvl=dbug msg="plugin address" logger=plugins.backend pluginId=grafana-x-ray-datasource address=/tmp/plugin751673590 network=unix
t=2022-03-14T21:06:40+0000 lvl=dbug msg="using plugin" logger=plugins.backend pluginId=grafana-x-ray-datasource version=2
t=2022-03-14T21:07:11+0000 lvl=info msg="Request Completed" logger=context userId=1593 orgId=1 uname=XXXXXX method=GET path=/public/@emotion/css status=404 remote_addr=XX.XX.XX.XX time_ms=423 size=270370 referer=http://XX.XX.XX.XX:3000/plugins/grafana-x-ray-datasource/

Environment: PRD

  • Grafana version: OSS 7.5.15
  • Plugin version: 1.4.0
  • OS Grafana is installed on: Red Hat Enterprise Linux release 8.5 (Ootpa)
  • User OS & Browser: Widnows 10 // Google Chrome v92.0.4515.131
  • Others:
@andresmgot
Copy link
Contributor

Hi @MatheusGelinskiPires,

I am able to reproduce an error with Grafana 7.5 and x-ray 1.4. Is this the same error you are seeing?

Screenshot from 2022-03-15 10-48-00

The latest version of the plugin includes more recent versions of the packages under @grafana repository. I recommend you to upgrade to a newer version of Grafana but you can also install the previous version of the plugin to avoid the error: 1.3.4

@MatheusGelinskiPires
Copy link
Author

@andresmgot , yes!
It nevers complete its loads on the plugins page also (loading loop).

@idastambuk
Copy link
Contributor

Hi @MatheusGelinskiPires this seems like a problem with dependencies between grafana and the plugin. As we no longer maintain grafana<8.4.0 environments, I would suggest upgrading to the latest plugin and Grafana version.
Another option is to upgrade to grafana@8.4.0 and x-ray@2.0.0. We would be able to help more with those minimum versions.
For this reason, I will close this ticket and in case there are problems upgrading, please submit another ticket.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants