You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a .sh script executing, but I get an error:
"stepResults":{"step_0":{"resultCode":0,"extendedResultCodes":"30500205","resultDetails":"The install script doesn't create a result file '/var/lib/adu/downloads/7aebbd16-70df-4b74-8cce-39aceb13a66f/action_download_aduc_result.json'."
I've created a action_download_aduc_result.json file, but assume it needs to be stored in the correct folder. I assume it's the working folder or Sandbox folder?
@DylanFromEdwards
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!
Thanks for your feedback and your contribution to Azure docs.
Feedback for this repository is moving away from GitHub to a system specific to the Microsoft Learn platform. Issues for this repository will soon be disabled, and additional comments from GitHub will no longer be possible. However, we are now tracking and triaging this issue in the new feedback system.
To learn more about our feedback systems, please see Provide feedback for Microsoft Learn content.
I have a .sh script executing, but I get an error:
"stepResults":{"step_0":{"resultCode":0,"extendedResultCodes":"30500205","resultDetails":"The install script doesn't create a result file '/var/lib/adu/downloads/7aebbd16-70df-4b74-8cce-39aceb13a66f/action_download_aduc_result.json'."
I've created a action_download_aduc_result.json file, but assume it needs to be stored in the correct folder. I assume it's the working folder or Sandbox folder?
Property '_workFolder' not NULL - returning cached workfolder '/var/lib/adu/downloads/7aebbd16-70df-4b74-8cce-39aceb13a66f'
Setting sandbox /var/lib/adu/downloads/7aebbd16-70df-4b74-8cce-39aceb13a66f [SandboxCreate:391]
The question is how do I reference this from within a script?
Copilot suggests using and environment folder, along the lines of...
sandbox_dir=$ADUC_SANDBOX_DIR
This gives an empty string within the script and the file gets written to /
The example https://github.com/Azure/iot-hub-device-update/blob/develop/src/extensions/step_handlers/script_handler/examples/example-installscript.sh expects an argument to be passed, but I can't find an example of the argument.
Could someone tell me how I get the working/sand folder in the script? Or where the result file should be written.
The text was updated successfully, but these errors were encountered: