Can not upload large files (even 100MB)

Ask all your questions regarding OC 8.2 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
alichakery
Starter
Posts: 56
Joined: Mon May 04, 2015 4:27 am
ownCloud version: 8.0.2
PHP version: 5.4

Can not upload large files (even 100MB)

Postby alichakery » Sun May 22, 2016 2:34 am

Please help us by providing the following info. Before posting please also check the pinned "Known issues" thread.
Can not upload large files (even 100MB)

When I try to upload large files, when the upload status bar goes to the end .. it just stuck and nothing happens ...

I contacted my Server Admins and they said :

=======
The server reports two errors while trying to upload a file that is 100M in size:
Upload failed. Could not get file info.

An exception occurred while executing 'SELECT `fileid`, `storage`, `path`, `parent`, `name`, `mimetype`, `mimepart`, `size`, `mtime`, `storage_mtime`, `encrypted`, `etag`, `permissions` FROM `oc_filecache` WHERE `storage` = ? AND `path_hash` = ?' with params ["36", "2e3ed6873c9aba28ed4eb89c8b9a5a43"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

These are not related to the PHP upload size but rather the MySQL service.
========


I would really appreciate if you help me .. I really need to get this issue fixed.


Oh and the upload limit is set to 2048MB in php.ini

Thank you

Server configuration
Operating system: CloudLinux
Web server: LiteSpeed
Database: MariaDB
PHP version: 5.6
ownCloud version (see ownCloud admin page): 8.2.5
Updated from an older ownCloud or fresh install: 8.2.4
ownCloud log (data/owncloud.log):

Code: Select all

{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"unlink(): No such file or directory at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#357","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_UuAR5m-folder\/news\/vendor\/bin): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_UuAR5m-folder\/news\/vendor): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_UuAR5m-folder\/news): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_UuAR5m-folder): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#361","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"unlink(): No such file or directory at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#357","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_YHnGOT-folder\/news\/vendor\/bin): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_YHnGOT-folder\/news\/vendor): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_YHnGOT-folder\/news): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"bTqzB2gWbG+kBNLAZzYN","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_YHnGOT-folder): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#361","level":3,"time":"2016-05-22T00:04:00+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"unlink(): No such file or directory at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#357","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_UuAR5m-folder\/news\/vendor\/bin): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_UuAR5m-folder\/news\/vendor): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_UuAR5m-folder\/news): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_UuAR5m-folder): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#361","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"unlink(): No such file or directory at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#357","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_YHnGOT-folder\/news\/vendor\/bin): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_YHnGOT-folder\/news\/vendor): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_YHnGOT-folder\/news): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#355","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"Hbu8tGLYKa3ioROtialf","remoteAddr":"193.170.69.35","app":"PHP","message":"rmdir(\/tmp\/oc_tmp_YHnGOT-folder): Directory not empty at \/home\/user\/public_html\/cp\/lib\/private\/helper.php#361","level":3,"time":"2016-05-22T00:04:06+00:00"}
{"reqId":"xdiMIcPTe+yka75MQKln","remoteAddr":"80.84.55.196","app":"files","message":"Upload error: 3 - The uploaded file was only partially uploaded","level":3,"time":"2016-05-22T00:23:15+00:00"}

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Can not upload large files (even 100MB)

Postby RealRancor » Sun May 22, 2016 3:20 am

Hi,

https://doc.owncloud.org/server/9.0/adm ... r-messages

has some pointers about the "mysql server has gone away" error. Further infos should be also available when putting this error into your favorite search engine.
*gone*

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Can not upload large files (even 100MB)

Postby tflidd » Mon May 23, 2016 1:38 am


alichakery
Starter
Posts: 56
Joined: Mon May 04, 2015 4:27 am
ownCloud version: 8.0.2
PHP version: 5.4

Re: Can not upload large files (even 100MB)

Postby alichakery » Mon May 23, 2016 10:17 am

I created this issue on Github :)

Thank you

alichakery
Starter
Posts: 56
Joined: Mon May 04, 2015 4:27 am
ownCloud version: 8.0.2
PHP version: 5.4

Re: Can not upload large files (even 100MB)

Postby alichakery » Tue May 24, 2016 10:11 am

Unfortunately I am still experiencing this issue and I have not been able to solve it...

I would really appreciate any help !!! Thank you

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Can not upload large files (even 100MB)

Postby tflidd » Tue May 24, 2016 10:56 am

Is this problem new? There were only very few changes between 8.2.4 and 8.2.5 so it shouldn't be hard to find the pull request responsible for it. As you are not using the standard environment it will be difficult for anybody to help.

alichakery
Starter
Posts: 56
Joined: Mon May 04, 2015 4:27 am
ownCloud version: 8.0.2
PHP version: 5.4

Re: Can not upload large files (even 100MB)

Postby alichakery » Tue May 24, 2016 11:04 am

Thank you for your Relply,

Well here is the full story :

First I was at 8.2.3 and I was not able to upload files larger than 513M (which is a common server side issue) , so I increased the htaccess directives to 2G and at the same time 8.2.4 was announced ... so I upgraded to 8.2.4 and I faced this issue .

So I am not really sure what this issue is related to.

I thought maybe this is related to my add ons (which are almost verified ones like calendar etc) so I went ahead and installed a new version (latest v9) on an another hosting account and I faced the same issue.

Mean while we upgraded our LiteSpeed and cPanel of the server.

I am not really sure if this is related to these two but these are the whole changes since I was able to upload files less than 513M ...

Oh we also have a PHP Version Selector so I tested with all versions from 5.4 to 7... it was the same in all versions.

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: Can not upload large files (even 100MB)

Postby tflidd » Tue May 24, 2016 2:20 pm

If you can create a test setup with OC 8.2.3 and 8.2.4, you could figure out if the problem is due to changes of owncloud.
Concerning LiteSpeed and cPanel this is probably not the best forum to find experts...

alichakery
Starter
Posts: 56
Joined: Mon May 04, 2015 4:27 am
ownCloud version: 8.0.2
PHP version: 5.4

Re: Can not upload large files (even 100MB)

Postby alichakery » Tue May 24, 2016 9:54 pm

Ok, Tested OC8.1 and I have got this issue with 8.1 as well so there is definitely something wrong with the server.

I would be so thankful if you help me that where can I start investigating this issue ...

Thank you

RealRancor
ownCloud master
Posts: 17381
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.2
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: Can not upload large files (even 100MB)

Postby RealRancor » Tue May 24, 2016 10:22 pm

Hi,

what about switching to a supported plattform:

- Apache + mod_php (officially supported)
- nginx + fpm (community supported)

where more users are able to help?
*gone*


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 2 guests