hassio-addons/addon-node-red





The issue has been closed
Have"Invalid properties: -server" error for all home assistant nodes #415
jimmypuckett posted onGitHub
Problem/Motivation
I have fresh install of hassio 0.103.5
on a Pie 3 with the following addions...
- Configurator
- Grafana
- Mosquitto broker
- Node-RED
- SSH Server
- Samba share
- Z-Wave to MQTT
I was going to play with Node RED, but none of the HA Nodes work.
I verified that the Configuration nodes->On all flows->Home Assistant hsa the following checked...
- I use the Hass.io Add-on
- Delay connection attempts
- Cache Autocomplete Results
I have restarted the addon, but still does not work.
Here are my configs...
{
"credential_secret": "<some password>",
"dark_mode": false,
"http_node": {
"username": "",
"password": ""
},
"http_static": {
"username": "",
"password": ""
},
"ssl": false,
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"require_ssl": false,
"system_packages": [],
"npm_packages": [],
"init_commands": [],
"leave_front_door_open": true
}
Here is the log on the restart...
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
Hass.io Add-on: Node-RED
Flow-based programming for the Internet of Things
-----------------------------------------------------------
Add-on version: 6.0.0
You are running the latest version of this add-on.
System: HassOS 3.7 (armv7 / raspberrypi3)
Home Assistant version: 0.103.5
Supervisor version: 193
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing...
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] node-red.sh: executing...
patching file nodes/ui_base.html
Hunk #1 succeeded at 1243 (offset 712 lines).
up to date in 1.071s
found 0 vulnerabilities
[cont-init.d] node-red.sh: exited 0.
[cont-init.d] user.sh: executing...
[cont-init.d] user.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[20:30:57] INFO: Starting Node-RED...
> hassio-addon-node-red@ start /opt
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
5 Jan 20:31:01 - [info]
Welcome to Node-RED
===================
5 Jan 20:31:01 - [info] Node-RED version: v1.0.3
5 Jan 20:31:01 - [info] Node.js version: v12.14.0
5 Jan 20:31:01 - [info] Linux 4.19.88-v7 arm LE
5 Jan 20:31:03 - [info] Loading palette nodes
5 Jan 20:31:10 - [info] Dashboard version 2.19.3 started at /endpoint/ui
5 Jan 20:31:12 - [info] Settings file : /etc/node-red/config.js
5 Jan 20:31:12 - [info] Context store : 'default' [module=memory]
5 Jan 20:31:12 - [info] User directory : /config/node-red/
5 Jan 20:31:12 - [warn] Projects disabled : editorTheme.projects.enabled=false
5 Jan 20:31:12 - [info] Flows file : /config/node-red/flows.json
5 Jan 20:31:12 - [info] Starting flows
5 Jan 20:31:12 - [info] Started flows
5 Jan 20:31:12 - [info] Server now running at http://127.0.0.1:46836/
[20:31:13] INFO: Starting NGinx...
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
5 Jan 20:31:17 - [info] [server:Home Assistant] WebSocket Connected to http://hassio/homeassistant
Expected behavior
Drag node to flow & be able to use it.
Actual behavior
All HA nodes have orange triangle with Invalid properties: -server
& will not work.
Steps to reproduce
For me, to reproduce, you have a fresh install with the above addon & try to drag a node to a flow.
Proposed changes
I'm sorry, but I don't have any.