Sudden I/O Errors

I've been using our SOTI instance for about 6 months, and enrolled 100 of the identical tablets. Very minimal issues along the way. Nothing has changed in our environment. Now suddenly, as I'm enrolling the next batch of 30 tablets (same model) having nothing but constant issues when pushing the initial profiles that result in installs. I'm trying to install our LOB application, Settings Manager, and XSight Agent. Sometimes none of these fail but more often than not, I have at least 1 failure - sometimes 1 fails, or 2 fails, or all 3 fail. Always the same error - Failed to install, (File I/O error). Clicking revoke profile and then install profile always fixes it. I saw a previous thread here discussing the same issue. Someone mentioned turning on logging, but it's too late at this point, because if I turn it on, it won't fail again a second time. It's just weird it worked so smoothly for the first 6 months and now a bunch of tablets are having the same problem. It's not the end of the world, since there's a manual workaround, but is slowing down the building process slightly.

2 years ago
SOTI MobiControl
ANSWERS
MD
Matt Dermody Diamond Contributor
2 years ago

I recently was troubleshooting one of these I/O errors and discovered the issue to be something completely different than what I was used to. In my past experience with these errors they've usually indicated some sort of file transfer issue. In some cases if a mobile app that you're pushing is already installed on the device you'll see these errors. In other situations if you have an A11+ device and you're trying to push files to directories the agent doesnt have permission for then you'll also see the same error.

While those are the most common that I encounter I recently also encountered issues with a Package containing an APK not installing because Google Play Protect was rejecting the app install due to not meeting the minimum targetSDK level. This same app had been installed on equivalent devices using the same process just a few weeks prior but then all of a sudden new devices would fail to install the APK. I only discovered it was a Play Protect issue after attempting a manual install on the devices and seeing the pop up warning preventing the install. It appears in the situation that I'm dealing with that Google started enforcing this particular targetSDK level requirement this year, and likely on November 1st. You may be experiencing something similar if this just started happening out of the blue. I would recommend manually installing those impacted apps on some devices to see if you get any sort of Play Protect warnings. The apps may need to be updated by the developers to be in compliance if thats what you're seeing. You may also be able to disable Play Protect, although I believe that has to be done manually. 

On a related note I wish SOTI would do a better job of translating these I/O errors in the logs for us as I have seen 3-4 different causes of the same log signature now. More descriptive logging would be helpful than just the generic I/O errors. 

TG
Todd G
2 years ago

This timeframe tracks with what I'm experiencing. I only started experiencing these issues this month.

When my devices are originally enrolled, they get their base policies. Then I drag them into a specific folder for the rest of the installs. Based on another thread here from years ago, I added a script to the base policy to disable Google Play Protect, which is located below. I'm not sure it really did anything though. When I go into Play Protect settings, the values did not change from default. For reference, 

Scan apps with Play Protect: there's a slider here, but it's defaulted to on and cannot be changed

Improve harmful app detection: it's defaulted to on, and can be changed to off.

I did have one app warn me on manually install, but I clicked do not send, and it installed successfully. Oddly enough XSight Agent is the one that fails more often than not.

Script to supposedly disable Google Play Protect:

writeprivateprofstring DeviceFeature DisableVerifyApps 1

apply featurecontrol

J
JEMOD@SOTI Bronze Contributor
2 years ago

Hi Todd

Thank you for posting on SOTI Pulse! 

Kindly let me know if you have attempted to add a feature control to "disable verify apps enforcement" under the security tab in the feature control configuration. This may assist with disabling google play protect to test with app installations on a device.

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net lDiscussion Forum | Log a Case Online l LinkedIn