Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 4.48.0/1 successful -> Homebridge doesn't start #1371

Closed
1 of 3 tasks
cl4udiu5 opened this issue Jun 24, 2022 · 3 comments
Closed
1 of 3 tasks

Update to 4.48.0/1 successful -> Homebridge doesn't start #1371

cl4udiu5 opened this issue Jun 24, 2022 · 3 comments
Labels

Comments

@cl4udiu5
Copy link

cl4udiu5 commented Jun 24, 2022

Describe The Bug

Made successful Homebridge Config UI X update on Homebridge website (http://192.168.0.147:8080).
After restart nothing is working anymore .
Homebridge doesn't start.

Also tried to update with macOS Terminal.app: sudo npm install -g [email protected]

Logs

No response

Config

No response

Homebridge UI Version

4.46.0

Homebridge Version

1.5.0

Node.js Version

16.15.1

Operating System

Raspberry Pi OS / Raspbian

Environment Info

  • Using Docker?
  • Using Hyper-V?
  • Using hb-service?

Raspberry Pi Model

Raspberry Pi 1 B

Bildschirmfoto 2022-06-25 um 01 19 30

Bildschirmfoto 2022-06-25 um 01 23 28

Bildschirmfoto 2022-06-25 um 01 25 29

@cl4udiu5 cl4udiu5 added the bug label Jun 24, 2022
@cl4udiu5 cl4udiu5 changed the title Update to 4.48.0/1 successful -> Homebridge Update to 4.48.0/1 successful -> Homebridge doesn't start Jun 24, 2022
@cl4udiu5
Copy link
Author

cl4udiu5 commented Jun 26, 2022

sudo npm install -g --unsafe-perm homebridge-config-ui-x@latest isn't a solution anyway.
Update finishes -> after sudo hb-service restart homebridge doesn't start anymore.

@cl4udiu5
Copy link
Author

pi@raspberrypi:~ $ sudo hb-service restart
ℹ Restarting Homebridge Service
ℹ Restarting Homebridge Service...
Job for homebridge.service failed because a timeout was exceeded.
See "systemctl status homebridge.service" and "journalctl -xe" for details.
✖ Failed to restart Homebridge
pi@raspberrypi:~ $ systemctl status homebridge.service
● homebridge.service - Homebridge
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: activating (start-pre) since Sun 2022-06-26 22:55:10 CEST; 1min 25s ago
Process: 483 ExecStart=/usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/hb-service.js run $HOMEBRIDGE_OPTS (code=exited, status=2)
Main PID: 483 (code=exited, status=2); Control PID: 19953 (hb-service)
Tasks: 11 (limit: 4915)
CGroup: /system.slice/homebridge.service
└─control
└─19953 hb-service

Jun 26 22:55:10 raspberrypi systemd[1]: Starting Homebridge...
Jun 26 22:55:18 raspberrypi hb-service.js[19953]: Removing stale temporary directory: /usr/local/lib/node_modules/.homebridge-weather-plus-e0KwPNcP

@oznu
Copy link
Member

oznu commented Jul 8, 2022

The Start-pre operation timeout error should be fixed in v4.49.0.

If you don't have access to the Homebridge UI to do the update you can run this command:

curl -fsSL https://raw.githubusercontent.com/oznu/homebridge-config-ui-x/master/upgrade-install.sh | sudo sh -s -- "4.49.0" "$(npm -g prefix)"

@oznu oznu closed this as completed Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants