File Sync - new devices not sync'ing with error "Insufficient free storage on device"

Solved
GW
Gavin Wilson
Continental landscapes

I am just setting up some new Samsung Galaxy Tab Active 3 devices, same model as devices we have used previously. The activation and profile etc add works perfectly. The initial file sync we have though is failing with the error "Insufficient free storage on device" - this is not the case, there is more than 45Gb free on the device (files to sync total <1Gb).

File sync is basically pulling down some files from the server to a folder on the device, nothing fancy. It has worked on devices before. Any clues as to what the issue could be now?
I can give any more info required if you ask.

3 years ago
Android
ANSWERS
MB

Hi Gavin,

is there an Other Message in the Logs ?

Coud it be that the Tablet has Android 11 what is available for Samsung Galaxy Tab Active 3?

That it is a Permission Issue ?

GW
Gavin Wilson
3 years ago

Yes. They are A11.

That is the only specific error other than the summary of zero files sync'd.

And looking at permissions the Mobicontrol app has "allow access to media only" under "file and media permission" rather than "allow management of all files" - so does seem sensible to think permissions.
That permission is locked by Mobicontrol - where can I set that?

MB

I am more familiar with Industrial Devices but i had with A11 issues and the same Problem that MobiControl has only "media" permissions. When i switched it to full access all Files & Folders i had no errors.

I had Problems when i start working with A11 Devices after gaving MobiControl full Permission i was then able to Sync files to the Device and install Packages.

GW
Gavin Wilson
3 years ago

How did you make the permission change?

RC
Raymond Chan Diamond Contributor
3 years ago

Could you please share the target device directory used in your file-sync rule?

GW
Gavin Wilson
3 years ago

%internalsdcard%\SSRA

works fine pre-A11.

RC
Raymond Chan Diamond Contributor
3 years ago

I suggest you first test if %internalsdcard% macro still works fine in the new Android firmware version by modifying the file-sync rule device directory to a public directory such as %internalsdcard%/Download/, which should have no file read/write permission problem.  

GW
Gavin Wilson
3 years ago

as a test sync'd to %internalsdcard%/Documents works - so definitely looks like permissions. I may just relocate the sync'd files going forward, unless there is an easy way to fix the permissions.

Solution
Z
ZPMOD@SOTI
3 years ago
PW
Paul W
3 years ago

I have just discovered that I am getting the same error r "Insufficient free storage on device" I have found that it is a permissions thing.
We have a sync rule that uploads files to sdcard/lockdown but that is not working

It would appear that mobi does not have the permission to create the folder, l logged in to the tablet and created the folder manually but the files still did not upload. The previous error is now replaced with "File synchronization failed (Total 0 files partially synchronized due to error: 0 files downloaded, 0 files skipped, 60 files to download.)" but the files just do not upload to the folder

I see that you have managed to get around this by using a different subfolder, so maybe this is something I will have to look at but will mean changing it for all our devices

GW
Gavin Wilson
3 years ago

From trying - there is a script that will prompt and give access to scoped storage ("request_appops_permission MANAGE_EXTERNAL_STORAGE" ) - but it just gives the prompt, requires the user to say yes on screen. There is also the possibility that the ability to do this will be killed off in future OS. 
Storing in shared space (ie Documents folder) works and should work going forward, so I've gone for re-locating my syncs under there. The only annoyances with that is that any existing docs I have no ability to delete, and any home screen shortcuts created point to the wrong place.

Thanks to those above that have helped point in right direction.

PW
Paul W
3 years ago

On further investigation, I found that the Apps > Special Settings > All File Access MobiControl was set to not allowed, I changed this to Allowed and the Sync Rule worked, it created the new folder under %sdcard% and sync'ed the files