For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Owncloud > Large File Uploads

Large File Uploads

Created by dave. Last edited by dave, 3 years and 37 days ago. Viewed 1,125 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2015-11-04)

Problem

I can't upload large files.

Solution

In /var/www/html/owncloud/.htaccess file, comment out the php directives for upload_max_filesize and post_max_size.

In /etc/php.ini, make the following edits:

upload_max_filesize = 16G
post_max_size = 16G
max_execution_time = 3600
max_input_time = 3600
default_socket_timeout = 3600

Restart httpd.

In your owncloud admin panel, you should now be able to see a 16G max filesize. Note that this may or may not be subject to platform and/or browser limitations as discussed >>here.

Problem

I've upgraded owncloud and now I can't upload large files!

Solution

The RPM upgrader for Owncloud rewrites .htaccess every time it updates the installed software, so you have to manually go back and comment out or remove those two php directive lines I listed above.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt