OS Update via "Send Script" not working.

Hi there, 

we are trying to run the OS update remotely instead of having to manually do it (removing screws, inputting SD card etc). There are 2 steps to this:

  1. Download the correct Android OS Version from the File Sync server when enrolling. Only downloads the file if the condition is met. 


    2. Send a script to the device to install the zip file it has just downloaded. (This is where we are having issues) 

         

The issue we are experiencing is that it does not install the zip file when sending the script. The script does send but does not start the installation. The fix we have found at the moment is to do a factory reset to the device and then send the script again. That works, however is there a better solution to this problem or does anyone have any experience with this? 

Appreciate any and all help!

Thanks!

a year ago
SOTI MobiControl
ANSWERS
LG
Luke G
a year ago

The error I am getting is:
SOTI mobicontrol cant send script Custom log (Mx OTA failed: /sdcard/HE_FULL...)

K
kmart
a year ago

I'm seeing the same thing with doing scripted OS updates. Are your device displaying a blue MXMF screen and what device agent are you on? I have a ticket in now and its bee escalated up to their dev team. 

LG
Luke G
a year ago

Hey kmart,

Any update on this from your ticket? 

This is occuring on our TC8300 devices that are of build number 11-20. We are trying to run the script to install the downloaded zip file for build number 11-39. The device agent is MobiControl.

K
kmart
a year ago

Hey Luke,

No not yet, its with senior developers now is the last response I received. 

LG
Luke G
a year ago

Hey Kmart,

I have found a fix to this. The issue was that during enrollment via afw#mobicontrol and typing in the enrollment ID, the system apps seem to be disabled/removed. 

The solution is to enroll via QR code and enable system apps within the QR code configuration. The script then works and the update works as intended.


K
kmart
a year ago

Thanks Luke! I’ve seen that before with device policy controller or DPC enrollment methods. I created a StageNow file sync rule on my enrollment folder to get those apps enabled again as soon as they are in SOTI. 

I use StageNow with an .ini enrollment method though so those apps are enabled all the time. Appreciate the heads up with the QR code enrollment though. 

I'm now seeing this same error or mxconfig remote code execution on my cloud instance of SOTI well which I wasn’t seeing previously. The saga continues 

ST
Shawn Tusler
a year ago

When troubleshooting Zebra OS Updates, using Mobicontrol to deliver the .zip file, then using the Stagenow to generate a barcode to trigger the update will give you better feedback on why the process may be failing. 

This will provide you with error logs in the Stagenow client that will be more specific to WHY the update is failing. This is purely diagnostic. 

Once you are successful triggering the OS Update via Stagenow, you can move back to your original method of triggering the update via script. 

https://techdocs.zebra.com/stagenow/5-12/profiles/osupdate/ 

Hi Luke,

at the File Sync Rule when it is completed you can send the install Command .

Then it will be automated executed after the Sync is completed.

Second as Shawn comented is what i use also.

I have created once a Profile in Stage now.

That includes:

Download the Full od incemental Package down to the Device

install the ZIP package

The Profile is made Generic, means i have like named the Full Package MC33-A11.zip and the Incremental package MC33-A11-INC.zip.

I replace the related Full or Incremental on the Source and assign it only in the Package details when what package should be installed and when on the Devices.

So i have a better control over the update process.

Second is that i try allways to send out incremental Packages that reduces the Network Traffic a lot.

S
SKMOD@SOTI
a year ago

Hi Luke,

Thank you for your post on SOTI Pulse.

Thanks Kmart, Shawn and Marcus for responding to the post, your expertise and willingness to help are greatly appreciated!

Could you kindly let us know if your issue has been resolved?

If you have any additional questions or concerns, please don’t hesitate to reach out. We are here to provide support and assistance whenever you need it.

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |