Bonjour
I installed node-red on a debian 10 VM on proxmox 7
on using the serial port function and I have this problem
serial port /dev/ttyUSB1 error: Error: Error: Permission denied, cannot open /dev/ttyUSB1"
param. VM proxmox
Bonjour
I installed node-red on a debian 10 VM on proxmox 7
on using the serial port function and I have this problem
serial port /dev/ttyUSB1 error: Error: Error: Permission denied, cannot open /dev/ttyUSB1"
param. VM proxmox
I don't know proxmox but I can tell you that most user accounts on Debian won't have access to serial/usb unless you add the right group to the account. ls -la /dev/ttyUSB*
should let you see the right group you need to add.
Salut
thank you for your reply
I had already included it
what can also say is that in the drop-down menu of the serial port,
NR does not offer me the ports when I click on the magnifying glass
Are you sure which user is running node red?
yes everything works except the serial ports
Can you share the startup script for Node-RED please? We need to confirm what user account is used to start Node-RED and then make sure that it is added to the dialout
group.
what is the name of the file
How do you start node red?
yes everything works except the serial ports
have you tried the complete id ? /dev/serial/by-id/xxxxxxxxxxxxx
I don't know. It depends how you start Node-RED.
That does not tell us what command you use to start node red, and from which directory you run it.
I don't have this info
you will have to help me
do you want me to edit the node-red-service file?
If that's how you are starting node-red, you can just share it with us as long as there is nothing sensitive in it.
Right, so now we know that you are starting Node-RED using a user id of Jeedom
.
So can you please report the output of this command: groups Jeedom
Can you post the output of
node-red-stop
node-red-start
Please copy/paste text rather than screenshot. When pasting use the </>
button at the top of the forum entry window and paste the text where it says.
OK I copy/paste