Closed Richard0415 closed 7 years ago
Also noticed that nothing happens when I try to install a plugin via the webpage.
Jan 10 20:51:25 raspberrypi homebridge[21571]: [1/10/2017, 8:51:25 PM] [Homebridge Server] Executing: npm list -g | grep 'homebridge' Jan 10 20:52:21 raspberrypi homebridge[21571]: [1/10/2017, 8:52:21 PM] [Homebridge Server] Executing: npm install -g homebridge-chamberlain Jan 10 20:52:25 raspberrypi homebridge[21571]: [1/10/2017, 8:52:25 PM] [Homebridge Server] Executing: npm list -g | grep 'homebridge' Jan 10 20:53:42 raspberrypi homebridge[21571]: [1/10/2017, 8:53:42 PM] [Homebridge Server] Executing: npm list -g | grep 'homebridge'
Nevermind - forgot to add the user to the SUDOERS file. Please delete/ignore!
Getting some errors on a Raspberry Pi 3 - Clean install w/ only homebridge-server installed.
Running HB as a service w/ user "homebridge".
When hitting "Restart" on the webpage:
Jan 10 20:00:59 raspberrypi sudo[21509]: pam_unix(sudo:auth): conversation failed Jan 10 20:00:59 raspberrypi sudo[21509]: pam_unix(sudo:auth): auth could not identify password for [homebridge] Jan 10 20:00:59 raspberrypi homebridge[21035]: [1/10/2017, 8:00:59 PM] [Homebridge Server] Executing: sudo systemctl restart homebridge Jan 10 20:01:46 raspberrypi homebridge[21035]: [1/10/2017, 8:01:46 PM] [Homebridge Server] Executing: journalctl --no-pager -u homebridge --since yesterday
Nothing happens...
When I run
sudo systemctl restart homebridge
it runs as expected.Jan 10 20:04:42 raspberrypi systemd[1]: Stopping Node.js HomeKit Server... Jan 10 20:04:42 raspberrypi homebridge[21035]: [1/10/2017, 8:04:42 PM] Got SIGTERM, shutting down Homebridge... Jan 10 20:04:42 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=143/n/a Jan 10 20:04:42 raspberrypi systemd[1]: Unit homebridge.service entered failed state. Jan 10 20:04:42 raspberrypi systemd[1]: Starting Node.js HomeKit Server... Jan 10 20:04:42 raspberrypi systemd[1]: Started Node.js HomeKit Server. Jan 10 20:04:42 raspberrypi homebridge[21571]: WARNING The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi. Jan 10 20:04:42 raspberrypi nodejs[21571]: WARNING The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi. Jan 10 20:04:42 raspberrypi nodejs[21571]: WARNING Please fix your application to use the native API of Avahi! Jan 10 20:04:42 raspberrypi nodejs[21571]: WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs Jan 10 20:04:42 raspberrypi nodejs[21571]: WARNING The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. Jan 10 20:04:42 raspberrypi nodejs[21571]: WARNING Please fix your application to use the native API of Avahi! Jan 10 20:04:42 raspberrypi nodejs[21571]: WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister Jan 10 20:04:42 raspberrypi homebridge[21571]: WARNING Please fix your application to use the native API of Avahi! Jan 10 20:04:42 raspberrypi homebridge[21571]: WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs Jan 10 20:04:42 raspberrypi homebridge[21571]: WARNING The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. Jan 10 20:04:42 raspberrypi homebridge[21571]: WARNING Please fix your application to use the native API of Avahi! Jan 10 20:04:42 raspberrypi homebridge[21571]: WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] Loaded plugin: homebridge-server Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] Registering platform 'homebridge-server.Server' Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] --- Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] Loaded config.json with 0 accessories and 1 platforms. Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] --- Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] Loading 1 platforms... Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] [Homebridge Server] Initializing Server platform... Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] Loading 0 accessories... Jan 10 20:04:45 raspberrypi homebridge[21571]: Scan this code with your HomeKit App on your iOS device to pair with Homebridge: Jan 10 20:04:45 raspberrypi homebridge[21571]: ┌────────────┐ Jan 10 20:04:45 raspberrypi homebridge[21571]: │ XXX-XX-XXX │ Jan 10 20:04:45 raspberrypi homebridge[21571]: └────────────┘ Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] [Homebridge Server] is listening on: http://XX.XX.XX.XX:8765 Jan 10 20:04:45 raspberrypi homebridge[21571]: [1/10/2017, 8:04:45 PM] Homebridge is running on port 51826. Jan 10 20:05:49 raspberrypi homebridge[21571]: [1/10/2017, 8:05:49 PM] [Homebridge Server] Executing: journalctl --no-pager -u homebridge --since yesterday