You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial copy a file via oC to a GD mount.
Then change the content of the file by editing it on your local computer.
Re-upload the file, the name is the same.
What happens is, that the files gets deleted in oC, but is present in GD as actual and older revision.
When you delete the revisions in GD, refresh, the file appears and is synced again.
oC can´t manage multiple files with the same name, therefore they are "deleted".
Background:
Mounting a GD
Syncing it with the client
Regular dropping existing content with updates into that mount. As more changed files you have, as less files you see via oC 💥
But they are present as revsions in GD itself.
@DeepDiver1975 (pls assign to someone who can fix that, I do not know whom to add)
The text was updated successfully, but these errors were encountered:
I digged a bit in the code. https://github.com/owncloud/files_external_gdrive/blob/master/lib/Storage/Google.php
There is a mechanism to check if filenames are present multiple times in a folder.
This mechanism can be improved to take only that file with the youngest date vs to reject all files having the same name. Then it would behave like a normal filesystem for oC.
Initial copy a file via oC to a GD mount.
Then change the content of the file by editing it on your local computer.
Re-upload the file, the name is the same.
What happens is, that the files gets deleted in oC, but is present in GD as actual and older revision.
When you delete the revisions in GD, refresh, the file appears and is synced again.
oC can´t manage multiple files with the same name, therefore they are "deleted".
It seems that the API access currently used is not managing revisions.
https://developers.google.com/drive/api/v3/manage-revisions
https://developers.google.com/drive/api/v3/manage-changes
Background:
Mounting a GD
Syncing it with the client
Regular dropping existing content with updates into that mount.
As more changed files you have, as less files you see via oC 💥
But they are present as revsions in GD itself.
@DeepDiver1975 (pls assign to someone who can fix that, I do not know whom to add)
The text was updated successfully, but these errors were encountered: