OwnCloud: 513MB max file size

Status
Not open for further replies.

oguruma

Patron
Joined
Jan 2, 2016
Messages
226
I set up owncloud using the DrKK lighttpd install. It works fine, with the exception that I cannot upload files greater than 513MB. I am able to upload smaller files successfully. For any files over that, I receive "Error Uploading file .... exceeds upload limit 513MB.

I believe the problem has something to do with a field under Admin > File Handling > Maximum upload size 513MB. The problem is that I also see "missing permissions to edit from here".

My php.ini looks as follows.

post_max_size = 9000M
upload_max_filesize = 8999M
upload_tmp_dir = /tmp
cgi.fix_pathinfo = 1
memory_limit = 32M
max_input_time 3600
max_execution_time 3600



Any ideas?

Thanks in advance
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
change the permissions to edit that file.
chmod u+w /usr/local/www/owncloud/.htaccess
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949

oguruma

Patron
Joined
Jan 2, 2016
Messages
226
Hmmm, still no dice. I also edit the lines below, but still the same experience...

php_value upload_max_filesize 10G (was 513M)
php_value post_max_size 10G (was 513M)
php_value memory_limit 9999M (was 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
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hmmm, still no dice. I also edit the lines below, but still the same experience...

php_value upload_max_filesize 10G (was 513M)
php_value post_max_size 10G (was 513M)
php_value memory_limit 9999M (was 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
I'm not sure how that tutorial does it setup. .htaccess is for apache, but different setups may use .user.ini or php.ini. And may need the size increased for the webserver config too.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630

oguruma

Patron
Joined
Jan 2, 2016
Messages
226
So far, in the owncloud/.htaccess file, I changed the maximum upload size to 16G, and did away with the php.ini. Still no dice. Then I went added back the lines to the php.ini and hashed out the lines in the owncloud/.htaccess file. Lack of dice prevails. Maybe what I don't see is any lines that pertain to permissions to change the "File Handling" settings.
 
Status
Not open for further replies.
Top