Service: * zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2019-01-29 00:08:33 +05; 73ms ago
Process: 3306 ExecStart=/usr/bin/npm start (code=exited, status=1/FAILURE)
Main PID: 3306 (code=exited, status=1/FAILURE)
Jan 29 00:08:38 ubuntumd npm[3342]: at flush (/opt/zigbee2mqtt/node_modules/q/q.js:125:13)
Jan 29 00:08:38 ubuntumd npm[3342]: at process._tickCallback (internal/process/next_tick.js:61:11)
Jan 29 00:08:38 ubuntumd npm[3342]: npm ERR! code ELIFECYCLE
Jan 29 00:08:38 ubuntumd npm[3342]: npm ERR! errno 1
Jan 29 00:08:38 ubuntumd npm[3342]: npm ERR!
[email protected] start: node index.js
Jan 29 00:08:38 ubuntumd npm[3342]: npm ERR! Exit status 1
Jan 29 00:08:38 ubuntumd npm[3342]: npm ERR!
Jan 29 00:08:38 ubuntumd npm[3342]: npm ERR! Failed at the
[email protected] start script.
Jan 29 00:08:38 ubuntumd npm[3342]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Jan 29 00:08:39 ubuntumd npm[3342]: npm ERR! A complete log of this run can be found in:
Jan 29 00:08:39 ubuntumd npm[3342]: npm ERR! /home/pi/.npm/_logs/2019-01-28T19_08_38_429Z-debug.log
Jan 29 00:08:39 ubuntumd systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
Jan 29 00:08:39 ubuntumd systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Jan 29 00:08:39 ubuntumd systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Jan 29 00:08:39 ubuntumd systemd[1]: zigbee2mqtt.service: Scheduled restart job, restart counter is at 5.
Jan 29 00:08:39 ubuntumd systemd[1]: Stopped zigbee2mqtt.
Jan 29 00:08:39 ubuntumd systemd[1]: Started zigbee2mqtt.
Jan 29 00:08:39 ubuntumd npm[3369]: >
[email protected] start /opt/zigbee2mqtt
Jan 29 00:08:39 ubuntumd npm[3369]: > node index.js
Jan 29 00:08:39 ubuntumd npm[3369]: zigbee2mqtt:info 2019-1-29 00:08:39 Logging to directory: '/opt/zigbee2mqtt/data/log/2019-01-29.00-08-39'
Jan 29 00:08:39 ubuntumd npm[3369]: zigbee2mqtt:debug 2019-1-29 00:08:39 Removing old log directory '/opt/zigbee2mqtt/data/log/2019-01-29.00-03-40'
Jan 29 00:08:40 ubuntumd npm[3369]: zigbee2mqtt:debug 2019-1-29 00:08:40 Using zigbee-shepherd with settings: '{"net":{"panId":6754,"channelList":[26],"precfgkey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13]},"dbPath":"/opt/zigbee2mqtt/data/database.db","sp":{"baudRate":115200,"rtscts":true}}'
Jan 29 00:08:40 ubuntumd npm[3369]: zigbee2mqtt:debug 2019-1-29 00:08:40 Loaded state from file /opt/zigbee2mqtt/data/state.json
Jan 29 00:08:40 ubuntumd npm[3369]: zigbee2mqtt:info 2019-1-29 00:08:40 Starting zigbee2mqtt version 1.0.1 (commit #16f3e88)
Jan 29 00:08:40 ubuntumd npm[3369]: zigbee2mqtt:info 2019-1-29 00:08:40 Starting zigbee-shepherd
Jan 29 00:08:43 ubuntumd npm[3369]: zigbee2mqtt:info 2019-1-29 00:08:43 Error while starting zigbee-shepherd, attemping to fix... (takes 60 seconds)
Jan 29 00:08:43 ubuntumd npm[3369]: /opt/zigbee2mqtt/node_modules/q/q.js:155
Jan 29 00:08:43 ubuntumd npm[3369]: throw e;
Jan 29 00:08:43 ubuntumd npm[3369]: ^
Jan 29 00:08:43 ubuntumd npm[3369]: TypeError: Cannot read property 'close' of undefined
Jan 29 00:08:43 ubuntumd npm[3369]: at shepherd.start (/opt/zigbee2mqtt/lib/zigbee.js:45:47)
Jan 29 00:08:43 ubuntumd npm[3369]: at /opt/zigbee2mqtt/node_modules/q/q.js:2059:17
Jan 29 00:08:43 ubuntumd npm[3369]: at runSingle (/opt/zigbee2mqtt/node_modules/q/q.js:137:13)
Jan 29 00:08:43 ubuntumd npm[3369]: at flush (/opt/zigbee2mqtt/node_modules/q/q.js:125:13)
Jan 29 00:08:43 ubuntumd npm[3369]: at process._tickCallback (internal/process/next_tick.js:61:11)
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR! code ELIFECYCLE
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR! errno 1
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR!
[email protected] start: node index.js
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR! Exit status 1
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR!
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR! Failed at the
[email protected] s
tart script.
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR! A complete log of this run can be found in:
Jan 29 00:08:43 ubuntumd npm[3369]: npm ERR! /home/pi/.npm/_logs/2019-01-28T19_08_43_306Z-debug.log
Jan 29 00:08:43 ubuntumd systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
Jan 29 00:08:43 ubuntumd systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
Jan 29 00:08:43 ubuntumd systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Jan 29 00:08:43 ubuntumd systemd[1]: zigbee2mqtt.service: Scheduled restart job, restart counter is at 6.
Jan 29 00:08:43 ubuntumd systemd[1]: Stopped zigbee2mqtt.
Jan 29 00:08:43 ubuntumd systemd[1]: Started zigbee2mqtt.
Jan 29 00:08:45 ubuntumd npm[3397]: >
[email protected] start /opt/zigbee2mqtt
Jan 29 00:08:45 ubuntumd npm[3397]: > node index.js