Code review comment for ~aluria/grafana-snap/+git/grafana-snap:fix/cliplugins

Revision history for this message
Alvaro Uria (aluria) wrote :

root@focal:~# cat /snap/grafana/current/bin/grafana-cli.wrapper
#!/bin/sh
export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH"
export LD_LIBRARY_PATH=$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH
export GF_PLUGIN_DIR=$SNAP_COMMON/data/plugins

exec "$SNAP/bin/grafana-cli" "$@"
root@focal:~# grafana.grafana-cli plugins install voxter-app
installing voxter-app @ 0.0.2
from: https://grafana.com/api/plugins/voxter-app/versions/0.0.2/download
into: /var/snap/grafana/common/data/plugins

✔ Installed voxter-app successfully

Restart grafana after installing plugins . <service grafana-server restart>

« Back to merge proposal