Quantcast

Upload large files failing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Upload large files failing

CJ Keist
Hello,

     Looking for help in getting Owncloud server (8.2.7) to allow larger
than 2GB file size via the web gui.  I have modified both the .htaccess
and the php.ini files to allow for 16G file uploads.  When I try to
upload a 4.3GB file it shows the upload progress bar moving all the way
to the end and then it just pops up a "Internal Server Error" and no
file is uploaded.  Nothing shows up in the owncloud.log file either.


Anything else I'm missing?

.htaccess:
<IfModule mod_php5.c>
   php_value upload_max_filesize 16G
   php_value post_max_size 16G
   php_value memory_limit 512M
   php_value mbstring.func_overload 0
   php_value always_populate_raw_post_data -1
   php_value default_charset 'UTF-8'
   php_value output_buffering 0
   <IfModule mod_env.c>
     SetEnv htaccessWorking true
   </IfModule>
</IfModule>

php.ini:
post_max_size = 16G
upload_max_filesize = 16G

--
C. J. Keist                     Email: [hidden email]
Systems Group Manager           Solaris 10 OS (SAI)
Engineering Network Services    Phone: 970-491-0630
College of Engineering, CSU     Fax:   970-491-5569
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Upload large files failing

OC Pablo
Hello,

What architecture is your OC running on? PHP 32bits does not support more than 2Gb, and there's nothing OC can do to solve that.


11 de octubre de 2016 16:50, "CJ Keist" <[hidden email]> escribió:

> Hello,
>
> Looking for help in getting Owncloud server (8.2.7) to allow larger than 2GB file size via the web
> gui. I have modified both the .htaccess and the php.ini files to allow for 16G file uploads. When I
> try to upload a 4.3GB file it shows the upload progress bar moving all the way to the end and then
> it just pops up a "Internal Server Error" and no file is uploaded. Nothing shows up in the
> owncloud.log file either.
>
> Anything else I'm missing?
>
> .htaccess:
> <IfModule mod_php5.c>
> php_value upload_max_filesize 16G
> php_value post_max_size 16G
> php_value memory_limit 512M
> php_value mbstring.func_overload 0
> php_value always_populate_raw_post_data -1
> php_value default_charset 'UTF-8'
> php_value output_buffering 0
> <IfModule mod_env.c>
> SetEnv htaccessWorking true
> </IfModule>
> </IfModule>
>
> php.ini:
> post_max_size = 16G
> upload_max_filesize = 16G
>
> -- C. J. Keist Email: [hidden email]
> Systems Group Manager Solaris 10 OS (SAI)
> Engineering Network Services Phone: 970-491-0630
> College of Engineering, CSU Fax: 970-491-5569
> Ft. Collins, CO 80523-1301
>
> All I want is a chance to prove 'Money can't buy happiness'
>
> _______________________________________________
> User mailing list
> [hidden email]
> http://mailman.owncloud.org/mailman/listinfo/user
_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Upload large files failing

CJ Keist
I'm running on CentOS 7.2.1511 64bit, php is 64bit too:

[root@cloud2 data]# file /usr/bin/php
/usr/bin/php: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.32,
BuildID[sha1]=70ddc88b357d818240da4d4b3db50790c7913822, stripped



On 10/11/16 9:21 AM, Pablo wrote:

> Hello,
>
> What architecture is your OC running on? PHP 32bits does not support more than 2Gb, and there's nothing OC can do to solve that.
>
>
> 11 de octubre de 2016 16:50, "CJ Keist" <[hidden email]> escribió:
>> Hello,
>>
>> Looking for help in getting Owncloud server (8.2.7) to allow larger than 2GB file size via the web
>> gui. I have modified both the .htaccess and the php.ini files to allow for 16G file uploads. When I
>> try to upload a 4.3GB file it shows the upload progress bar moving all the way to the end and then
>> it just pops up a "Internal Server Error" and no file is uploaded. Nothing shows up in the
>> owncloud.log file either.
>>
>> Anything else I'm missing?
>>
>> .htaccess:
>> <IfModule mod_php5.c>
>> php_value upload_max_filesize 16G
>> php_value post_max_size 16G
>> php_value memory_limit 512M
>> php_value mbstring.func_overload 0
>> php_value always_populate_raw_post_data -1
>> php_value default_charset 'UTF-8'
>> php_value output_buffering 0
>> <IfModule mod_env.c>
>> SetEnv htaccessWorking true
>> </IfModule>
>> </IfModule>
>>
>> php.ini:
>> post_max_size = 16G
>> upload_max_filesize = 16G
>>
>> -- C. J. Keist Email: [hidden email]
>> Systems Group Manager Solaris 10 OS (SAI)
>> Engineering Network Services Phone: 970-491-0630
>> College of Engineering, CSU Fax: 970-491-5569
>> Ft. Collins, CO 80523-1301
>>
>> All I want is a chance to prove 'Money can't buy happiness'
>>
>> _______________________________________________
>> User mailing list
>> [hidden email]
>> http://mailman.owncloud.org/mailman/listinfo/user
> _______________________________________________
> User mailing list
> [hidden email]
> http://mailman.owncloud.org/mailman/listinfo/user

--
C. J. Keist                     Email: [hidden email]
Systems Group Manager           Solaris 10 OS (SAI)
Engineering Network Services    Phone: 970-491-0630
College of Engineering, CSU     Fax:   970-491-5569
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Upload large files failing

Chris-3
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Upload large files failing

Stefan Schwarz
In reply to this post by CJ Keist
Since there are some additional error-sources (enough space in
upload_tmp_dir? webserverlimit? browserlimit?), i suggest you look at:

https://doc.owncloud.org/server/9.0/admin_manual/configuration_files/big_file_upload_configuration.html

that might bring up additional ideas...

greetings
Stefan



> I'm running on CentOS 7.2.1511 64bit, php is 64bit too:
>
> [root@cloud2 data]# file /usr/bin/php
> /usr/bin/php: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.6.32,
> BuildID[sha1]=70ddc88b357d818240da4d4b3db50790c7913822, stripped
>
>
>
> On 10/11/16 9:21 AM, Pablo wrote:
>> Hello,
>>
>> What architecture is your OC running on? PHP 32bits does not support
>> more than 2Gb, and there's nothing OC can do to solve that.
>>
>>
>> 11 de octubre de 2016 16:50, "CJ Keist" <[hidden email]>
>> escribió:
>>> Hello,
>>>
>>> Looking for help in getting Owncloud server (8.2.7) to allow larger
>>> than 2GB file size via the web
>>> gui. I have modified both the .htaccess and the php.ini files to
>>> allow for 16G file uploads. When I
>>> try to upload a 4.3GB file it shows the upload progress bar moving
>>> all the way to the end and then
>>> it just pops up a "Internal Server Error" and no file is uploaded.
>>> Nothing shows up in the
>>> owncloud.log file either.
>>>
>>> Anything else I'm missing?
>>>
>>> .htaccess:
>>> <IfModule mod_php5.c>
>>> php_value upload_max_filesize 16G
>>> php_value post_max_size 16G
>>> php_value memory_limit 512M
>>> php_value mbstring.func_overload 0
>>> php_value always_populate_raw_post_data -1
>>> php_value default_charset 'UTF-8'
>>> php_value output_buffering 0
>>> <IfModule mod_env.c>
>>> SetEnv htaccessWorking true
>>> </IfModule>
>>> </IfModule>
>>>
>>> php.ini:
>>> post_max_size = 16G
>>> upload_max_filesize = 16G
>>>
>>> -- C. J. Keist Email: [hidden email]
>>> Systems Group Manager Solaris 10 OS (SAI)
>>> Engineering Network Services Phone: 970-491-0630
>>> College of Engineering, CSU Fax: 970-491-5569
>>> Ft. Collins, CO 80523-1301
>>>
>>> All I want is a chance to prove 'Money can't buy happiness'
>>>
>>> _______________________________________________
>>> User mailing list
>>> [hidden email]
>>> http://mailman.owncloud.org/mailman/listinfo/user
>> _______________________________________________
>> User mailing list
>> [hidden email]
>> http://mailman.owncloud.org/mailman/listinfo/user
>

_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Upload large files failing

CJ Keist
Thank you all for the responses!

Success! It was the the max_input_time and max_execution_time values in
php.ini and I put it in the .user.ini files as well in the owncloud home
directory.



On 10/11/16 9:44 AM, Stefan Schwarz wrote:

> Since there are some additional error-sources (enough space in
> upload_tmp_dir? webserverlimit? browserlimit?), i suggest you look at:
>
> https://doc.owncloud.org/server/9.0/admin_manual/configuration_files/big_file_upload_configuration.html 
>
>
> that might bring up additional ideas...
>
> greetings
> Stefan
>
>
>
>> I'm running on CentOS 7.2.1511 64bit, php is 64bit too:
>>
>> [root@cloud2 data]# file /usr/bin/php
>> /usr/bin/php: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
>> dynamically linked (uses shared libs), for GNU/Linux 2.6.32,
>> BuildID[sha1]=70ddc88b357d818240da4d4b3db50790c7913822, stripped
>>
>>
>>
>> On 10/11/16 9:21 AM, Pablo wrote:
>>> Hello,
>>>
>>> What architecture is your OC running on? PHP 32bits does not support
>>> more than 2Gb, and there's nothing OC can do to solve that.
>>>
>>>
>>> 11 de octubre de 2016 16:50, "CJ Keist" <[hidden email]>
>>> escribió:
>>>> Hello,
>>>>
>>>> Looking for help in getting Owncloud server (8.2.7) to allow larger
>>>> than 2GB file size via the web
>>>> gui. I have modified both the .htaccess and the php.ini files to
>>>> allow for 16G file uploads. When I
>>>> try to upload a 4.3GB file it shows the upload progress bar moving
>>>> all the way to the end and then
>>>> it just pops up a "Internal Server Error" and no file is uploaded.
>>>> Nothing shows up in the
>>>> owncloud.log file either.
>>>>
>>>> Anything else I'm missing?
>>>>
>>>> .htaccess:
>>>> <IfModule mod_php5.c>
>>>> php_value upload_max_filesize 16G
>>>> php_value post_max_size 16G
>>>> php_value memory_limit 512M
>>>> php_value mbstring.func_overload 0
>>>> php_value always_populate_raw_post_data -1
>>>> php_value default_charset 'UTF-8'
>>>> php_value output_buffering 0
>>>> <IfModule mod_env.c>
>>>> SetEnv htaccessWorking true
>>>> </IfModule>
>>>> </IfModule>
>>>>
>>>> php.ini:
>>>> post_max_size = 16G
>>>> upload_max_filesize = 16G
>>>>
>>>> -- C. J. Keist Email: [hidden email]
>>>> Systems Group Manager Solaris 10 OS (SAI)
>>>> Engineering Network Services Phone: 970-491-0630
>>>> College of Engineering, CSU Fax: 970-491-5569
>>>> Ft. Collins, CO 80523-1301
>>>>
>>>> All I want is a chance to prove 'Money can't buy happiness'
>>>>
>>>> _______________________________________________
>>>> User mailing list
>>>> [hidden email]
>>>> http://mailman.owncloud.org/mailman/listinfo/user
>>> _______________________________________________
>>> User mailing list
>>> [hidden email]
>>> http://mailman.owncloud.org/mailman/listinfo/user
>>
>

--
C. J. Keist                     Email: [hidden email]
Systems Group Manager           Solaris 10 OS (SAI)
Engineering Network Services    Phone: 970-491-0630
College of Engineering, CSU     Fax:   970-491-5569
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

_______________________________________________
User mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/user
Loading...