Increase file size in admin panel

Nextcloud version (eg, 10.0.2): 11.0.1
Operating system and version (eg, Ubuntu 16.04): Debian 8 (Jessie)
Apache or nginx version (eg, Apache 2.4.25): nginx.1.6.2
PHP version (eg, 5.6): 5.6.27
Is this the first time you’ve seen this error and can you replicate it?: yes

The issue you are facing: I cannot increase manageable file size to bigger value than 511 MB. The field is greyed out. In previous version it could be resized within the limit it was defined in php.ini.

The output of your Nextcloud log in Admin > Logging: no output

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'octyp0sd63nm',
  'passwordsalt' => '***censored***',
  'secret' => '***censored***',
  'trusted_domains' =>
  array (
    0 => 'sub.domain.com',
  ),
  'datadirectory' => '/media/usbhdd/nextcloud',
  'overwrite.cli.url' => 'https://sub.domain.com',
  'dbtype' => 'mysql',
  'version' => '11.0.1.2',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_***censored***',
  'dbpassword' => '***censored***',
  'logtimezone' => 'UTC',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APC',
  'maintenance' => false,
  'loglevel' => 2,
  'updater.secret' => '***censored***',
  'theme' => '',
);

The output of your Apache/nginx/system log in /var/log/nginx/error.log: empty file


Kind regards
//neph

Try to follow these instructions,
I have the same issue as yours before, and I was able to set a bigger limit after following these instructions.
https://doc.owncloud.org/server/7.0/admin_manual/configuration/big_file_upload_configuration.html

Check both,

  • php.ini <- your server
  • .htaccess <- nextcloud root folder

Those two files are needed to change the upload size.
If you use an advance configuration for your server please refer to the documentation.
Cheers!

I did that already. The reason why I can’t manage it within the web interface was the hardening of the system. When I set strong directory permissions as recommended in the documentation, then this field will be greyed out. This is not a bug, it’s a feature. :smiley:

Kind regards
//neph