hassio-addons / addon-node-red

Node-RED - Home Assistant Community Add-ons
https://addons.community
MIT License
513 stars 117 forks source link

HACS Flows stopped due to missing node types #1866

Closed McMoobud closed 2 months ago

McMoobud commented 3 months ago

Problem/Motivation

My Node red in HAC in Hassio has stopped working completely, due to the following error:

Flows stopped due to missing node types

server ha-entity-config api-call-service poll-state server-state-changed

Expected behavior

Haven't changed anything except for updating the addon and I only have a few very basic flows which I'll attach

Actual behavior

Flows have stopped working due to missing nodes.

Steps to reproduce

Open the Add on

Proposed changes

I have tried opening the Manage pallette option and everything missing is either not findable or already installed

image image image
McMoobud commented 3 months ago

Here's some log file output

31 Mar 13:51:19 - [warn] Error loading credentials: SyntaxError: Unexpected token � in JSON at position 0 31 Mar 13:51:19 - [warn] Error loading flows: Error: Failed to decrypt credentials 31 Mar 13:51:19 - [info] Waiting for missing types to be registered: 31 Mar 13:51:19 - [info] - server 31 Mar 13:51:19 - [info] - ha-entity-config 31 Mar 13:51:19 - [info] - api-call-service 31 Mar 13:51:19 - [info] - poll-state 31 Mar 13:51:19 - [info] - server-state-changed

I've tried updating via NPM but that websocket is just not playing ball.

I've also tried removing the addon and reinstalling but HASSIO keeps settings somewhere I can't find and it just comes back as before, flows and all

McMoobud commented 2 months ago

Managed to figure this out in the end. Had to remove the addon and completely wipe all trace of it from the system and reinstall.

Imported the flows back in after re-install and it's back up and running.