MobileSheets Forums
Sync Library with Files not Managed by MS on SDCard - Printable Version

+- MobileSheets Forums (https://www.zubersoft.com/mobilesheets/forum)
+-- Forum: Support (https://www.zubersoft.com/mobilesheets/forum/forum-1.html)
+--- Forum: MobileSheets (Android) (https://www.zubersoft.com/mobilesheets/forum/forum-23.html)
+--- Thread: Sync Library with Files not Managed by MS on SDCard (/thread-6197.html)



Sync Library with Files not Managed by MS on SDCard - g.lolo3 - 03-05-2020

Hi,
For some reasons I'm trying to use modify my MS library so that MS does not manage files.
Then I try to sync the lib on multiples devices using Google Drive.
It seems to work well but if I set the MS path to a folder on an external SD Card (Android) some stranges things happens.
Some folders are duplicated "folder" and "folder (1)" for example and some files have size of 0 bytes.
I thought it could be my sdcard that was damaged but I tried on my phone and 2 differents tablet and the result is the same.
If set the MS directory on the internal SD everything is fine.
Is this a bug? A known issue?
Thanks.


RE: Sync Library with Files not Managed by MS on SDCard - Zubersoft - 03-06-2020

I'll have to see if I can reproduce this. If I cannot, I'll have to know more about the structure of your library on the SD card. I may need to get a backup file from you if it's fairly complex and you only see this problem for certain songs. 

Thanks,
Mike


RE: Sync Library with Files not Managed by MS on SDCard - g.lolo3 - 03-06-2020

Hi Mike,
Thx for your great support. Of course I can send you a backup if you need it.
I try to sync a part of my lib only to begin it's about 300Mb (full is about 5Gb) so it should not be a problem.
Please let me know.


RE: Sync Library with Files not Managed by MS on SDCard - g.lolo3 - 04-16-2020

Hi Mike,
Any news about this?


RE: Sync Library with Files not Managed by MS on SDCard - Zubersoft - 04-17-2020

It would definitely help to have a library backup to test with. Let me know if you can send that. 

Thanks,
Mike


RE: Sync Library with Files not Managed by MS on SDCard - g.lolo3 - 04-19-2020

How would you like me to send it to you?
If you give me a gmail adress I can share you the drive folder to sync.


RE: Sync Library with Files not Managed by MS on SDCard - Zubersoft - 04-20-2020

Please share a link with mike@zubersoft.com. Thanks!

Mike


RE: Sync Library with Files not Managed by MS on SDCard - g.lolo3 - 04-21-2020

Hi Mike,
I shared you the google drive folder.
I've done some new tests.
If I sync on the internal sd everyrhing works fine.
The same if I sync to the external sd /storage/0181-9400/Android/data/com.zubersoft.mobilesheetspro/files/
But if I sync to /storage/0181-9400/Android/media/com.nextcloud.client/nextcloud/laurent@nextcloudpluslo.ddns.net/ all the files are here but the folder structure is incorrect see attachement and MS does not find my files...
I don't understand why... can I have more detailed log somewhere?


RE: Sync Library with Files not Managed by MS on SDCard - Zubersoft - 04-21-2020

Thanks for sharing the Google Drive folder. I'll run some tests with synchronizing against that folder to see if I can reproduce what you've described.

Mike


RE: Sync Library with Files not Managed by MS on SDCard - g.lolo3 - 04-25-2020

Mike,

I shared you anorher library very small with which I have done some more tests.
I've found that on the external sdcard if the storage path does not contains
/storage/0181-9400/Android/media/com.zubersoft.mobilesheetspro
The sync failed.
For example /storage/0181-9400/Android/media/com.yubersoft.mobilesheetspro
More over if the parh contains anorher ".com" it fails too, for example:
/storage/0181-9400/Android/media/com.nextcloud.client/com.zubersoft.mobilesheetspro
I hope that with these informations you will fix it soon
Please let me know


RE: Sync Library with Files not Managed by MS on SDCard - Zubersoft - 04-28-2020

I've found the problem and I have a fix in place now. An optimization for SD card access caused cached folders to be incorrect so it kept trying to recreate folders that were created during the sync processing, and when this occurs, instead of Google's storage access framework just using the existing folder, it creates a new folder with a "(1)" or "(2)" after it (depending on how many copies there are of the folder). I don't know why their library behaves this way. Thanks for helping me track this down.

Mike