Internal Server Error 500
Hi,
i´m getting this error: Internal Server Error 500 whenever i´m trying to upload a large file. I´m using the latest owncloud with php 5.3 and httpd-2.2.3-65
Hope you can help me. Thank you.
C.
Which server environment are you running? Anything in the web server error logs? Latest ownCloud means 4.5.5 or git master?
Hi, im running owncloud 4.5.5 on centos 5.7. As far as I could see there are no errors I the apache logs. As I mentioned this happens only on big files regardless of the sync software. The file gets copied about 95% and hangs for about 1min. It almost seems there is a timeout generating this error.
C.
"Thomas Müller" [email protected] schrieb:
Which server environment are you running? Anything in the web server error logs? Latest ownCloud means 4.5.5 or git master?
Reply to this email directly or view it on GitHub: https://github.com/owncloud/core/issues/1153#issuecomment-12147461
how big is big? ;-)
greater than 100MB
hmm - how long does it take? You are possibly running into a session timeout. Please have a look into data/owncloud.log
The file has old entries so there are no clues. I even tried to map the webdav folder in win explorer with the same results: file does get uplaoded aprox 95% to 99% and then hangs for about 1 to 2 min. After that the error appears.
I found also a entry about this issue in the forum:
http://forum.owncloud.org/viewtopic.php?f=3&t=2552&start=40
I´ve updated php from 5.3 to 5.4 but no change.
Ok, here´s a small update: i´ve configured in apache a webdav folder and uploaded the same file i did with owncloud:
Result: the file gets uploaded without any problem. So i think this must be a ownlcoud issue but to be honest i do not know where to search anymore.
Anyone? Please help
OK, when i map the owncloud folder in Win 7 Explorer i get the following error: 0x80070057 As i mentioned, uploading the same file directly into a previously configured webdav folder in apache works.
Looks like nobody seems to care?! I´ve tried now to upload the file via ownclouds webgui which worked fine. So the source of error can only be sabredav. How can i update ownlcouds sabredav to the latest sabredav available on googlecode? Thank you
Ok, here´s a small update: i´ve configured in apache a webdav folder and uploaded the same file i did with owncloud:
Apache DAV has to be disabled for the host running ownCloud or it will interfere with SabreDAV. Are you sure it is?
tanghus, thank you for reply. Ì´ve completely deactivated the DAV module in apache reloaded and started a new sync. The same error occures.
I don't see you mentioning which client you use for uploading, is it the ownCloud sync client (mirall)? Do you check both apaches access.log and the error.log?
Ì´ve completely deactivated the DAV module in apache reloaded
Meaning restarting apache, right? Just to be sure ;)
Hi tanghus, thank you for your reply. It doesn´t matter what sync client I´m using (GoodSync, owncloud sync client 1.2, even mapping a ownlcoud folder with windows explorer) it´s the same error. The only way it works is uploading via ownclouds webgui. I´ve configured a fresh installation, with new database to a non SSL virtualhost...same issue. The strange thing is, this error 500 can´t be found in any apache log files although i used LogLevel debug
I don´t get this. :(
I´ve downgraded to 4.5.4 and at that point when the upload fails i see this in the error log:
[Thu Jan 31 11:11:15 2013] [error] PHP Notice: Undefined index: mimetype in /owncloudtest/lib/filecache.php on line 373 [Thu Jan 31 11:11:15 2013] [error] PHP Notice: Undefined index: id in /owncloudtest/lib/filecache.php on line 371
In 4.5.6 the broken upload doesn´t generate any error at all.
Is there any way to turn on logging to sabredav?
I´ve traced the sync process with wireshark and this and foudn the problem:

It turned out that the value for wait_timeout in my.cnf was too small so increasing this value fixed the problem.
Cheers
Chris