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

Adapter Failing to Load #48

Open
ben-digitalhive opened this issue Nov 6, 2021 · 1 comment
Open

Adapter Failing to Load #48

ben-digitalhive opened this issue Nov 6, 2021 · 1 comment

Comments

@ben-digitalhive
Copy link

I have just rebuilt a brand new instance of WT 1.0.0 and am getting the following error in the logs

2021-11-07 09:29:25.358 INFO   : Loading add-on: zigbee2mqtt-adapter
2021-11-07 09:29:26.903 INFO   : zigbee2mqtt-adapter: Opening database: /home/pi/.webthings/config/db.sqlite3
2021-11-07 09:29:26.949 INFO   : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2021-11-07 09:29:28.351 INFO   : zigbee2mqtt-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2021-11-07 09:29:30.752 INFO   : zigbee2mqtt-adapter: Loading add-on zigbee2mqtt-adapter from /home/pi/.webthings/addons/zigbee2mqtt-adapter
2021-11-07 09:29:30.940 INFO   : zigbee2mqtt-adapter: Debugging is enabled
2021-11-07 09:29:30.944 INFO   : zigbee2mqtt-adapter: { local_zigbee2mqtt: true,
2021-11-07 09:29:30.945 INFO   : zigbee2mqtt-adapter:   auto_update: false,
2021-11-07 09:29:30.947 INFO   : zigbee2mqtt-adapter:   mqtt: 'mqtt://localhost',
2021-11-07 09:29:30.949 INFO   : zigbee2mqtt-adapter:   prefix: 'zigbee2mqtt',
2021-11-07 09:29:30.950 INFO   : zigbee2mqtt-adapter:   serial_port: '',
2021-11-07 09:29:30.951 INFO   : zigbee2mqtt-adapter:   channel: '11',
2021-11-07 09:29:30.953 INFO   : zigbee2mqtt-adapter:   ikea_test_server: false,
2021-11-07 09:29:30.954 INFO   : zigbee2mqtt-adapter:   virtual_brightness_alternative: false,
2021-11-07 09:29:30.955 INFO   : zigbee2mqtt-adapter:   debug: true }
2021-11-07 09:29:30.958 INFO   : zigbee2mqtt-adapter: OS: linux
2021-11-07 09:29:30.959 INFO   : zigbee2mqtt-adapter: this.config.manual_toggle_response was undefined. Set to BOTH
2021-11-07 09:29:30.961 INFO   : zigbee2mqtt-adapter: Serial port is not defined in settings. Will attempt auto-detect.
2021-11-07 09:29:30.980 INFO   : zigbee2mqtt-adapter: line: total 0
2021-11-07 09:29:30.982 INFO   : zigbee2mqtt-adapter: line: lrwxrwxrwx 1 root root 13 Nov  7 09:26 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B00193B1876-if00 -> ../../ttyACM0
2021-11-07 09:29:30.984 INFO   : zigbee2mqtt-adapter: - USB stick spotted at: /dev/ttyACM0
2021-11-07 09:29:30.986 INFO   : zigbee2mqtt-adapter: line: 
2021-11-07 09:29:30.987 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_data_dir_path =  /home/pi/.webthings/data/zigbee2mqtt-adapter
2021-11-07 09:29:30.989 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_dir_path =  /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt
2021-11-07 09:29:30.992 INFO   : zigbee2mqtt-adapter: this.config.local_zigbee2mqtt = true
2021-11-07 09:29:30.994 INFO   : zigbee2mqtt-adapter: zigbee2mqtt folder existed.
2021-11-07 09:29:30.996 INFO   : zigbee2mqtt-adapter: in run_zigbee2mqtt
2021-11-07 09:29:30.997 INFO   : zigbee2mqtt-adapter: Checking if config file exists
2021-11-07 09:29:31.001 INFO   : zigbee2mqtt-adapter: using Zigbee2MQTT's built-in simulated brightness feature
2021-11-07 09:29:31.003 INFO   : zigbee2mqtt-adapter: basic configuration.yaml file was succesfully created!
2021-11-07 09:29:41.001 INFO   : zigbee2mqtt-adapter: attempting to latch onto MQTT
2021-11-07 09:29:41.127 INFO   : zigbee2mqtt-adapter: starting zigbee2MQTT using: node /home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js
2021-11-07 09:29:41.130 INFO   : zigbee2mqtt-adapter: initial this.config.serial_port = /dev/ttyACM0
2021-11-07 09:29:41.131 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_configuration_devices_file_path = /home/pi/.webthings/data/zigbee2mqtt-adapter/devices.yaml
2021-11-07 09:29:41.133 INFO   : zigbee2mqtt-adapter: this.zigbee2mqtt_configuration_log_path = /home/pi/.webthings/data/zigbee2mqtt-adapter/log
2021-11-07 09:29:41.134 INFO   : zigbee2mqtt-adapter: Using IKEA test server for firmware updates? false
2021-11-07 09:29:41.447 INFO   : zigbee2mqtt-adapter: ola stderr: internal/modules/cjs/loader.js:638
2021-11-07 09:29:41.449 INFO   : zigbee2mqtt-adapter:     throw err;
2021-11-07 09:29:41.450 INFO   : zigbee2mqtt-adapter:     ^
2021-11-07 09:29:41.452 INFO   : zigbee2mqtt-adapter: 
2021-11-07 09:29:41.454 INFO   : zigbee2mqtt-adapter: Error: Cannot find module 'core-js/features/object/from-entries'
2021-11-07 09:29:41.456 INFO   : zigbee2mqtt-adapter:     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
2021-11-07 09:29:41.457 INFO   : zigbee2mqtt-adapter:     at Function.Module._load (internal/modules/cjs/loader.js:562:25)
2021-11-07 09:29:41.459 INFO   : zigbee2mqtt-adapter:     at Module.require (internal/modules/cjs/loader.js:692:17)
2021-11-07 09:29:41.461 INFO   : zigbee2mqtt-adapter:     at require (internal/modules/cjs/helpers.js:25:18)
2021-11-07 09:29:41.463 INFO   : zigbee2mqtt-adapter:     at Object.<anonymous> (/home/pi/.webthings/data/zigbee2mqtt-adapter/zigbee2mqtt/index.js:1:1)
2021-11-07 09:29:41.464 INFO   : zigbee2mqtt-adapter:     at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-11-07 09:29:41.465 INFO   : zigbee2mqtt-adapter:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2021-11-07 09:29:41.467 INFO   : zigbee2mqtt-adapter:     at Module.load (internal/modules/cjs/loader.js:653:32)
2021-11-07 09:29:41.468 INFO   : zigbee2mqtt-adapter:     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2021-11-07 09:29:41.469 INFO   : zigbee2mqtt-adapter:     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2021-11-07 09:29:41.470 INFO   : zigbee2mqtt-adapter: 
2021-11-07 09:29:41.473 INFO   : zigbee2mqtt-adapter: ola closing code: 1
@flatsiedatsie
Copy link
Collaborator

Are you using the provided image for Raspberry Pi's?

This seems to be the same issue mentioned here:
#41 (comment)

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

2 participants