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

Failed to install plugin #1850

Open
BiggieN opened this issue Jul 6, 2024 · 5 comments
Open

Failed to install plugin #1850

BiggieN opened this issue Jul 6, 2024 · 5 comments

Comments

@BiggieN
Copy link

BiggieN commented Jul 6, 2024

Describe the bug
Good day. I have a problem installing a plugin in the grafana web interface. Grafana is installed locally on kde neon, the plugin was installed by the command grafana-cli plugins install alexanderzobnin-zabbix-app. In the web interface, I went to Administration - Plugins and data - Plugins, chose Zabbix plugin, then clicked install and got the following error. All this was done via VPN. Can you tell me where I can view the installation logs?

Expected behavior
Plugin installed successfully

Screenshots
Screenshot_20240706_220553

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
11.1.0 x.x.x 4.5.2
@BiggieN
Copy link
Author

BiggieN commented Jul 7, 2024

Logs show this: logger=context userId=1 orgId=1 uname=admin t=2024-07-07T11:56:07.402106392+03:00 level=error msg="Failed to install plugin" error="failed to extract plugin archive: unlinkat /var/lib/grafana/plugins/alexanderzobnin-zabbix-app/styles/light.css: permission denied" remote_addr=127.0.0.1 traceID=
logger=context userId=1 orgId=1 uname=admin t=2024-07-07T11:56:07.402400285+03:00 level=error msg="Request Completed" method=POST path=/api/plugins/alexanderzobnin-zabbix-app/install status=500 remote_addr=127.0.0.1 time_ms=560 duration=560.51825ms size=51 referer=http://127.0.0.1:3000/plugins/alexanderzobnin-zabbix-app handler=/api/plugins/:pluginId/install status_source=server

I tried to add full permissions for all for /var/lib/grafana and subfolders, but it didn't helped.

@marcelordeo
Copy link

Dear,

I have this problem too.
I haven't found a solution yet.

It started in version 4.5.2

@eneidercolina
Copy link

@marcelordeo
Copy link

Hello, thanks for the feedback.

The link is not available or is broken. :(

@marcelordeo
Copy link

Hello,

It worked like this for me,

chown -R grafana.grafana /var/lib/grafana/plugins/
systemctl restart grafana-server

grafana-cli plugins uninstall alexanderzobnin-zabbix-app
rm -rf /var/lib/grafana/plugins

And I installed the plugin via WEB.

It worked perfectly.

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