Skip to content
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

zero file size on webdav #11340

Closed
anarcat opened this issue Sep 27, 2014 · 7 comments
Closed

zero file size on webdav #11340

anarcat opened this issue Sep 27, 2014 · 7 comments

Comments

@anarcat
Copy link

anarcat commented Sep 27, 2014

Steps to reproduce

  1. enable webdav on the owncloud frontend, get the WebDAV enpoint (say https://example.com/remote.php/webdav)
  2. mount the webdav using davfs2 (apt-get install davfs2; mount -t davfs -o username=anarcat https://example.com/remote.php/webdav/ m
  3. sync files into the m directory

Expected behaviour

Files are uploaded and they are fully "there".

Actual behaviour

They look like they are present, but actually, they are empty in the frontend. The webdav mountpoints lists the proper size however.

This is similar to #968 but it still happens and affects the davfs2 client on Debian.

I have been able to work around the problem with:

use_locks 0

in /etc/davfs2/davfs2.conf. Source:

http://forum.owncloud.org/viewtopic.php?f=8&t=1815
http://sagar.se/owncloud-webdav-zero-filesize.html

Now it looks like the workaround works, but i suspect it may mean the filesystem becomes inconsistent. For example, after unmounting the directory where the webdav is mounted, the mount.davfs process is still running and churning through the file upload - and the files are simply missing from the frontend.

Server configuration

Operating system: Debian stable "wheezy" 7.6

Web server: Apache 2.2.22

Database: Mysql 5.5

PHP version: PHP 5.4.4

ownCloud version: 6.0.2

Updated from an older ownCloud or fresh install: updated

<sorry - didn't have time to fill out the rest of the template>

@DeepDiver1975
Copy link
Member

@anarcat Thanks a lot for reporting issues back to us!

We need some more information to properly support you with your issue!

Can I ask you to follow our guidelines for submitting bugs as described here: https://github.com/owncloud/core/blob/master/CONTRIBUTING.md

Thanks a lot!

@DeepDiver1975
Copy link
Member

most probably related to #9832 - which will be fixed in 7.0.3

@anarcat
Copy link
Author

anarcat commented Sep 29, 2014

i tried to fill in some of it, sorry for not following the guidelines!

@DeepDiver1975
Copy link
Member

@anarcat thanks a lot - can you apply the patch as stated above - my best/wild guess is this might fix the issue for you. #9832

@DeepDiver1975
Copy link
Member

.... in addition log entries would be great - THX

@anarcat
Copy link
Author

anarcat commented Sep 29, 2014

did you rather mean #11041?

i'll try to dig that out for you.

@anarcat
Copy link
Author

anarcat commented Sep 29, 2014

well, i can't reproduce from this Debian Jessie client, no clue why, so I can't provide logs or test the patch.

I guess I'll just close this.. :/

@anarcat anarcat closed this as completed Sep 29, 2014
@lock lock bot locked as resolved and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants