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

Cannot start homebridge after updating to config-ui-x 4.55.0 #1975

Closed
1 of 3 tasks
DaphneINOPIA opened this issue Jan 7, 2024 · 6 comments
Closed
1 of 3 tasks

Cannot start homebridge after updating to config-ui-x 4.55.0 #1975

DaphneINOPIA opened this issue Jan 7, 2024 · 6 comments
Labels

Comments

@DaphneINOPIA
Copy link

Current Situation

After updating to the latest ui version I started getting an error in my logs, which prevents homebridge from starting (it goes into a restarting loop)

I tried rolling back to previous versions but without success.

Logs

[07/01/2024, 14:41:06] [HB Supervisor] OS: Linux 6.1.21+ arm
[07/01/2024, 14:41:06] [HB Supervisor] Node.js v20.10.0 /usr/local/bin/node
[07/01/2024, 14:41:06] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge
[07/01/2024, 14:41:06] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[07/01/2024, 14:41:42] [Homebridge UI] Homebridge UI v4.55.0 is listening on :: port 8581
[07/01/2024, 14:41:46] [HB Supervisor] Delaying Homebridge startup by 20 seconds on low powered server
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at equalTxt (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/bonjour-service/src/lib/utils/equal-txt.ts:2:24)
    at Browser.updateService (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/bonjour-service/src/lib/browser.ts:145:21)
    at /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/bonjour-service/src/lib/browser.ts:108:30
    at Array.forEach (<anonymous>)
    at /usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/bonjour-service/src/lib/browser.ts:106:25
    at Array.forEach (<anonymous>)
    at EventEmitter.onresponse (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/bonjour-service/src/lib/browser.ts:98:34)
    at EventEmitter.emit (node:events:514:28)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-config-ui-x/node_modules/multicast-dns/index.js:49:43)
    at Socket.emit (node:events:514:28)
    at UDP.onMessage (node:dgram:941:8)

Config

No response

Homebridge UI Version

4.55.0

Homebridge Version

1.7.0

Node.js Version

20.10.0

Operating System

Raspberry Pi OS / Raspbian

Environment Info

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

Raspberry Pi Model

Raspberry Pi Zero W

NorthernMan54 added a commit that referenced this issue Jan 7, 2024
donavanbecker added a commit that referenced this issue Jan 7, 2024
@donavanbecker
Copy link
Contributor

donavanbecker commented Jan 7, 2024

Duplicate to #1973, workaround currently is to turn off insecure mode in Homebridge settings until a fix is released.

@donavanbecker
Copy link
Contributor

Can you try the latest beta:

npm version

Click here to find out how to install Beta

donavanbecker pushed a commit that referenced this issue Jan 7, 2024
@donavanbecker
Copy link
Contributor

4.55.1 has been released with a fix for this.

@donavanbecker
Copy link
Contributor

There was a fix that was implemented to the bonjour-service package. So we have reverted the quick fix to allow for the newer version of bonjour-service, so now we have a new beta.

Can someone try the latest beta and confirm that this fix resolves the issues we were having:

npm version

Click here to find out how to install Beta Versions

@donavanbecker donavanbecker reopened this Jan 8, 2024
@kalety
Copy link

kalety commented Jan 8, 2024

I've installed the beta version, all stable for now...

@donavanbecker
Copy link
Contributor

Thanks! Going to close this comment as we will release this in the next version.

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

3 participants