Nextcloud version (eg, 10.0.2):11.0.1
Operating system and version (eg, Ubuntu 16.04): shared hosting at OVH, prop. Debian Jessie
Apache or nginx version (eg, Apache 2.4.25): Apache/2.2.22
PHP version (eg, 5.6): 7.0
Is this the first time you’ve seen this error and can you replicate it?: can replicate
The issue you are facing:
When uploading file with 50MB the upload is OK.
Uploading 120MB getting enclosed error.
The file is completly uploaded with extension *.part, but not included to nextcloud DB and so not visible.
The output of your Nextcloud log in Admin > Logging:
Error no app in context Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘SELECT fileid
, storage
, path
, parent
, name
, mimetype
, mimepart
, size
, mtime
, storage_mtime
, encrypted
, etag
, permissions
, checksum
FROM oc_filecache
WHERE storage
= ? AND path_hash
= ?’ with params [1, “053d1965112fe49bacc1292c322b4fd0”]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away 2017-02-04T14:09:46+0100
Error PHP PDOStatement::execute(): Error reading result set’s header at /home/domain/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91 2017-02-04T14:09:46+0100
Error PHP PDOStatement::execute(): MySQL server has gone away at /home/domain/nc/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php#91 2017-02-04T14:09:46+0100
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):