As an admin role, not able to manage plugins

  • What Grafana version and what operating system are you using?

v8.4.3, self-hosted on AWS

  • What are you trying to achieve?

As an admin role, I am trying to install a plugin (Infinity specifically)

  • How are you trying to achieve it?

Logged in as the Admin role.
Configuration > Plug-ins > Search for Plugin (Infinity)

  • What happened?

No install button.
“You do not have permission to INSTALL this plugin.”

  • What did you expect to happen?

There to be an Install button and plugin becomes installed.

  • Did you receive any errors in the Grafana UI or in related logs?

“You do not have permission to INSTALL this plugin.”

  • Did you follow any online instructions? If so, what is the URL?

https://grafana.com/docs/grafana/latest/administration/plugin-management/#plugin-catalog

Not sure what the difference is between an admin role, compared to the server administrator and organization administrator roles. Could not find more clarification on this, from what I can tell, I should be able to install plug-ins.

2 Likes

I am also faced this problem, Who anyone help us?

1 Like

Hello,

If you are still facing this issue here is the way I solved it.

You have to change the configuration of a Grafana workspace using the Amazon Managed Grafana console.

  1. Open the Amazon Managed Grafana console.
  2. In the left navigation pane, choose the menu icon.
  3. Choose All workspaces.
  4. Choose the name of the workspace that you want to configure. This opens the details for that workspace.
  5. Choose the Workspace configuration options tab to see the instance configuration options for your instance.
  6. Select Edit next to either Grafana alerting or Plugin management.
    • Plugin managementTo turn on plugin management, select the check box to Turn plugin management on. Turning plugin management on allows admins in your Amazon Managed Grafana workspace to install, update, or remove plugins using the Grafana plugin catalog. This option is only available for workspaces that support Grafana version 9 or newer.

After this when you login:
Logged in as the Admin role.
Configuration > Plug-ins > Search for Plugin

The Install button for the plugin becomes visible. I hope this helps.

Reference:

Here’s the solution translated into English for resolving the issue where plugin installation is disabled:

  1. sudo nano /etc/grafana/grafana.ini
  2. Modify the following settings:
[plugins]
plugin_admin_enabled = true
plugin_admin_external_manage_enabled = true