Nextcloud version (eg, 10.0.2): 12
most info you can find here: https://www.shaolinsteyr.at/phpinfo.php
Is this the first time you’ve seen this error?:
Yes, before i uplodat only smaler filse. with the client software i can sync big files well, but from the browser it does not work.
Can you reliably replicate it? (If so, please outline steps):
start browser, go to my nextcloud, try to upload files bigger than 100MB
The issue you are facing:
try upload fils bigger than 100MB leads to internal server error
The output of your Nextcloud log in Admin > Logging:
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘UPDATE oc_file_locks
SET lock
= -1, ttl
= ? WHERE key
= ? AND lock
= 1’ with params [1496741760, “files/b02eb6dbf78b11a0e6a6f7cbe18141d9”]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
/home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 128: Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
/home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php - line 1015: Doctrine\DBAL\DBALException driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'UPDATE `oc_file...', Array)
/home/.sites/29/site1794/web/Owncloud/lib/private/DB/Connection.php - line 213: Doctrine\DBAL\Connection->executeUpdate('UPDATE `oc_file...', Array, Array)
/home/.sites/29/site1794/web/Owncloud/lib/private/Lock/DBLockingProvider.php - line 229: OC\DB\Connection->executeUpdate('UPDATE `oc_file...', Array)
/home/.sites/29/site1794/web/Owncloud/lib/private/Files/Storage/Common.php - line 768: OC\Lock\DBLockingProvider->changeLock('files/b02eb6dbf...', 2)
/home/.sites/29/site1794/web/Owncloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 610: OC\Files\Storage\Common->changeLock('files/Uploads/2...', 2, Object(OC\Lock\DBLockingProvider))
/home/.sites/29/site1794/web/Owncloud/lib/private/Files/View.php - line 1945: OC\Files\Storage\Wrapper\Wrapper->changeLock('files/Uploads/2...', 2, Object(OC\Lock\DBLockingProvider))
/home/.sites/29/site1794/web/Owncloud/apps/dav/lib/Connector/Sabre/Node.php - line 351: OC\Files\View->changeLock('/Uploads/201706...', 2)
/home/.sites/29/site1794/web/Owncloud/apps/dav/lib/Connector/Sabre/File.php - line 171: OCA\DAV\Connector\Sabre\Node->changeLock(2)
/home/.sites/29/site1794/web/Owncloud/apps/dav/lib/Connector/Sabre/Directory.php - line 151: OCA\DAV\Connector\Sabre\File->put(Resource id #485)
/home/.sites/29/site1794/web/Owncloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1095: OCA\DAV\Connector\Sabre\Directory->createFile('20170603_194035...', Resource id #485)
/home/.sites/29/site1794/web/Owncloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 525: Sabre\DAV\Server->createFile('Uploads/2017060...', Resource id #485, NULL)
[internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/home/.sites/29/site1794/web/Owncloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/home/.sites/29/site1794/web/Owncloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PUT', Array)
/home/.sites/29/site1794/web/Owncloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/home/.sites/29/site1794/web/Owncloud/apps/dav/appinfo/v1/webdav.php - line 71: Sabre\DAV\Server->exec()
/home/.sites/29/site1794/web/Owncloud/remote.php - line 162: require_once('/home/.sites/29...')
{main}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
‘instanceid’ => ‘+++’,
‘passwordsalt’ => ‘+++’,
‘secret’ => ‘+++’,
‘trusted_domains’ =>
array (
0 => ‘+++’,
),
‘datadirectory’ => ‘+++’,
‘overwrite.cli.url’ => ‘+++’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘12.0.0.29’,
‘dbname’ => ‘+++’,
‘dbhost’ => ‘+++’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘+++’,
‘dbpassword’ => ‘+++’,
‘logtimezone’ => ‘UTC’,
‘installed’ => true,
‘asset-pipeline.enabled’ => false,
‘loglevel’ => 4,
‘theme’ => ‘’,
‘maintenance’ => false,
‘trashbin_retention_obligation’ => ‘auto’,
‘updater.release.channel’ => ‘stable’,
‘updater.secret’ => ‘$2y$10$SFj26NMTvzcsowBxuPkMI.6sZr09iJVq0sYk5M12bwbKgqoGJb8xq’,
‘mail_from_address’ => ‘+++’,
‘mail_smtpmode’ => ‘php’,
‘mail_domain’ => ‘+++’,
);
The output of your Apache/nginx/system log in /var/log/____
:
[Tue Jun 06 10:19:36 2017] [error] [client 86.56.135.25] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91
[Tue Jun 06 10:19:36 2017] [error] [client 86.56.135.25] #0 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(91): PDOStatement->execute(NULL)
[Tue Jun 06 10:19:36 2017] [error] [client 86.56.135.25] #1 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1006): Doctrine\DBAL\Driver\PDOStatement->execute()
[Tue Jun 06 10:19:36 2017] [error] [client 86.56.135.25] #2 /home/.sites/29/site1794/web/Owncloud/lib/private/DB/Connection.php(213): Doctrine\DBAL\Connection->executeUpdate(‘UPDATE oc_file...', Array, Array) [Tue Jun 06 10:19:36 2017] [error] [client 86.56.135.25] #3 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(208): OC\\DB\\Connection->executeUpdate('UPDATE
oc_file…’, Array, Array)
[Tue Jun 06 10:19:36 2017] [error] [client 86.56.135.25] #4 /home/.sites/29/site1794/web/Owncloud/lib/private/DB/QueryBuilder/QueryBuilder.php(213): Doctrine\DBAL\Query\QueryBuilder->execute()
[Tue Jun 06 10:19:36 2017] [error] [client 86.56.135.25] #5 /home/.sites/29/site1794/web/Owncloud/lib/private/Lock/D in /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 116
[Tue Jun 06 10:32:06 2017] [error] [client 86.56.135.25] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91
[Tue Jun 06 10:32:06 2017] [error] [client 86.56.135.25] #0 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(91): PDOStatement->execute(NULL)
[Tue Jun 06 10:32:06 2017] [error] [client 86.56.135.25] #1 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1006): Doctrine\DBAL\Driver\PDOStatement->execute()
[Tue Jun 06 10:32:06 2017] [error] [client 86.56.135.25] #2 /home/.sites/29/site1794/web/Owncloud/lib/private/DB/Connection.php(213): Doctrine\DBAL\Connection->executeUpdate(‘UPDATE oc_file...', Array, Array) [Tue Jun 06 10:32:06 2017] [error] [client 86.56.135.25] #3 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(208): OC\\DB\\Connection->executeUpdate('UPDATE
oc_file…’, Array, Array)
[Tue Jun 06 10:32:06 2017] [error] [client 86.56.135.25] #4 /home/.sites/29/site1794/web/Owncloud/lib/private/DB/QueryBuilder/QueryBuilder.php(213): Doctrine\DBAL\Query\QueryBuilder->execute()
[Tue Jun 06 10:32:06 2017] [error] [client 86.56.135.25] #5 /home/.sites/29/site1794/web/Owncloud/lib/private/Lock/D in /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 116
[Tue Jun 06 10:36:00 2017] [error] [client 86.56.135.25] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91
[Tue Jun 06 10:36:00 2017] [error] [client 86.56.135.25] #0 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(91): PDOStatement->execute(NULL)
[Tue Jun 06 10:36:00 2017] [error] [client 86.56.135.25] #1 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1006): Doctrine\DBAL\Driver\PDOStatement->execute()
[Tue Jun 06 10:36:00 2017] [error] [client 86.56.135.25] #2 /home/.sites/29/site1794/web/Owncloud/lib/private/DB/Connection.php(213): Doctrine\DBAL\Connection->executeUpdate(‘UPDATE oc_file...', Array, Array) [Tue Jun 06 10:36:00 2017] [error] [client 86.56.135.25] #3 /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(208): OC\\DB\\Connection->executeUpdate('UPDATE
oc_file…’, Array, Array)
[Tue Jun 06 10:36:00 2017] [error] [client 86.56.135.25] #4 /home/.sites/29/site1794/web/Owncloud/lib/private/DB/QueryBuilder/QueryBuilder.php(213): Doctrine\DBAL\Query\QueryBuilder->execute()
[Tue Jun 06 10:36:00 2017] [error] [client 86.56.135.25] #5 /home/.sites/29/site1794/web/Owncloud/lib/private/Lock/D in /home/.sites/29/site1794/web/Owncloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 116
[Tue Jun 06 10:36:07 2017] [crit] [client 86.56.135.25] (13)Permission denied: /home/.sites/29/site1794/web/Owncloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Jun 06 10:36:12 2017] [crit] [client 86.56.135.25] (13)Permission denied: /home/.sites/29/site1794/web/Owncloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Jun 06 10:36:19 2017] [crit] [client 86.56.135.25] (13)Permission denied: /home/.sites/29/site1794/web/Owncloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Jun 06 10:37:30 2017] [crit] [client 86.56.135.25] (13)Permission denied: /home/.sites/29/site1794/web/Owncloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Tue Jun 06 10:37:34 2017] [crit] [client 86.56.135.25] (13)Permission denied: /home/.sites/29/site1794/web/Owncloud/data/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Remember, this information may be requested if it isn’t supplied; for fastest response please provide as much as you can Feel free to use a pastebin service, otherwise log files can be indented with 4 spaces on each line to present them in a friendlier way on the forum.