-
Notifications
You must be signed in to change notification settings - Fork 670
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
Can't upload file greater than ~5mb with desktop client - (expected filesize 5242880 got 0) #4421
Comments
Which client version? Did you try 2.1.1 rc1? I'm not sure why you say the Android client can trigger this too though.. |
(BTW, if you agree that it is a vanilla installation without any bells and whistles, http://owncloud.org/support is a better place) |
2.1.0 on Mac
The log I gave is from the Mac client as stated.
I'm sorry I'm not a native english speaker and I sometime do mistakes... Please correct me if I'm wrong but 5242880 bits is the size of a chunk right ? I just tried : |
@CriticalNoob Also checked owncloud/core#9832 (comment), especially the known bug in Apache 2.4.6+ ? |
It seems I'm too dumb to understand ubuntu way of managing packages, but I don't think the fix has been applied in latest apache update for ubuntu 14.04. I will let you know if I find something. |
Okay I upgraded apache to 2.4.18 which should supposedly fix the problem but still got bunch of expected filesize 5242880 got 0 |
For some reason now some upload works, but there is something interesting. The question is why ?
I must precise that I have got only "expected filesize 5242880 got 0" errors, no "expected filesize 5242880 got xxxxx" btw If you want to check my apache config : Apache :
|
Today I tried something else :
to owncloud.conf and
to config.php I then installed some apps, and let it sync some files.
And then I got back to "expected filesize 5242880 got 0" forever. "cache" permission are :
|
@CriticalNoob This is very likely a configuration issue that we unfortunately don't have the resources to help you track down. It's unlikely to be a client bug since you get similar problems with the desktop and android clients. |
Steps to reproduce
Expected behaviour
File should upload without problem most of the time, and most of the files shouln't have to be reuploaded many times.
Actual behaviour
The upload will faill with : (expected filesize 5242880 got 0)
The desktop client will try again until the file get blacklisted, or sometime for some reason, it manage to upload it.
Server configuration
Operating system:
Ubuntu server 14.04
Web server:
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jan 14 2016 17:45:23
Database:
mysql 5.5.46-MariaDB-1ubuntu0.14.04.2
PHP version:
PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
ownCloud version: (see ownCloud admin page)
ownCloud 8.2.2
Updated from an older ownCloud or fresh install:
Fresh
List of activated apps:
The content of config/config.php:
Client configuration
Browser:
No problem with browser, html upload works flawlessly.
Operating system:
Logs
Mac sync client :
Web server error log
None in /var/log/apache2/
ownCloud log (data/owncloud.log)
Bunch of :
I tried :
SSLRenegBufferSize 10486000 in apache owncloud.conf
LimitRequestBody 0
I changed upload limits in php.ini
output_buffering = on, off, 16G, whatever
post_max_size = 16G
max_input_time 3600
max_execution_time 3600
I have Read :
#3816
owncloud/core#9832
owncloud/core#9832
I'm aware that it is considered as a server configuration issue but my server is a complete "out of the box" virgin :
Vanilla ubuntu 14.04 with default configuration files, nothing custom (exept for debug purpose and as written in OC documentation), apache and php installed byt apt-get.
Vanilla ownCloud with stock config files, except the one that are adviced to change in the documentation.
The lack of any clear error message make it hard to debug, I haven't gotten something any more explicit than :
"expected filesize 5242880 got 0" it like something got wrong somewhere, but who is in fault ? Nothing in any other logs...
Upload works fine with other Webdav clients like cyberduck, that's weird, isn't the owncloud client supposed to use webdav too ?
So may it comes from the way the owncloud client works ? Is there a way I could check ?
The text was updated successfully, but these errors were encountered: