Device Update for IoT Hub device failing when using script handler.
New Update :
I was able to get the exact reason for the extended result code. Had to update the script as per the
All the steps seem to working except for the actual installation. Here is a snippet of my InstallUpdate() function (gets executed on passing the --action-install flag).
As you can see I am trying to run a dpkg -i for some deb packages.
On running the script locally with the following flags the below mentioned output is seen
In short, the update takes place and upgrades the package from 0.0.5 -> 0.0.6.
But while trying to run the same via Azure IoT Hub device updates the following logs are seen for script handler.
As seen clearly, no logs are generated. What could be the possible reason for this?
While trying to deploy an update which uses a script handler, the deployment fails with the ExtendedResultCode = 810549253.
As per the documentation, the equivalent unsigned hex (in this case, 30500005) should be of the format F FFFFFF where the first nibble is the Facility Code and the rest of the bits are the Error Code. Refer to the table below for available Facility Code values :
In this case, the corresponding unsigned hex is 30500005. As per the format, our Facility Code is coming as 3.
Any ideas on how to debug the failure of this update?
Hi @Sriyuta Srivastava For a deeper investigation and immediate assistance on this issue, please file a support request @ https://aka.ms/azsupt? If you do not have access to a support plan, could you please send an email to firstname.lastname@example.org with the below details, so that we can work closely on this matter.
Thread URL: Link to this thread.
Azure Subscription ID:
Email Subject : Attn Ashok
Sign in to comment