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

Zigbee2mqtt not working anymore after reboot. Also, no logs are created. #669

Closed
CypherMK opened this issue Dec 7, 2018 · 4 comments
Closed

Comments

@CypherMK
Copy link

CypherMK commented Dec 7, 2018

When I check the status:
osmc@osmc:~$ systemctl status zigbee2mqtt.service

  • zigbee2mqtt.service - zigbee2mqtt
    Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor pres
    Active: active (running) since Fri 2018-12-07 23:13:28 CET; 4s ago
    Main PID: 1720 (npm)
    CGroup: /system.slice/zigbee2mqtt.service
    `-1720 npm

Dec 07 23:13:28 osmc systemd[1]: Started zigbee2mqtt.

No logs are created. It keeps creating empty folders. Also, the light on the USB sniffer turns off.

What can I do? Tried this: #28

@CypherMK
Copy link
Author

CypherMK commented Dec 7, 2018

Status update:

  • zigbee2mqtt.service - zigbee2mqtt
    Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
    Active: active (running) since Fri 2018-12-07 23:21:52 CET; 2s ago
    Main PID: 4872 (npm)
    CGroup: /system.slice/zigbee2mqtt.service
    |-4872 npm
    |-4883 sh -c node index.js
    `-4884 node index.js

Dec 07 23:21:52 osmc systemd[1]: Started zigbee2mqtt.
Dec 07 23:21:53 osmc npm[4872]: > zigbee2mqtt@0.2.0 start /opt/zigbee2mqtt
Dec 07 23:21:53 osmc npm[4872]: > node index.js
Dec 07 23:21:54 osmc npm[4872]: Zigbee2mqtt requires node version >=8.11 10, you are running v11.2.0!

@CypherMK
Copy link
Author

CypherMK commented Dec 7, 2018

I upgraded node.js a few days ago and it kept working after reboot

@CypherMK
Copy link
Author

CypherMK commented Dec 7, 2018

I get this info:

osmc@osmc:~$ node -v
v11.2.0
osmc@osmc:~$ nodejs -v
v8.14.0
osmc@osmc:~$

@CypherMK
Copy link
Author

CypherMK commented Dec 7, 2018

Downgraded with the help of this thread: https://stackoverflow.com/questions/7718313/how-to-change-to-an-older-version-of-node-js
Now it works again

@CypherMK CypherMK closed this as completed Dec 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant