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

вылетает ошибка во время старта node-red и далее не поднимается #13

Open
pdazcom opened this issue Oct 26, 2024 · 0 comments

Comments

@pdazcom
Copy link

pdazcom commented Oct 26, 2024

Node-red установлена как addon к HA v18.1.1

До этого работало все ок. Я что-то менял добавлял ноды WB, тестил. и в какой-то момент node-red упал, в логах такое:

26 Oct 21:36:32 - [info] Starting flows
[21:36:32] INFO: Starting NGinx...
26 Oct 21:36:32 - [info] Started flows
26 Oct 21:36:32 - [info] [server:Home Assistant] Connecting to http://supervisor/core
26 Oct 21:36:32 - [info] [wirenboard-server:WB6.7] MQTT Connected
26 Oct 21:36:32 - [info] [mqtt-broker:WB MQTT] Connected to broker: mqtt://10.10.10.2:1883
26 Oct 21:36:32 - [info] [wirenboard-server:WB6.7] MQTT Subscribed to: "/devices/#
26 Oct 21:36:32 - [info] [wirenboard-server:WB6.7] Refreshing devices
26 Oct 21:36:33 - [red] Uncaught Exception:
26 Oct 21:36:33 - [error] TypeError: topic.split is not a function
    at Function.generateElementId (/config/node_modules/node-red-contrib-wirenboard/lib/WirenboardHelper.js:30:25)
    at Function.prepareDataArray (/config/node_modules/node-red-contrib-wirenboard/lib/WirenboardHelper.js:80:49)
    at WirenboardNodeIn.onMQTTMessage (/config/node_modules/node-red-contrib-wirenboard/nodes/in.js:176:55)
    at ServerNode.WirenboardNodeIn.node.listener_onMQTTMessage (/config/node_modules/node-red-contrib-wirenboard/nodes/in.js:28:69)
    at ServerNode.emit (node:events:529:35)
    at ServerNode.Node.emit (/opt/node_modules/@node-red/runtime/lib/nodes/Node.js:192:20)
    at ServerNode.onMQTTMessage (/config/node_modules/node-red-contrib-wirenboard/nodes/server.js:379:18)
    at MqttClient.<anonymous> (/config/node_modules/node-red-contrib-wirenboard/nodes/server.js:23:62)
    at MqttClient.emit (node:events:517:28)
    at handlePublish (/config/node_modules/mqtt/src/lib/handlers/publish.ts:172:11)
    at handle (/config/node_modules/mqtt/src/lib/handlers/index.ts:31:17)
    at work (/config/node_modules/mqtt/src/lib/client.ts:773:17)
    at processTicksAndRejections (node:internal/process/task_queues:77:11)
[21:36:33] INFO: Service Node-RED exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
[21:36:33] INFO: Service NGINX exited with code 0 (by signal 0)
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