Node Red Azure IotEdge module always fails

187 Views Asked by At

I have installed node-red module on my Azure IoT edge device. However, it always fails to run. I used the following tutorial I am using Raspberry Pi 3 with ARM 32v7 processor. Yes, I have set IoT Hub requirement from the tutorial. Other examples on my IoT edge device work properly except the node red module.

The logs are provided. enter image description here

1

There are 1 best solutions below

2
hardillb On

That failure has nothing to do with the azure node.

The failure is to do with having write permission to the /data directory. Assuming it's running in a docker container and you have mounted a volume into the container at the /data point then you need to make sure that the UID 1000 has write permissions to the volume/mount point.

UID is the default user mapped to the node-red inside the container.