Grafana fresh install Error: ./run: line 36: unsigned_plugins: unbound variable
truefoobar opened this issue · 2 comments
truefoobar commented
Hi,
I have just installed TeslaMate for the first time. I believe that I have done everything correctly and according to your instructions.
TeslaMate and Postgres start without any problems.
my yml:
plugins:
- natel-discrete-panel
- natel-plotly-panel
- pr0ps-trackmap-panel
- grafana-piechart-panel
custom_plugins:
- name: panodata-map-panel
url: >-
https://github.com/panodata/panodata-map-panel/releases/download/0.16.0/panodata-map-panel-0.16.0.zip
signed: true
env_vars:
- name: GF_SECURITY_ADMIN_USER
value: myuser
- name: GF_SECURITY_ADMIN_PASSWORD
value: mypass
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
Log from first start:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: Grafana
The open platform for beautiful analytics and monitoring
-----------------------------------------------------------
Add-on version: 9.1.1
You are running the latest version of this add-on.
System: Home Assistant OS 11.2 (amd64 / generic-x86-64)
Home Assistant Core: 2024.1.0
Home Assistant Supervisor: 2023.12.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[19:21:42] INFO: Configuring timezone (Europe/Berlin)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service init-grafana: starting
s6-rc: info: service memcached: starting
s6-rc: info: service memcached successfully started
[19:21:42] INFO: Starting Memcached...
s6-rc: info: service init-nginx successfully started
✔ Downloaded and extracted natel-discrete-panel v0.1.1 zip successfully to /var/lib/grafana/plugins/natel-discrete-panel
Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.
✔ Downloaded and extracted natel-plotly-panel v0.0.7 zip successfully to /var/lib/grafana/plugins/natel-plotly-panel
Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.
✔ Downloaded and extracted pr0ps-trackmap-panel v2.1.4 zip successfully to /var/lib/grafana/plugins/pr0ps-trackmap-panel
Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.
✔ Downloaded and extracted grafana-piechart-panel v1.6.4 zip successfully to /var/lib/grafana/plugins/grafana-piechart-panel
Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.
✔ Downloaded and extracted panodata-map-panel v0.16.0 zip successfully to /var/lib/grafana/plugins/panodata-map-panel
Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.
s6-rc: info: service init-grafana successfully started
s6-rc: info: service grafana: starting
s6-rc: info: service grafana successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
[19:21:47] INFO: Starting Grafana...
s6-rc: info: service legacy-services successfully started
[19:21:47] INFO: Setting GF_SECURITY_ADMIN_USER to myuser
[19:21:47] INFO: Setting GF_SECURITY_ADMIN_PASSWORD to mypass
./run: line 36: unsigned_plugins: unbound variable
[19:21:48] INFO: Service Grafana exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
[19:21:48] INFO: Service NGINX exited with code 256 (by signal 15)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service init-nginx: stopping
s6-rc: info: service grafana: stopping
s6-rc: info: service grafana successfully stopped
s6-rc: info: service init-grafana: stopping
s6-rc: info: service memcached: stopping
s6-rc: info: service init-nginx successfully stopped
s6-rc: info: service init-grafana successfully stopped
[19:21:48] INFO: Service memcached exited with code 0 (by signal 0)
s6-rc: info: service memcached successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
kingchimp commented
I had the same problem and have just managed to fix it. In your YAML config change:
signed: true
to
unsigned: true
The README doc shows "signed: false" which also doesn't work for me and causes this same error.
Cheers
truefoobar commented
thx, it works now.