Grafana-clock-plugin

Good day,

i installed Grafana on windows server 2012 , which has no access to internet.
I need to add a clock panel, so i downloaded grafana-clock-plugin.zip, unziped in grafana\public\app\panel\plugins and restarted grafana. After i add panel i get error message: Panel plugin not found: rafana-clock-plugin

i know that there are similar post but non of them helped me.

Thanks,

I think you have unzipped the plugin code in the wrong location. External plugins should be placed in the data\plugins\ subdirectory.

Hi, i have done that to, but in that case it is no even shown in panels list.
Is there any other way how can i make clock in Grafana?

In the Grafana server logs, do you see the following line when loading? Or do you get see an error?

INFO[05-15|12:43:47] Registering plugin                       logger=plugins name=Clock

Hi,
i sorry for my late respond.
In log i don’t see that.
this is what i have in log file:
t=2019-05-27T13:52:57+0200 lvl=info msg=“Starting Grafana” logger=server version=6.1.6 commit=cf9cb45 branch=HEAD compiled=2019-04-29T15:29:28+0200
t=2019-05-27T13:52:57+0200 lvl=info msg=“Config loaded from” logger=settings file=C:\grafana-6.1.6/conf/defaults.ini
t=2019-05-27T13:52:57+0200 lvl=info msg=“Config loaded from” logger=settings file=C:\grafana-6.1.6\conf\custom.ini
t=2019-05-27T13:52:57+0200 lvl=info msg=“Path Home” logger=settings path=C:\grafana-6.1.6
t=2019-05-27T13:52:57+0200 lvl=info msg=“Path Data” logger=settings path=C:\grafana-6.1.6\data
t=2019-05-27T13:52:57+0200 lvl=info msg=“Path Logs” logger=settings path=“C:\Users\dkrajchev\Desktop\SQL Logging”
t=2019-05-27T13:52:57+0200 lvl=info msg=“Path Plugins” logger=settings path=C:\grafana-6.1.6\public\app\plugins\panel
t=2019-05-27T13:52:57+0200 lvl=info msg=“Path Provisioning” logger=settings path=C:\grafana-6.1.6\conf\provisioning
t=2019-05-27T13:52:57+0200 lvl=info msg=“App mode production” logger=settings
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing HTTPServer” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing SqlStore” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Connecting to DB” logger=sqlstore dbtype=sqlite3
t=2019-05-27T13:52:57+0200 lvl=info msg=“Starting DB migration” logger=migrator
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing InternalMetricsService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing SearchService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing PluginManager” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Starting plugin search” logger=plugins
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\alertlist\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\bargauge\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\dashlist\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\gauge\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\gettingstarted\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\graph\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\graph2\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\heatmap\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\piechart\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\pluginlist\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\singlestat\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\singlestat2\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\table\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\table2\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\text\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=eror msg=“Plugins: Failed to load plugin json file: C:\grafana-6.1.6\public\app\plugins\panel\text2\plugin.json, err: Plugin with same id already exists”
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing RenderingService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing AlertingService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing DatasourceCacheService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing HooksService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing LoginService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing QuotaService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing RemoteCache” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing ServerLockService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing TracingService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing UsageStatsService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing UserAuthTokenService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing CleanUpService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing NotificationService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing ProvisioningService” logger=server
t=2019-05-27T13:52:57+0200 lvl=info msg=“Initializing Stream Manager”
t=2019-05-27T13:52:57+0200 lvl=info msg=“HTTP Server Listen” logger=http.server address=10.0.0.0:8080 protocol=http subUrl= socket=
t=2019-05-27T13:54:40+0200 lvl=info msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=GET path=/ status=302 remote_addr=10.1.20.200 time_ms=7 size=29 referer=
t=2019-05-27T13:54:49+0200 lvl=info msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/plugins/panel/grafana-clock-panel/img/clock_panel_logo.svg status=404 remote_addr=10.1.20.200 time_ms=7 size=30664 referer=“http://10.0.0.0:8080/d/1R-MtRZZz/co2?orgId=1”
t=2019-05-27T13:54:51+0200 lvl=info msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=GET path=/public/app/plugins/panel/grafana-clock-panel/module status=404 remote_addr=10.1.20.200 time_ms=8 size=30664 referer=“http://10.0.0.0:8080/d/1R-MtRZZz/co2?panelId=2&edit&fullscreen&tab=visualization&openVizPicker&orgId=1”
t=2019-05-27T13:55:10+0200 lvl=info msg=“Request Completed” logger=context userId=1 orgId=1 uname=admin method=GET path=/logout status=302 remote_addr=10.1.20.200 time_ms=33 size=29 referer=“http://10.0.0.0:8080/d/1R-MtRZZz/co2?openVizPicker&orgId=1”

Seeing the exact same thing with Grafana-clock, I also see this for the pie chart plugin.

It also looks like this in my home page: https://i.imgur.com/iYp6XTZ.png

15 day and no reply. so great support. Unbelievable.

You are entitled to a full refund of the fee you paid for your support
contract.

Regards,

Antony.

1 Like

Thanks you Antony for your best answer.

1 Like

Dear @skocev,

seeing things like

would make me think something is wrong with your setup. I would suggest starting over from scratch and check whether these errors happen again. Maybe Windows messed up your plugins folder in any way beyond imagination.

Are you already aware of How to manually install the grafana-clock plugin? However, because Install plugins | Grafana documentation is referenced by @mefraimsson there, we currently don’t see how that would support installing from a .zip file directly without having to copy the .zip archive content into the plugins folder manually.

@grahamnicholls is also saying

which at the same time happens to be the designated solution for this very topic.

With kind regards,
Andreas.

Thanks you for your answer,

now, i mentioned in my question that my server don’t have access to internet.
I fixed that, but my server is behind proxy server.

Is there any place in grafana where i can setup proxy?

The server it self have internet, but Grafana not.
just to remind, i am using windows server.

Kind regards,

Dear @skocev,

You might be thinking about Run Grafana behind a reverse proxy | Grafana Labs here?

Sorry for that. We are using Grafana only on Linux and macOS.

With kind regards,
Andreas.

I did not understand installation behind proxy. Where i should type my proxy server?
Grafana is installed as a service on my server, and in custom.ini i put:

The ip address to bind to, empty will bind to all interfaces

http_addr = 192.168.15.59

The http port to use

http_port = 8080

and from my computer when i go to: 192.168.15.59:8080 Grafana login opens.
I understand from that tutorial that i have to make Grafana with sumpath. That is OK, but i didn’t see anywhere where to type the proxy server address.

Dear @skocev,

the Reverse-Proxy thing this is a totally different story than the question about the clock plugin. You might think about opening another issue or searching the forum first.

Maybe this helps. Otherwise, you might want to get familiar with general reverse proxy configuration first? I am with you – the learning curve might be steep but it will pay out if you get through.

With kind regards,
Andreas.

Sorry for mixing things.
My idea was if i succeed to make Grafana to have access to internet, then i can install Clock plugin with:

grafana-cli plugins install grafana-clock-panel

because i face problem with manual installation.
In command line i type: grafana-cli --pluginsDir C:\grafana-6.1.6\data\plugins\grafana-clocklpanel.zip plugins install

and i get error: e[31mErrore[0m: e[31mâś—e[0m please specify plugin to install

where is my mistake i don’t know.

Br.

I think you are missing the plugin name in your invocation, so this could be more correct (please adjust accordingly):

grafana-cli --pluginsDir C:\grafana-6.1.6\data\plugins\grafana-clock-panel.zip plugins install grafana-clock-panel

Good morning,

i used what your propose and now i get this error:
e[31mErrore[0m: e[31mâś—e[0m path is not a directory

Best regards,

Dear @skocev,

forget about what has been written before, that command would probably be more correct

grafana-cli --pluginsDir C:\grafana-6.1.6\data\plugins plugins install grafana-clock-panel

However, I can’t tell anything about Windows as we are using Grafana on Linux and macOS only.

With kind regards,
Andreas.

That did not work to.
I get error:

Failed to send request: Get https://grafana.com/api/plugins/repo/grafana-clock-panel-6fdc3d5: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) [31mError[0m: [31mâś—[0m Failed to send request. error: Get https://grafana.com/api/plugins/repo/grafana-clock-panel-6fdc3d5: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

But, because you say that you are not familiar with ruing Grafana on Windows, i will continue to search on uncle Google for solution or someone else to reply.

Thanks you vary much for your time and support.

Best regards,
Stojan

Probably because the system is not connected to the network as you mentioned? An alternative would be to download the plugin and deflate it into the Grafana Plugin folder directly.

Remember, you tried that before

I don’t know about that folder, but from your recent posts, I can deduce the plugin folder on Windows might actually be C:\grafana-6.1.6\data\plugins, right?

With kind regards,
Andreas.