No start up after upgrade
See original GitHub issueExpected Behavior
Was working fine before upgrade.
Current Behavior
After performing an upgrade to the latest version the Homebridge service is hanging in an endless restart loop throwing errors.
Homebridge Log / Command Output
Jan 14 17:07:05 hal node[24081]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
Jan 14 17:07:05 hal node[24081]: *** WARNING *** Please fix your application to use the native API of Avahi!
Jan 14 17:07:05 hal node[24081]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
Jan 14 17:07:05 hal node[24081]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
Jan 14 17:07:05 hal node[24081]: *** WARNING *** Please fix your application to use the native API of Avahi!
Jan 14 17:07:05 hal node[24081]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Jan 14 17:07:05 hal homebridge[24081]: *** WARNING *** Please fix your application to use the native API of Avahi!
Jan 14 17:07:05 hal homebridge[24081]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
Jan 14 17:07:05 hal homebridge[24081]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
Jan 14 17:07:05 hal homebridge[24081]: *** WARNING *** Please fix your application to use the native API of Avahi!
Jan 14 17:07:05 hal homebridge[24081]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Jan 14 17:07:06 hal homebridge[24081]: /usr/lib/node_modules/hap-nodejs/node_modules/bindings/bindings.js:91
Jan 14 17:07:06 hal homebridge[24081]: throw err
Jan 14 17:07:06 hal homebridge[24081]: ^
Jan 14 17:07:06 hal homebridge[24081]: Error: Could not locate the bindings file. Tried:
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/build/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/build/Debug/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/build/Release/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/out/Debug/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/Debug/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/out/Release/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/Release/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/build/default/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: → /usr/lib/node_modules/hap-nodejs/node_modules/ed25519/compiled/6.12.3/linux/arm/ed25519.node
Jan 14 17:07:06 hal homebridge[24081]: at bindings (/usr/lib/node_modules/hap-nodejs/node_modules/bindings/bindings.js:88:9)
Jan 14 17:07:06 hal homebridge[24081]: at Object.<anonymous> (/usr/lib/node_modules/hap-nodejs/node_modules/ed25519/index.js:1:99)
Jan 14 17:07:06 hal homebridge[24081]: at Module._compile (module.js:570:32)
Jan 14 17:07:06 hal homebridge[24081]: at Object.Module._extensions..js (module.js:579:10)
Jan 14 17:07:06 hal homebridge[24081]: at Module.load (module.js:487:32)
Jan 14 17:07:06 hal homebridge[24081]: at tryModuleLoad (module.js:446:12)
Jan 14 17:07:06 hal homebridge[24081]: at Function.Module._load (module.js:438:3)
Jan 14 17:07:06 hal homebridge[24081]: at Module.require (module.js:497:17)
Jan 14 17:07:06 hal homebridge[24081]: at require (internal/module.js:20:19)
Jan 14 17:07:06 hal homebridge[24081]: at Object.<anonymous> (/usr/lib/node_modules/hap-nodejs/lib/HAPServer.js:8:15)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Mac Won't Boot or Start After macOS Big Sur/Catalina/Sierra ...
4. Run Disk Utility in Recovery Mode · Make sure the Mac is off. · Hold down the "Command" and "R" keys, and...
Read more >Computer Won't Start after Windows Update | 5 Quick Fixes
Windows Update and Arising Issues. Method 1: Perform System Restore in Safe Mode. Method 2: Run System File Checker Command Line. Method 3:...
Read more >PC Won't Boot After Windows 11 Update (How To Fix)
1. Check your system requirements · 2. Turn off the power supply and turn it back on again · 3. Check if the...
Read more >Windows 10 not booting after update - Inside Network
Fix Windows 10 not booting issue: Uninstalling the updates ... The steps below can help uninstall your updates for Windows 10 and get...
Read more >How To Fix If Computer Won't Start After Upgrade?
How To Fix If Computer Won't Start After Upgrade? · Fix 1: Perform Startup Repair · Fix 2. Repair and Rebuild MBR ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can you guys try
sudo npm -g uninstall homebridge
and thennpm -g install homebridge --unsafe-perm
?Solved: install node-gyp through npm and then go to the node folder thats crashing and rebuild with: sudo node-gyp BUILDTYPE=Release rebuild and try running homebridge again. It may throw the same exception on another node module: do the same, go to that folder and rebuild.