1

I've been going through the Azure IoT Edge documentation to connect a Raspberry Pi 4 using Raspbian Stretch to the Azure Cloud. The IoT Edge daemon is 'active (running)' but when I run 'iotedge check' I get the following error:

pi@raspberrypi:~$iotedge check --verbose
Configuration checks
--------------------
x config.yaml is well-formed - Error
   Could not open file /etc/iotedge/config.yaml. You might need to run this command as a root.
       caused by: Permission denied (os error 13)

0 check(s) succeeded.
1 check(s) raised errors.

I am fairly new to this so may have made an obvious error but can't find anything on google, Azure or Stack Overflow that applies. Any help would be much appreciated!

blRVA15
  • 35
  • 2
  • 5

1 Answers1

0

try to run the command with, as the command requires the priviledge to open the file:

sudo iotedge check
kgalic
  • 2,441
  • 1
  • 9
  • 21