Forum

no upload possible - owncloud

Michael
21 February 2012, 03:13
Hey,

i have i big problem. I want to host a online cloud for my friends and me. But with Hiawatha the uploads don't work, if they are bigger than 1KB.

With the Webserver lighttpd it works.

The following thinks i've done:
php.ini:
php_value upload_max_filesize 99M     #diesen
php_value post_max_size 99M


hiawatha.conf
MaxRequestSize = 99
MaxUploadSize = 99
MaxKeepAlive = 90
TimeForRequest=10,20


Please help me! I want to use Hiawatha because it's so powerful and safely!

Good night

Hiawatha version: 8.0
Operating System: Debian Squeeze amd64
Hugo Leisink
21 February 2012, 07:56
Is uploading done via POST or PUT? The MaxRequestSize should allow the uploading of files up to 99 Kb via POST. There must be another reason why it fails. What does the logfiles say? Specially the system.log.
Michael
21 February 2012, 10:19
I'm not sure but I think owncloud uses PUT.

The system.log says:

...|Tue 21 Feb 2012 10:16:45 +0100|Maximum request size reached
...|Tue 21 Feb 2012 10:16:45 +0100|Maximum request size reached
...|Tue 21 Feb 2012 10:16:45 +0100|Maximum request size reached


Hugo Leisink
21 February 2012, 10:51
I don't think it's PUT. Your MaxUploadSize is set to 99 MB. Unless you are uploading files larger than 99 MB, this should be enough.

Your MaxRequestSize is set to 99 kB. Are you sure that files of 1 kB don't work? Try increasing the MaxRequestSize value to, for example, 1024 (=1 MB).
Michael
21 February 2012, 10:57
Thanks Hugo! Now it works
This topic has been closed.