Closed florianmk closed 11 months ago
This is a bit odd, I did remove hb-config from the build image as it was never installed, and was superseded by hb-config-new. And is installed here - https://github.com/homebridge/homebridge-raspbian-image/blob/8218d7c625137a3d88dd7da23ca178bdc9c7ba05/stage3_homebridge/01-homebridge/00-run.sh#L10
I also did a quick smoke test, and retested on my RPI 3b (32bit), and the hb-config command was installed as expected.
I wonder what version you have installed ? When you login, the image version is included in the login message.
Linux homebridge 6.1.0-rpi6-rpi-v7 #1 SMP Raspbian 1:6.1.58-1+rpt2 (2023-10-27) armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
*** Homebridge Raspbian "homebridge/homebridge-raspbian-image-v1.1.0-\(32bit\)" - Raspberry Pi 3 Model B Rev 1.2 ***
homebridge was created by nfarina and licensed under the Apache License 2.0.
homebridge-config-ui-x was created by oznu and licensed under the MIT License.
To configure Homebridge browse to the one of the following addresses from
another device on your network:
* http://homebridge.local:8581
* http://192.168.1.10:8581
All Homebridge configuration can be completed via the Homebridge Web UI.
Homebridge storage path: /var/lib/homebridge
Homebridge config.json path: /var/lib/homebridge/config.json
Restart Homebridge CMD: sudo hb-service restart
View Logs CMD: sudo hb-service logs
Manage Server: sudo hb-config
Enter Homebridge Runtime Environment: sudo hb-shell
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
pi@homebridge:~ $ sudo hb-config
pi@homebridge:~ $
I was just looking at versions, and I should have had 1.1.1 installed as the latest, but I have 1.1.0. Looks like a step was missing with the last update, am republishing. I'm still curious what version you have installed though.
I'm not sure which version I started the update from. However, I started it via hb-config. After the update, I could no longer start the tool and found that the _hbconfig file was empty. I carried out the steps for the update again today, this time without any problems.
Tks @florianmk for confirming that it isn't ongoing issue, I'm going to close this
Raspberry Pi Model
Raspberry Pi 1 B
Describe The Bug
The file hb-config is empty (since commit 8218d7c), so the execution fails. I was able to fix the issue locally by copying the content of hb-config-new into the original file.
In #130 hb-config the file is described as unused. According to the documentation, however, it should be used. Is there an undocumented change to this?
Logs
No response