-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[External Storage] Google Docs files are not synced in the client cause server reports empty content lenght #26797
Comments
The message was introduced here: owncloud/client@7fc7925 I wonder if you get this for all files all the time? |
Only some files have the problem, I can see in my case only the odt files.
Not necessarily. Here are my logs: Filename: |
I seem to be getting a similar issue, except that my error is "The downloaded file does not match the checksum, it will be resumed.". This is really annoying, any fix? |
+1 |
This is likely because the Google docs files are magic internal files in Google Drive. To be able to sync them down, the GDrive external storage implementation in ownCloud needs to ask Google Drive to export the file. The exported file likely isn't resumable because it is likely that it is binary different every time it is downloaded again. A possible fix would be to somehow have the external storage code refuse to The content-length of said exported files is also not predictable which might be why the field is not set. I thought we set it to -1 or -2 at some point. |
As for the clients, I'd suggest that the resume information gets discarded at the time the error is shown so that the next sync run redownloads the full file. |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Moving to owncloud/files_external_gdrive#17 since ping @PVince81 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
As "Google Docs files are free", they are causing an error in the desktop client when syncing since their exported versions do have size.
Steps to reproduce
Expected behaviour
The files can be synced by the client and are the same that can be downloaded via the web interface (the results of the export with GDrive)
Actual behaviour
The files are included in the
Not Synced
tab with the action:Broken webserver returning empty content length for non-empty file on resume
and therefore, ignored.Server configuration
@PVince81
The text was updated successfully, but these errors were encountered: