0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Grafanaのpluginインストール時のエラー

Posted at

Grafanaのpluginをインストール

homebrewを使ってmacOSにgrafanaをインストールし、追加でpluginをインストールしようとしたら以下のエラーが発生した。

エラー

% grafana cli plugins install simpod-json-datasource
Error: ✗ pluginsDir (/usr/local/var/lib/grafana/plugins) is not a writable directory

対策

--pluginsDirでpluginのインストールパスを指定して実行。

% grafana cli --pluginsDir "/opt/homebrew/var/lib/grafana/plugins" plugins install simpod-json-datasource
✔ Downloaded and extracted simpod-json-datasource v0.6.3 zip successfully to /opt/homebrew/var/lib/grafana/plugins/simpod-json-datasource

Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.

その後、サービスを再起動する。

% brew services restart grafana

Intel SiliconとApple Siliconでインストールパスが異なるようだ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?