Upload of files >128MB result in an "internal server error"

Hi,

I want to upload big files but even with files >128MB the upload fails and brings an “internal server error”.
I changed

output_buffering = Off
memory_limite = 512M
post_max_size = 16G
upload_max_filesize = 16G
max_execution_time = 3600
max_input_time = 3600

in every php.ini on my system.

Nextcloud version (eg, 10.0.2): 12.0.3.3
Operating system and version (eg, Ubuntu 16.04): 16.04

The output of your Nextcloud log in Admin > Logging:
Last entry ist:
Debug cron Finished OCA\DAV\CardDAV\SyncJob job with ID 7 in 1 seconds 2017-11-11T16:10:00+0100

Apache Log is giving my absolutely nothing.

<?php
$CONFIG = array (
  'instanceid' => '007',
  'passwordsalt' => 'secret',
  'secret' => 'victoria',
  'trusted_domains' =>
  array (
    0 => 'nextcloud.big.deal',
  ),
  'datadirectory' => '/opt/nextcloud/data',
  'overwrite.cli.url' => 'https://nextcloud.big.deal',
  'dbtype' => 'mysql',
  'version' => '12.0.3.3',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'admin',
  'dbpassword' => 'password',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 0,
  'updater.release.channel' => 'stable',
);

Nextcloud is running on a dedicated server administrated with Plesk.
I have no idea why this is not working.

Best regards

You normally find infos in the apache error-log. If not increase the logging level via apache-config.

I was looking in the wrong place the whole time. :weary:
Because of your message I searched for change log level and found, that apache puts its logs not only in
/var/log/apache2/ but also in /var/www/vhosts//logs
There I found this log entry

[Sun Nov 12 01:14:27.956467 2017] [fcgid:warn] [pid 4849] [client 90.100.246.246:33694] mod_fcgid: HTTP request length 134224932 (so far) exceeds MaxRequestLen (134217728)

Which brought me to

And there was my solution!
Now it works! :blush:

Thanks for pushing me in the right direction!

Best regards

I was looking in the wrong place the whole time. :weary:
Because of your message I searched for change log level and found, that apache puts its logs not only in
/var/log/apache2/ but also in /var/www/vhosts/domainname/logs
There I found this log entry

[Sun Nov 12 01:14:27.956467 2017] [fcgid:warn] [pid 4849] [client 90.100.246.246:33694] mod_fcgid: HTTP request length 134224932 (so far) exceeds MaxRequestLen (134217728)

Which brought me to

And there was my solution!
Now it works! :blush:

Thanks for pushing me in the right direction!

Best regards