homebridge-config-ui-x: Upgrade to latest homebridge-ui-x failed and now I couldn't start homebridge at all

Describe Your Problem: I have updated the plug-in for 6 months or so and decided to do it today. When it got to updating homebridge-ui-x, there was an error.

Logs: from /var/lib/homebridge.log [1/3/2021, 4:33:08 PM] [Homebridge UI] Running Command: sudo -E -n npm install -g homebridge@latest [1/3/2021, 4:33:11 PM] [Homebridge UI] Command failed. Please review log for details.

Where is the other log that has the details.

Show the Homebridge / Homebridge Config UI X logs here.

Homebridge Config:

Show your homebridge config.json here

Screenshots:

Environment:

  • Node.js Version: v14.15.1

  • NPM Version: even this failed with

  • internal/modules/cjs/loader.js:311 throw err; ^

Error: Cannot find module ‘/usr/lib/node_modules/npm/node_modules/core-util-is/lib/util.js’. Please verify that the package.json has a valid “main” entry at tryPackage (internal/modules/cjs/loader.js:303:19) at Function.Module._findPath (internal/modules/cjs/loader.js:516:18) at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/_stream_readable.js:67:12) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) { code: ‘MODULE_NOT_FOUND’, path: ‘/usr/lib/node_modules/npm/node_modules/core-util-is/package.json’, requestPath: ‘core-util-is’ }

  • Homebridge Version:
  • Homebridge Config UI X Version: 4.34.0
  • Operating System: Raspbian
  • Process Supervisor: Systemd

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Same issue here, update failed. Running “systemctl status homebridge” shows Homebridge is running but accessories show no response and cannot access web UI.