Openhabian fresh install InfluxDB+Grafana -> "There was an error or interruption during the execution of: "20 | Optional Components"

Platform: Raspberry4 4GB
Issue:
Fresh Installation: Installation of InfluxDB+Grafana fails with Error message

  • $ sudo openhabian-config (modifiziert: /etc/openhabian.config)
  • select: openHAB3 - standard version
  • Upgrade System
  • Install OpenHAB
  • Apply Improvements … samba included
    • Packages
    • System Tweaks
    • Fix Permissions
    • FireMotD
    • Samba
  • Optional Components:
    • Log Viewer dark
    • Mosquitto …
      • openhabian etc … // MQTT.fx: Mosquitto is running and connecting
    • InfluxDB+grafana: …
      • InfluxDB
        • admin / PW
        • openhab / PW
        • grafana / PW
        • database: openhab
      • grafana
      • admin / PW
      • InfluxDB should be configured with OpenHAB: Yes
        => "There was an error or interruption during the execution of: "
        "20 | Optional Components"

configuration: No external hardware (Sensors …)

logs: … unfortunatey I do not find where installation logs are written - if there are logs at all.
The location of installation log could be mentioned in the docs.

Any help appreciated!
Thanks a lot!
wm

Read and follow the debug guide.

This is my very first post - to be precise my first reply to an existing post - so I say a friendly hello to everybody.

After invoking menu item 24 - InfluxDB+Gafana in openhabian-config, entering the requested passwords the installation started. Then the already mentioned message appeared: “There was an error or interuption…”

I started menu item 24 directly after a fresh openHAB 3.02 installation with the latest openhabian (“main”) on a Raspi4. Debug mode was set to maximum in file openhabian.conf. The resulting log output was app. 1200 lines. As a novice member I’m not allowed to include files, so I present an excerpt of the log here (to my opinion the important part):

$ sed -i -e s|# store-enabled = true|store-enabled = false|g /etc/influxdb/influxdb.conf
+ sed -i -e 's|# store-enabled = true|store-enabled = false|g' /etc/influxdb/influxdb.conf
+ return 0
+ cond_redirect systemctl restart influxdb.service
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ systemctl restart influxdb.service \033[39;49;00m'

$ systemctl restart influxdb.service
+ systemctl restart influxdb.service
+ return 0
+ cond_echo '\nCheck if InfluxDB is running... '
+ [[ -z '' ]]
+ echo -e '\033[33;01m\nCheck if InfluxDB is running... \033[39;49;00m'

Check if InfluxDB is running...
+ cond_redirect curl --retry 6 --retry-connrefused --user hans:Susi9596 --insecure http://localhost:8086/query
+ [[ -n '' ]]
+ echo -e '\n\033[90;01m$ curl --retry 6 --retry-connrefused --user hans:Susi9596 --insecure http://localhost:8086/query \033[39;49;00m'

$ curl --retry 6 --retry-connrefused --user hans:Susi9596 --insecure http://localhost:8086/query
+ curl --retry 6 --retry-connrefused --user hans:Susi9596 --insecure http://localhost:8086/query
curl: (7) Failed to connect to localhost port 8086: Connection refused
+ return 7
+ echo FAILED
FAILED
+ return 1
+ return 1
+ echo FAILED
FAILED
+ return 1
+ '[' 1 -ne 0 ']'
+ whiptail --msgbox 'There was an error or interruption during the execution of:\n  "20 | Optional Components"\n\nPlease try again. If the error persists, please read /opt/openhabian/docs/openhabian-DEBUG.md or https://github.com/openhab/openhabian/blob/main/docs/openhabian-DEBUG.md how to proceed.' 14 80

I’ve done this procedure over and over with the same reproducable results. I don’t know if this problem has already been solved, so I kindly ask for help.

regards, kaiserdom