question

JeffreyK-4635 avatar image
1 Vote"
JeffreyK-4635 asked JeffreyK-4635 commented

sudo iotedge config apply - Config Argument not found

I'm trying to install IoT runtime in Linux "Linux (ubuntu 18.04)" VM and configuring the device provisioning from the steps in link, but I get the error for the config command
https://docs.microsoft.com/en-us/azure/iot-edge/how-to-auto-provision-x509-certs?view=iotedge-2020-11#linux-device

Command: sudo iotedge config apply

Found argument 'config' which wasn't expected, or isn't valid in this context
USAGE:
iotedge [OPTIONS] <SUBCOMMAND>

Please let me know what I'm missing here? This used to work earlier in the same Linux VM but no more.

Installed IotEdge version: 1.1.3



azure-iot
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SatishBoddu-MSFT avatar image
0 Votes"
SatishBoddu-MSFT answered JeffreyK-4635 commented

Hello @JeffreyK-4635 Thanks for reaching out on this issue,

Please confirm the version of IoTEdge running on your device?

Below is the repro of the issue, because I am running IoT Edge 1.1 and using document(command) for version 1.2 which is not the right one.

101795-image.png

Please make sure to use the relevant document which suits your IoTEdge version.

101734-image.png



image.png (44.3 KiB)
image.png (37.1 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks, I infact figured it out yesterday after changing the version. Did not knew that they have changed :)

2 Votes 2 ·