I just did a fresh install of HA with everything from scratch: flashed a new 32GB SD card with Balena Etcher, using the current image from the HARaspberry Pi page: github.com/home-assistant/operating-system/releases/download/7.4/haos_rpi3-64-7.4.img.xz
Powered up the RPi, did not restore a backup, but rather set up the HA location et al as a new install. Installed nothing else but went directly to the Addons store and installed ZwaveJS2MQTT. Following the instructions, I then STARTed the addon, and looked at the log. The beginning of the log is at the end of this post. Note the lines:
[14:23:39] INFO: Starting the Z-Wave JS to MQTT…
/bin/sh: git: not found
I never got further. After that, things go downhill with things “not found” and repetitive failures:
2022-02-18 14:29:25.699 INFO ZWAVE: Connecting to
2022-02-18 14:29:25.712 WARN ZWAVE: Retry connection in 3 seconds…
2022-02-18 14:29:28.729 INFO ZWAVE: Connecting to
2022-02-18 14:29:28.742 WARN ZWAVE: Retry connection in 3 seconds…
Curiously, the addon’s Web UI works, but shows the “path not defined” error in red. It seems the “git not found” error is not considered fatal?
Perhaps git is needed during the install to download more installation data, such as json files, from github? But since it’s not in the SD Card disk image the install can’t get anything using git. I suspect if I installed on some other machine, e.g., my Ubuntu desktop, everything might work, because git is already there.
Any other ideas? This is a fresh install with new SD card, current HA image file for RPi, and a known working RPi.
Here’s the log from STARTing the JS2MQTT addon:
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] configuration.sh: executing…
[cont-init.d] configuration.sh: exited 0.
[cont-init.d] nginx.sh: executing…
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[14:23:39] INFO: Starting the Z-Wave JS to MQTT…
/bin/sh: git: not found
2022-02-18 14:23:47.948 INFO APP: Version: 6.5.1
2022-02-18 14:23:47.962 INFO APP: Application path:/opt
…
2022-02-18 14:23:48.052 WARN STORE: scenes.json not found