Hello everyone. Im experiencing an error about the Grrafana configuration on my server.
A couple days ago, I removed and installed again the Influxdb on my server, as I was having some problems regarding its version. I removed everything to make sure the new one i install wont crash with its configurations etc. I could’ve delete something about Grafana too, i assume. I’m getting this error:
I checked /usr/share/grafana/public/app/plugins/datasource/ directory and we dont see influxdb there.
It seems influxdb datasource is disappeared.
I also tried to copy our other influxdb v10.0.0 influxdb datasource directory to our grafana v10.4.1 datasource directory. After this i could see influxdb in datasources but i’m still getting the error. When i try to add the datasource influxdb it does not show datasource settings, returning empty page. Displaying type unknown.
I have to add influxdb grafana datasource again. But when i check grafana web site it says influxdb datasource is shipped with grafana by default so i cannot download influxdb grafana datasource. How can we fix this problem?
If yes, can you open datasource config and click the Save & test button on your InfluxDB datasource config page to see if datasouce is configured correctly?
I cant see my influxdb datasources active. Also in the datasource directory on linuxfile system no influxdb directory. When i click one of deactive influx datasource empty page opens saying type: undefined.
Is it possible to uninstall and install influxdb datasource plugin again?
If my understanding is correct, this folder contains Typescript source codes of datasource plugins, while compiled versions used by Grafana are located in public/build folder, i.e. public/build/influxdbPlugin.140a7777089f9559c11c.js
I installed new 10.4.1 grafana on anaother server. And copied /usr/share/grafana/public/app/plugins/datasource/influxdb directory to the problem grafana /usr/share/grafana/public/app/plugins/datasource/ directory. Restarted server. But problem continues.
Don’t copy, install Grafana from the scratch. Copy = problems with permissions/ownership,… It looks you are not aware of these problems, so it’s better
not to copy for you, but install it from the scratch.
I have many other configurations regarding other uses, I dont want to install whole grafana again from scratch. How can I install influxdb datasource plugin from scratch?
That’s not possible officialy, because it’s builtin plugin. You can see that simple approach with copy doesn’t work.
Of course good admin has backups, so you should to restore working Grafana instance. Good admins are using also some kind of provisioning, so they are able to wipe Grafana and provision everything (users, dashboards, datasources,…) from the scratch. I guess you have none of these, so it will be painfull fix for you.
you are doing what almost no one else does when installing a datasource. The way you are trying to do it is the wrong way and undocumented. so hard to help you hack along with an unofficial approach. the whole premise of this thread is based on a wrong approach copying folders etc