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

Cannot open Datasource configuration after upgrading plugin and Zabbix #1966

Open
Ricaz opened this issue Feb 11, 2025 · 7 comments
Open

Cannot open Datasource configuration after upgrading plugin and Zabbix #1966

Ricaz opened this issue Feb 11, 2025 · 7 comments

Comments

@Ricaz
Copy link

Ricaz commented Feb 11, 2025

Describe the bug
Cannot open Datasource configuration after upgrade to plugin version 4.6.1.
I upgraded Zabbix from 6.4 to 7.2, then upgraded the Grafana plugin.
We use the direct DB functionality.

Edit: The Datasource still works as before.

We have a lot of dashboards using this datasource, and I'm unsure what would happen if we re-create it.

Full log from the screenshot below:

Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    at t.EditorStack (https://redacted.com/public/plugins/alexanderzobnin-zabbix-app/datasource/module.js:169:9128)
    at div
    at label
    at div
    at m (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:1608:23)
    at div
    at c (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:1475:20)
    at div
    at div
    at t.GenericConfigSection (https://redacted.com/public/plugins/alexanderzobnin-zabbix-app/datasource/module.js:7:24321)
    at t.ConfigSubSection (https://redacted.com/public/plugins/alexanderzobnin-zabbix-app/datasource/module.js:7:23985)
    at div
    at div
    at t.GenericConfigSection (https://redacted.com/public/plugins/alexanderzobnin-zabbix-app/datasource/module.js:7:24321)
    at t.ConfigSection (https://redacted.com/public/plugins/alexanderzobnin-zabbix-app/datasource/module.js:7:23659)
    at eval (https://redacted.com/public/plugins/alexanderzobnin-zabbix-app/datasource/module.js:315:7730)
    at div
    at k (https://redacted.com/public/build/7632.ecf716cc549cd6325ab1.js:4:2917)
    at d (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:1:172)
    at form
    at re (https://redacted.com/public/build/7632.ecf716cc549cd6325ab1.js:4:5055)
    at oe (https://redacted.com/public/build/7632.ecf716cc549cd6325ab1.js:4:4600)
    at div
    at l (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:4847:840)
    at div
    at div
    at div
    at ne (https://redacted.com/public/build/215.c1c0320c66de376bf22b.js:125:13314)
    at r (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:475:3184)
    at div
    at y (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:4847:1016)
    at E (https://redacted.com/public/build/EditDataSourcePage.82be7fd6d381d43d264c.js:1:226)
    at Suspense
    at i (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:1270:169)
    at dm (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:9734:330)
    at Kt (https://redacted.com/public/build/215.c1c0320c66de376bf22b.js:158:13496)
    at Kt (https://redacted.com/public/build/215.c1c0320c66de376bf22b.js:158:15691)
    at main
    at Uu (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:9695:2479)
    at Kt (https://redacted.com/public/build/215.c1c0320c66de376bf22b.js:158:9783)
    at div
    at d (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:2525:4092)
    at p (https://redacted.com/public/build/215.c1c0320c66de376bf22b.js:32:52076)
    at i (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:5204:16801)
    at i (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:1270:169)
    at f (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:1270:720)
    at S (https://redacted.com/public/build/215.c1c0320c66de376bf22b.js:154:125332)
    at Bm (https://redacted.com/public/build/8534.e679449576cebd9f6b2c.js:9747:122)

Expected behavior
Datasource configuration opens correctly.

Screenshots
Image

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
9.4.7 7.2.3 4.6.1
@kaospwnz
Copy link

kaospwnz commented Feb 13, 2025

The same things on:

Grafana - 9.2.10
Zabbix - 7.2.3
Grafana-Zabbix plugin - 5.0.0

@LiorYakobov
Copy link

LiorYakobov commented Feb 18, 2025

I also face the same issue:

Grafana - 9.5.21
Zabbix - 6.4
Grafana-zabbix-plugin - 4.6.1

Any update please?

@kaospwnz
Copy link

At all - I'm just updating grafana (with troubles, but it works)

The reason is the old grafana version that doesn't support new zabbix plugin.

@LiorYakobov
Copy link

Ok I downgraded the plugin to 4.5.7 and it indeed worked.
So if that is the case, the documentation of the plugin should be updated, so it will mention that plugin version 4.6.1 requires newer grafana then >= 9.3.0

Image

@kaospwnz
Copy link

Ok I downgraded the plugin to 4.5.7 and it indeed worked.
So if that is the case, the documentation of the plugin should be updated, so it will mention that plugin version 4.6.1 requires newer grafana then >= 9.3.0

Image

Do you have troubles with data source link in plugins's settings?

@Ricaz
Copy link
Author

Ricaz commented Feb 18, 2025

Ok I downgraded the plugin to 4.5.7 and it indeed worked.
So if that is the case, the documentation of the plugin should be updated, so it will mention that plugin version 4.6.1 requires newer grafana then >= 9.3.0

Image

How did you downgrade?

Did panels lose their datasource connection afterwards?

@LiorYakobov
Copy link

Ok I downgraded the plugin to 4.5.7 and it indeed worked.
So if that is the case, the documentation of the plugin should be updated, so it will mention that plugin version 4.6.1 requires newer grafana then >= 9.3.0
Image

How did you downgrade?

Did panels lose their datasource connection afterwards?

I currently just tested it on some dev environment, so I don't have panels/dashboards there.
And I downgraded by either installing specific version with cli
grafana-cli plugins install alexanderzobnin-zabbix-app 4.5.7

Or through the helm chart values, as I use kube-prometheus-stack helm chart which uses grafana chart as dependency, I provided this value:

grafana:
    plugins:
        - https://grafana.com/api/plugins/alexanderzobnin-zabbix-app/versions/4.5.7/download;alexanderzobnin-zabbix-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants