bcedu / VGrive

Google Drive client for linux
GNU General Public License v3.0
313 stars 33 forks source link

VGrive corrupts GoogleDocs and Google Spreadsheet files #47

Closed axel22 closed 4 years ago

axel22 commented 4 years ago

This is pretty serious. Some of my google docs files are getting randomly corrupted (luckily not all of them). See screenshots.

screenshot-10-11-52

screenshot-10-11-12

Luckily, there were only ~20-30 documents that were corrupted, and I was able to restore these files from the version history. As far as I can tell, only googledoc files are affected, since the API apparently does not allow downloading their source. Still, this should be fixed, and I turned off VGrive for the time being.

How could this be happening? Why does VGrive push files that were not changed locally.

bcedu commented 4 years ago

Any google doc should have been ignored by vgrive. I will check and fix it

axel22 commented 4 years ago

Could it be that some local program/service "touches" those googledoc files, which tricks VGrive into thinking that they were changed, and into pushing the local copies back (which do not contain the true contents of those googledoc files, since they were never properly downloaded to begin with)?

bcedu commented 4 years ago

Fixed with: 5e8fdb6d2c084d851f0b0a46355652b8c13314cf

I will make a new release with this fix.

Apologies for any inconvenience

bcedu commented 4 years ago

https://github.com/bcedu/VGrive/releases/tag/1.2.4

axel22 commented 4 years ago

Thanks for fixing this!

fyodorovski commented 4 years ago

It's more than that - vGrive permanently deleted some files for me. See screenshot.

screenshot-22-51-46

I have no way of getting these files back!

bcedu commented 4 years ago

In v1.2.4 trying to fix this issue i introduced a bug that could cause this behaviour. It has been solved in v1.3.0

bcedu commented 4 years ago

Have you checked if this files are im the trash directory of VGrive?

Apologies for any inconvemience