stv
By:
stv

How can I increase the max upload file size on a one-click Owncloud droplet?

July 27, 2015 2.2k views
One-Click Install Apps Ubuntu

I've checked the loaded php.ini and increased upload and post sizes, restarted apache2 but Owncloud still reports 512M max upload size.

2 comments
1 Answer

This is the answer:

From the admin_manual:
https://doc.owncloud.org/server/7.0/adminmanual/configuration/bigfileuploadconfiguration.html

OwnCloud comes with its own owncloud/.htaccess file. Set the following two parameters inside this .htaccess file:

php_value upload_max_filesize = 16G
php_value post_max_size = 16G

Change this values in the .htaccess and restart apache2 again.

mentionable:
In the php.ini you should also increase:

 max_file_uploads 
 max_execution_time 


Have another answer? Share your knowledge.