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

Serial port crash on startup with 11.0.4 on ARM #1312

Closed
Doridian opened this issue Mar 1, 2022 · 50 comments · Fixed by #1357
Closed

Serial port crash on startup with 11.0.4 on ARM #1312

Doridian opened this issue Mar 1, 2022 · 50 comments · Fixed by #1357

Comments

@Doridian
Copy link

Doridian commented Mar 1, 2022

Problem/Motivation

In 11.0.4 on ARM devices, serial port nodes crash Node-RED.
Root cause is serialport/node-serialport#2438

Expected behavior

Node-RED starts up and works

Actual behavior

[16:07:23] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
28 Feb 16:07:26 - [info] 
Welcome to Node-RED
===================
28 Feb 16:07:26 - [info] Node-RED version: v2.2.2
28 Feb 16:07:26 - [info] Node.js  version: v16.14.0
28 Feb 16:07:26 - [info] Linux 5.10.92-v8 arm64 LE
28 Feb 16:07:28 - [info] Loading palette nodes
28 Feb 16:07:32 - [info] Dashboard version 3.1.6 started at /endpoint/ui
28 Feb 16:07:34 - [info] Settings file  : /etc/node-red/config.js
28 Feb 16:07:34 - [info] Context store  : 'default' [module=memory]
28 Feb 16:07:34 - [info] User directory : /config/node-red/
28 Feb 16:07:34 - [info] Projects directory: /config/node-red/projects
28 Feb 16:07:34 - [info] Server now running at http://127.0.0.1:46836/
28 Feb 16:07:34 - [info] Active project : foxden-home
28 Feb 16:07:34 - [info] Flows file     : /config/node-red/projects/foxden-home/flows.json
28 Feb 16:07:34 - [info] Starting flows
[16:07:37] INFO: Starting Node-RED...

And this repeats over and over, no error messages I can find.

Full log: log.txt

Steps to reproduce

Just on startup, every time.
In case it is related to my config. All my config is in a git project that can be found here: https://github.com/FoxDenHome/nodered

Proposed changes

If this is widespread, unpublish the update or hotfix

@sinclairpaul
Copy link
Member

Try the safe_mode option https://github.com/hassio-addons/addon-node-red/blob/main/node-red/DOCS.md#option-safe_mode

Enable the flows one at a time to see the issue. There is nothing in the logs showing which palette has the issue.

@Doridian
Copy link
Author

Doridian commented Mar 1, 2022

I have enabled it and am currently trying to get a trace, but so far I haven't managed to deploy a single node without it crashing instantly.

I only deploy a single "debug" node and have my NodeRED set to "only deploy modified nodes" and it crashes, not even anything connected to it. And that is even if the debug node is on its entirely own, blank sheet/tab

@Doridian
Copy link
Author

Doridian commented Mar 1, 2022

@sinclairpaul I figured it out. It is my serial port node (in "Global configuration nodes"). Disabling it makes everything work, enable it and deploy just it and it instantly crashes.

In fact, serial seems very broken, trying to list serial ports in Node-RED (11.0.4) just yields Failed to list ports. Please enter manually.

@sinclairpaul
Copy link
Member

Well as per the release notes

Bump node-red-node-serialport from 0.15.0 to 1.0.1 in /node-red https://github.com/dependabot (https://github.com/hassio-addons/addon-node-red/pull/1309)

So would suggest seeking assistance upstream with it

@Doridian
Copy link
Author

Doridian commented Mar 1, 2022

@sinclairpaul I think I figured out the issue.

node-red-node-serialport 1.0.1 depends on serialport 10.x ( node-red/node-red-nodes@184140b#diff-b170e7f896b0acc0bae251b22b9698ba3a0024021bd6df14c972ee82e952392aL6 )

serialprot inside the nodered container for HA is, however, 9.2.8

Is the package installation also upstream or not?

@sinclairpaul
Copy link
Member

Nope the dependencies should be handled by the build, we would need to look as to why it's not updated.

@Doridian
Copy link
Author

Doridian commented Mar 1, 2022

The more I investigate, the weirder this one gets.
The reason the error isn't visible is because it is a segfault... Which I find really odd. The serialport module shouldn't even have any native dependencies?

@Doridian
Copy link
Author

Doridian commented Mar 1, 2022

firefox_DOJ2mPDTAt
Managed to get a coredump, and some form of backtrace. This is some rabbit hole...

@Doridian
Copy link
Author

Doridian commented Mar 1, 2022

Found the probable actual cause this time: serialport/node-serialport#2438

@sinclairpaul
Copy link
Member

I think it's fair to say it's an upstream challenge, will leave this open for now for tracking.

@Doridian
Copy link
Author

Doridian commented Mar 1, 2022

Agreed. But for sure keep this open so people who find their 11.0.4 crashing. From this it seems like everyone who uses a serial port and is using an ARM-based device will be affected.

@deltazerorsan
Copy link

Agreed. But for sure keep this open so people who find their 11.0.4 crashing. From this it seems like everyone who uses a serial port and is using an ARM-based device will be affected.

Yes and, Why not to edit the topic? (... due to Serial incompatibilities).

I'v got the same problem and roll back to 11.0.3. I'm using Serial to receive ESPNow coms...

Thanks @Doridian

@Doridian Doridian changed the title Crash on startup with 11.0.4 Serial port crash on startup with 11.0.4 on ARM Mar 1, 2022
@mathieupotier
Copy link

Hi there,

Having the same issue tried to upgrade the node-red-node-serialport lib on 11.0.3 also and seems broken (0.* => 1.* has broken something into node-red quite expected regarding semver).

I'm locking my hassio node-red version to 11.0.3 and node-red-node-serialport 0.15.0 waiting for a better integration between those version.

Regards

PS : I have no other idea for avoiding the issue.

@Ayrton31
Copy link

Ayrton31 commented Mar 3, 2022

Hi,

Regarding the regurlarly crash of Node-Red addon in case of serial connection.
Is there any news ? is there a development in progress and a 11.0.5 release expected ?

@zekje
Copy link

zekje commented Mar 3, 2022

how to downgrade from 11.0.4 to 11.0.3 ?
i have the same problem with homeassistant on odroid XU4 ( arm )
i did now have a backup of nodered :(

@juanhaywood
Copy link

Hi, I'd also like to find out how to roll back to 11.0.3 without a backup.

@jonvelle
Copy link

jonvelle commented Mar 7, 2022

Hi, me also i have the same problem, more i have update to 11.0.4 version Node Red i have an odroid N2 with homeassistant
With usb serial port to read linky by interface Teleinfo / USB impossible I have 502 bad Gateway nginx error, if i make safe mode i read the flow but don't work ! Please how i can down grade to 11.0.3 or can you resolved this bug ? Thanks

@jonvelle
Copy link

jonvelle commented Mar 7, 2022

My Log here :

start
node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
8 Mar 00:50:44 - [info]
Welcome to Node-RED
===================
8 Mar 00:50:44 - [info] Node-RED version: v2.2.2
8 Mar 00:50:44 - [info] Node.js version: v16.14.0
8 Mar 00:50:44 - [info] Linux 5.10.98 arm64 LE
8 Mar 00:50:44 - [info] Loading palette nodes
8 Mar 00:50:47 - [info] Dashboard version 3.1.6 started at /endpoint/ui
Traceback (most recent call last):
File "/opt/node_modules/node-red-node-pi-gpio/testgpio.py", line 3, in
import RPi.GPIO as GPIO
File "/usr/lib/python3.9/site-packages/RPi/GPIO/init.py", line 23, in
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
8 Mar 00:50:48 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
8 Mar 00:50:48 - [info] Settings file : /etc/node-red/config.js
8 Mar 00:50:48 - [info] Context store : 'default' [module=localfilesystem]
8 Mar 00:50:48 - [info] User directory : /config/node-red/
8 Mar 00:50:48 - [warn] Projects disabled : editorTheme.projects.enabled=false
8 Mar 00:50:48 - [info] Flows file : /config/node-red/flows.json
8 Mar 00:50:48 - [info] Server now running at http://127.0.0.1:46836/
8 Mar 00:50:48 - [info] Starting flows
[00:50:49] INFO: Starting Node-RED...
start
node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
8 Mar 00:50:51 - [info]
Welcome to Node-RED
===================
8 Mar 00:50:51 - [info] Node-RED version: v2.2.2
8 Mar 00:50:51 - [info] Node.js version: v16.14.0
8 Mar 00:50:51 - [info] Linux 5.10.98 arm64 LE
8 Mar 00:50:52 - [info] Loading palette nodes
8 Mar 00:50:55 - [info] Dashboard version 3.1.6 started at /endpoint/ui
Traceback (most recent call last):
File "/opt/node_modules/node-red-node-pi-gpio/testgpio.py", line 3, in
import RPi.GPIO as GPIO
File "/usr/lib/python3.9/site-packages/RPi/GPIO/init.py", line 23, in
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
8 Mar 00:50:55 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
8 Mar 00:50:55 - [info] Settings file : /etc/node-red/config.js
8 Mar 00:50:55 - [info] Context store : 'default' [module=localfilesystem]
8 Mar 00:50:55 - [info] User directory : /config/node-red/
8 Mar 00:50:55 - [warn] Projects disabled : editorTheme.projects.enabled=false
8 Mar 00:50:55 - [info] Flows file : /config/node-red/flows.json
8 Mar 00:50:55 - [info] Server now running at http://127.0.0.1:46836/
8 Mar 00:50:55 - [info] Starting flows
[00:50:57] INFO: Starting Node-RED...
start
node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
8 Mar 00:50:59 - [info]
Welcome to Node-RED
===================
8 Mar 00:50:59 - [info] Node-RED version: v2.2.2
8 Mar 00:50:59 - [info] Node.js version: v16.14.0
8 Mar 00:50:59 - [info] Linux 5.10.98 arm64 LE
8 Mar 00:50:59 - [info] Loading palette nodes
8 Mar 00:51:02 - [info] Dashboard version 3.1.6 started at /endpoint/ui
Traceback (most recent call last):
File "/opt/node_modules/node-red-node-pi-gpio/testgpio.py", line 3, in
import RPi.GPIO as GPIO
File "/usr/lib/python3.9/site-packages/RPi/GPIO/init.py", line 23, in
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
8 Mar 00:51:03 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
8 Mar 00:51:03 - [info] Settings file : /etc/node-red/config.js
8 Mar 00:51:03 - [info] Context store : 'default' [module=localfilesystem]
8 Mar 00:51:03 - [info] User directory : /config/node-red/
8 Mar 00:51:03 - [warn] Projects disabled : editorTheme.projects.enabled=false
8 Mar 00:51:03 - [info] Flows file : /config/node-red/flows.json
8 Mar 00:51:03 - [info] Server now running at http://127.0.0.1:46836/
8 Mar 00:51:03 - [info] Starting flows
[00:51:04] INFO: Starting Node-RED...
start
node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
8 Mar 00:51:06 - [info]
Welcome to Node-RED
===================
8 Mar 00:51:06 - [info] Node-RED version: v2.2.2
8 Mar 00:51:06 - [info] Node.js version: v16.14.0
8 Mar 00:51:06 - [info] Linux 5.10.98 arm64 LE
8 Mar 00:51:07 - [info] Loading palette nodes

@sinclairpaul
Copy link
Member

@jonvelle Until it is fixed upstream, there is nothing we can do here.

Assuming you don't have a snapshot available to restore (which please do in future, the UI prompts you to create one), you may be able to rename your /config/node-red/flows.json, and restart the addon. This will remove all your flows, however you can copy/import them one by one from the original file.

@zekje
Copy link

zekje commented Mar 9, 2022 via email

@deltazerorsan
Copy link

Hi,

Have somebody with Serial node tested the 11.1.0?

Thanks!

@jonvelle
Copy link

jonvelle commented Mar 9, 2022

No i don't have updated to 11.1.0 but i have downgraded to 11.0.3 and my system is worked now.
I don't know if the problem of read serial usb with Arm processors is ok now and if another person had tested ?

@deltazerorsan
Copy link

No i don't have updated to 11.1.0 but i have downgraded to 11.0.3 and my system is worked now. I don't know if the problem of read serial usb with Arm processors is ok now and if another person had tested ?

Yes, same in my side... Waiting for good news.

@flexy2dd
Copy link

Hi,

Have somebody with Serial node tested the 11.1.0?

Thanks!

I have tested 11.1.0 but the same issue i have downgraded to 11.0.3 after and back normal

@deltazerorsan
Copy link

Hi,
Have somebody with Serial node tested the 11.1.0?
Thanks!

I have tested 11.1.0 but the same issue i have downgraded to 11.0.3 after and back normal

Thanks! This save a lot of time to me.

@Ayrton31
Copy link

I confirm too.
I've tested to reconnect my serial device (electric probe through USB) and immediately Node-Red crash.
Also immediatelly, by removing the USB cable (plug to serial adapter) Node-Red works again.

@Spifthespa
Copy link

Same for me as Ayrton31 description
Electric consumption module used to work fine with Nodered. Since recent upgrades NR crashes as soon as the usb cable is connected - no access to interface !!. As soon as usb cable is disconnected, NR works fine again....
Did a lot of tests to get to that conclusion
I will now avoid to upgrade until a stable version....Very disappointed...I was an HA supporter until now...

@Ayrton31
Copy link

Any idea about a resolution date, extremely frustration to not be able to monitor my electric consumption since almost 2 weeks due to this Node Red crash when using serial object ?

@deltazerorsan
Copy link

Any idea about a resolution date, extremely frustration to not be able to monitor my electric consumption since almost 2 weeks due to this Node Red crash when using serial object ?

For me the solution was to roll back to 11.0.3 and everything is working. I can´t unplug the USB to serial module because there are automations running through...

@Ayrton31
Copy link

i

Could you help me on that please.
How do you process to roll back the Node Red version ?

@deltazerorsan
Copy link

i

Could you help me on that please. How do you process to roll back the Node Red version ?

First of all I'm using HA over a Rpi, so every update was preceded by a back up. Then if I go in trouble the roll back is almost automatic.

If you don't have aback up, first export your nodes to JSON to preserve it. Uninstall NodeRED and look for an old version, install and import your nodes...

Not impossible to do... Good luck!

@juanhaywood
Copy link

Finally figured out how to roll back. You only need to roll back node-red-node-serialport.

In Home Assistant, go to the NodeRed add-on. Then go to the configuration for the add-on. Next to npm packages to install, put "node-red-node-serialport@0.15.0".

Then save and restart the NR add-on. This will revert node-red-node-serialport to the previous version that was working.

@Spifthespa
Copy link

Spifthespa commented Mar 12, 2022 via email

@Doridian
Copy link
Author

Doridian commented Mar 12, 2022

Hi Juan, Thanks for that trick but...it seems not working... get: Échec de l'enregistrement de la configuration du module complémentaire, Invalid list for option 'npm_packages' in Node-RED (a0d7b954_nodered). Got {'certfile': 'fullchain.pem', 'credential_secret': '&Petroineos', 'http_node': {'password': '', 'username': ''}, 'http_static': {'password': '', 'username': ''}, 'init_commands': [], 'keyfile': 'privkey.pem', 'npm_packages': @.', 'ssl': False, 'system_packages': [], 'theme': 'default'} Any advise? Regards Patrice Le 12/03/2022 à 20:57, juanhaywood a écrit :

Finally figured out how to roll back. You only need to roll back node-red-node-serialport. In Home Assistant, go to the NodeRed add-on. Then go to the configuration for the add-on. Next to npm packages to install, put @.
". Then save and restart the NR add-on. This will revert node-red-node-serialport to the previous version that was working. — Reply to this email directly, view it on GitHub <#1312 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APEDJY4GS4XSWUTNSDP22VLU7TZJ7ANCNFSM5PSQSLLQ. You are receiving this because you commented.Message ID: @.***>

Try it like this:

npm_packages:
  - node-red-node-serialport@0.15.0

Alternatively:

npm_packages: [node-red-node-serialport@0.15.0]

@Spifthespa
Copy link

Spifthespa commented Mar 12, 2022 via email

@corvy
Copy link

corvy commented Mar 14, 2022

Thanks @Doridian, that works perfect! :D Was about to give up and pull out my remaining hair!

@jfcampos
Copy link

Finally figured out how to roll back. You only need to roll back node-red-node-serialport.

In Home Assistant, go to the NodeRed add-on. Then go to the configuration for the add-on. Next to npm packages to install, put "node-red-node-serialport@0.15.0".

Then save and restart the NR add-on. This will revert node-red-node-serialport to the previous version that was working.

thanks @juanhaywood

@jimleach
Copy link

node-red-node-serialport@0.15.0

Finally figured out how to roll back. You only need to roll back node-red-node-serialport.

In Home Assistant, go to the NodeRed add-on. Then go to the configuration for the add-on. Next to npm packages to install, put "node-red-node-serialport@0.15.0".

Then save and restart the NR add-on. This will revert node-red-node-serialport to the previous version that was working.

Perfect - have been having a nightmare trying to recover Node-Red the last two weeks, the lack of revealing logs from HA / docker has hampered the troubleshooting - but this has nailed the issue.

@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Apr 18, 2022
@Doridian
Copy link
Author

Still an issue

@alemusso
Copy link

The issue continue

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Apr 19, 2022
@github-actions
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label May 19, 2022
@deltazerorsan
Copy link

If I'm not out of date, this issue is still unresolved.

Can, please, someone confirm that is or not resolved?

Tx

@corvy
Copy link

corvy commented May 19, 2022 via email

@corvy
Copy link

corvy commented May 19, 2022

Hello, just checked on a Raspberry Pi now, running Home Assistant (the problem is related to ARM). When I enable the latest version of "node-red-node-serialport" the addon gets stuck in a start-up loop like this:

[11:52:00] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
19 May 11:52:04 - [info] 
Welcome to Node-RED
===================
19 May 11:52:04 - [info] Node-RED version: v2.2.2
19 May 11:52:04 - [info] Node.js  version: v16.14.2
19 May 11:52:04 - [info] Linux 5.15.32-v8 arm64 LE
19 May 11:52:06 - [info] Loading palette nodes
19 May 11:52:12 - [info] Dashboard version 3.1.6 started at /endpoint/ui
19 May 11:52:13 - [info] Settings file  : /etc/node-red/config.js
19 May 11:52:13 - [info] Context store  : 'default' [module=memory]
19 May 11:52:13 - [info] User directory : /config/node-red/
19 May 11:52:13 - [warn] Projects disabled : editorTheme.projects.enabled=false
19 May 11:52:13 - [info] Flows file     : /config/node-red/flows.json
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
19 May 11:52:14 - [info] Server now running at http://127.0.0.1:46836/
19 May 11:52:14 - [info] Starting flows
[11:52:17] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
19 May 11:52:21 - [info] 
Welcome to Node-RED
===================
19 May 11:52:21 - [info] Node-RED version: v2.2.2
19 May 11:52:21 - [info] Node.js  version: v16.14.2
19 May 11:52:21 - [info] Linux 5.15.32-v8 arm64 LE
19 May 11:52:22 - [info] Loading palette nodes
19 May 11:52:29 - [info] Dashboard version 3.1.6 started at /endpoint/ui
19 May 11:52:30 - [info] Settings file  : /etc/node-red/config.js
19 May 11:52:30 - [info] Context store  : 'default' [module=memory]
19 May 11:52:30 - [info] User directory : /config/node-red/
19 May 11:52:30 - [warn] Projects disabled : editorTheme.projects.enabled=false
19 May 11:52:30 - [info] Flows file     : /config/node-red/flows.json
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
19 May 11:52:30 - [info] Server now running at http://127.0.0.1:46836/
19 May 11:52:30 - [info] Starting flows
[11:52:32] INFO: Starting Node-RED...

Never ending loop. When I add this to the configuration:

npm_packages:
  - node-red-node-serialport@0.15.0

The logs look like this:

[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] customizations.sh: executing... 
[12:00:23] INFO: Starting installation of custom NPM/Node-RED packages...
removed 23 packages, changed 1 package, and audited 679 packages in 9s
77 packages are looking for funding
  run `npm fund` for details
10 vulnerabilities (9 high, 1 critical)
To address issues that do not require attention, run:
  npm audit fix
To address all issues possible (including breaking changes), run:
  npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
[cont-init.d] customizations.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 1164 (offset 633 lines).
up to date, audited 174 packages in 13s
5 packages are looking for funding
  run `npm fund` for details
19 vulnerabilities (2 low, 12 moderate, 1 high, 4 critical)
To address issues that do not require attention, run:
  npm audit fix
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
[cont-init.d] node-red.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[12:00:50] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
19 May 12:00:54 - [info] 
Welcome to Node-RED
===================
19 May 12:00:54 - [info] Node-RED version: v2.2.2
19 May 12:00:54 - [info] Node.js  version: v16.14.2
19 May 12:00:54 - [info] Linux 5.15.32-v8 arm64 LE
19 May 12:00:56 - [info] Loading palette nodes
19 May 12:01:03 - [info] Dashboard version 3.1.6 started at /endpoint/ui
Error connecting to dbus: Error: connect ENOENT /var/run/dbus/system_bus_socket
19 May 12:01:04 - [info] Settings file  : /etc/node-red/config.js
19 May 12:01:04 - [info] Context store  : 'default' [module=memory]
19 May 12:01:04 - [info] User directory : /config/node-red/
19 May 12:01:04 - [warn] Projects disabled : editorTheme.projects.enabled=false
19 May 12:01:04 - [info] Flows file     : /config/node-red/flows.json
19 May 12:01:04 - [info] Server now running at http://127.0.0.1:46836/
19 May 12:01:04 - [info] Starting flows
[12:01:05] INFO: Starting NGinx...
19 May 12:01:05 - [info] Started flows
19 May 12:01:05 - [info] [serialconfig:7196ccb7.af913c] serial port /dev/serial/by-id/usb-VictronEnergy_BV_VE_Direct_cable_VE3B3Q0X-if00-port0 opened at 19200 baud 8N1
19 May 12:01:05 - [info] [serialconfig:ea3dd41c.5929b] serial port /dev/serial/by-id/usb-VictronEnergy_BV_VE_Direct_cable_VE26ZM61-if00-port0 opened at 19200 baud 8N1

So this problem is very much the same :)

@deltazerorsan
Copy link

I am checking. tor. 19. mai 2022, 11:20 skrev Rsan @.>:

If I'm not out of date, this issue is still unresolved. Can, please, someone confirm that is or not resolved? Tx — Reply to this email directly, view it on GitHub <#1312 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABBYNEFYUUUDD4NVFW7QSDVKYBVVANCNFSM5PSQSLLQ . You are receiving this because you commented.Message ID: @.
>

Thanks a lot for the update (I'm answering this not to quote your large response).

So, the problem is still there, somewhere uphill...

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label May 20, 2022
@LindsayReid
Copy link

LindsayReid commented May 31, 2022

I have just come across the problem on 2022-05-31 so it is an ongoing problem. As soon as I plug in a usb to serial device into the Raspberry Pi, I lose access to Node Red. The problems described above seem remarkably similar to what I have experienced in the last few days whilst having the latest version 11.1.2 - Most frustrating as HA does not seem to have bi-directional serial port capability built in. Node Red was my hope !

I have temporarily got round the problem by following the advice of Doridian and juanhaywood above and using the older "node-red-node-serialport@0.15.0" npm package. Hopefully a working set up for new users and updaters will include a serial package that doesn't barf node red!

@corvy
Copy link

corvy commented Jun 9, 2022

Comfirm this is solved in 12.0.2. :) Thanks @frenck

@frenck
Copy link
Member

frenck commented Jun 9, 2022

Good to know! Thanks @corvy 👍

@deltazerorsan
Copy link

Comfirm this is solved in 12.0.2. :) Thanks @frenck

Thanks for the (good) news!

Thanks @frenck for the work!

@github-actions github-actions bot locked and limited conversation to collaborators Jul 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.