# Problem by installing a Grafana plugin

**URL:** <https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917>\
**Category:** Installation\
**Tags:** templating, plugins\
**Created:** [April 13, 2022, 3:14am UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917 "2022-04-13T03:14:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![damrak2022](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/damrak2022/32/22784_2.png) [@damrak2022](https://community.grafana.com/u/damrak2022)\
**Post date:** [April 13, 2022, 3:14am UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/1 "2022-04-13T03:14:21Z")

</div>

Sorry for using google translator but my english is really not good enough anymore. I just wanted to install this plugin via the terminal with this command: grafana-cli plugins install grafana-clock-panel. But then I get this message:  
Error: ✗ pluginsDir (/var/lib/grafana/plugins) is not a writable directory  
I have no idea how to get rid of this, since I’m not very familiar with terminal commands.  
I had already installed Grafana and then suddenly Grafana was no longer accessible. Then I did something where I had to confirm the authentication with my password.  
Now I need your help to make it work smoothly again.  
It would be great if you would help me here.

Thank you in advance.  
Greetings Andy

---

<div class="post-metadata">

**Author:** ![dennisngrox](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/dennisngrox/32/22294_2.png) [@dennisngrox](https://community.grafana.com/u/dennisngrox)\
**Post date:** [April 13, 2022, 1:14pm UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/2 "2022-04-13T13:14:34Z")

</div>

Okay fine?

Can you tell me what exactly happened that grafana doesn’t work? He doesn’t access it anymore, the graphics don’t appear, what exactly happens?

Also let me know what you want to use this plugin for, maybe there’s an equal or even better one I can recommend.

Greetings Dennis!

---

<div class="post-metadata">

**Author:** ![damrak2022](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/damrak2022/32/22784_2.png) [@damrak2022](https://community.grafana.com/u/damrak2022)\
**Post date:** [April 14, 2022, 2:18am UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/3 "2022-04-14T02:18:09Z")

</div>

Hello Dennis,  
Thank you for your help. My Grafana works. Now I just wanted to add the plugin for the clock and I got this error message. I might want to include the clock in one or the other diagram.  
I suspect that installing another plugin would not have worked either.  
But since you’re offering me your help, I have an additional question: How can I get the values to be displayed in the diagram itself, e.g. from the temperature. I haven’t managed to do that yet.

Greetings Andy

---

<div class="post-metadata">

**Author:** ![dennisngrox](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/dennisngrox/32/22294_2.png) [@dennisngrox](https://community.grafana.com/u/dennisngrox)\
**Post date:** [April 14, 2022, 12:31pm UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/4 "2022-04-14T12:31:29Z")

</div>

Hi!

Okay, what version of your grafana?

I ran the same command on a Centos8 and it worked fine in version 7.5.

 ![clock](https://us1.discourse-cdn.com/grafana/original/3X/1/9/19b099864509634c5710e6fd8a413295ed671aa0.jpeg)

 ![clock2](https://us1.discourse-cdn.com/grafana/original/3X/f/2/f2c08b17457861f32d1a7631e10ab0af04bf2011.jpeg)

Plugin clock only shows the time.

To show temperature has the dash gauge, stats, and others.

To receive the values ​​you need an integration data source with a tool where the temperature data is, for example, a zabbix.

Right after the precise configuration as metrics in grafana, it’s in the tool you use to adjust the temperature

Greetings Dennis

---

<div class="post-metadata">

**Author:** ![damrak2022](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/damrak2022/32/22784_2.png) [@damrak2022](https://community.grafana.com/u/damrak2022)\
**Post date:** [April 14, 2022, 10:41pm UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/5 "2022-04-14T22:41:40Z")

</div>

My version of Grafana is 8.4.5  
I just searched for the term clock in the plugins directly via the Grafana interface and was able to install this plugin directly. But where can I find the plugin now to integrate it somewhere?

---

<div class="post-metadata">

**Author:** ![mateusmoov](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/mateusmoov/32/29340_2.png) [@mateusmoov](https://community.grafana.com/u/mateusmoov)\
**Post date:** [January 20, 2023, 4:03pm UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/6 "2023-01-20T16:03:06Z")

</div>

Hey, I was in the same problem, the solution for me is to put sudo before the cli command.

`sudo grafana-cli plugins install <name-plugin>`

---

<div class="post-metadata">

**Author:** ![anasgharsa](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@anasgharsa](https://community.grafana.com/u/anasgharsa)\
**Post date:** [August 21, 2024, 10:14am UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/7 "2024-08-21T10:14:45Z")

</div>

hello guys,  
i am using grafana 11 and i am facing the same problem here. i am trying to install oncall plugin, using grafana i got error “Failed to install plugin”, using the command line (grafana-cli plugins install grafana-oncall-app) i got also error "Error: ✗ Get “[https://grafana.com/api/plugins/oncall-app/versions](https://grafana.com/api/plugins/oncall-app/versions)”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)  
"

---

<div class="post-metadata">

**Author:** ![codi639](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@codi639](https://community.grafana.com/u/codi639)\
**Post date:** [August 21, 2024, 11:38am UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/8 "2024-08-21T11:38:20Z")

</div>

Hey @anasgharsa

This does not really looks like the same issue. In your case it looks like a network issue, such as the server which host your Grafana instance isn’t able to reach Internet, or [grafana.com](http://grafana.com).  
Could you run:

```bash
curl -v https://grafana.com/api/plugins/oncall-app/versions

```

You can also try to increase the `grafana-cli` timeout:

```auto
GRAFANA_CLI_TIMEOUT=600 grafana-cli plugins install grafana-oncall-app

```

Let me know how it goes!

---

<div class="post-metadata">

**Author:** ![anasgharsa](https://avatars.discourse-cdn.com/v4/letter/a/53a042/32.png) [@anasgharsa](https://community.grafana.com/u/anasgharsa)\
**Post date:** [August 21, 2024, 12:24pm UTC](https://community.grafana.com/t/problem-by-installing-a-grafana-plugin/63917/9 "2024-08-21T12:24:23Z")

</div>

you are right. it is a network issue cuz i can’t reach [grafana.com](http://grafana.com) but i can reach the internet . thank you for your help, i will try to fix it otherwise i will write you again 😅
