Hallo,
ich betreibe eine lokale Nextcloud 11.2 auf einem Ubuntu 14.04 LTS
PHP: 5.6.30
mysql: 5.5.54
Beim löschen einer Datei findet sich folgender Eintrag in der Log (gelöscht wird die Datei) :
Error no app in context Doctrine\DBAL\Exception\SyntaxErrorException: An exception occurred while executing ‘DELETE FROM
oc_reader_bookmarks
b WHERE b.file_id = ?’ with params [16649]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘b WHERE b.file_id = ‘16649’’ at line 1
/var/www/html/cloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 128: Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException)) /var/www/html/cloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php - line 996: Doctrine\DBAL\DBALException driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'DELETE FROM `oc...', Array) /var/www/html/cloud/lib/private/DB/Connection.php - line 215: Doctrine\DBAL\Connection->executeUpdate('DELETE FROM `oc...', Array, Array) /var/www/html/cloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php - line 208: OC\DB\Connection->executeUpdate('DELETE FROM `*P...', Array, Array) /var/www/html/cloud/lib/private/DB/QueryBuilder/QueryBuilder.php - line 177: Doctrine\DBAL\Query\QueryBuilder->execute() /var/www/html/cloud/apps/files_reader/lib/Hooks.php - line 36: OC\DB\QueryBuilder\QueryBuilder->execute() /var/www/html/cloud/apps/files_reader/lib/Hooks.php - line 24: OCA\Files_Reader\Hooks deleteFile(Object(OC\DB\Connection), 16649) [internal function] OCA\Files_Reader\Hooks OCA\Files_Reader\{closure}(Object(OC\Files\Node\File)) /var/www/html/cloud/lib/private/Hooks/EmitterTrait.php - line 99: call_user_func_array(Object(Closure), Array) /var/www/html/cloud/lib/private/Hooks/PublicEmitter.php - line 33: OC\Hooks\BasicEmitter->emit('\\OC\\Files', 'preDelete', Array) /var/www/html/cloud/lib/private/Files/Node/Root.php - line 134: OC\Hooks\PublicEmitter->emit('\\OC\\Files', 'preDelete', Array) /var/www/html/cloud/lib/private/Files/Node/HookConnector.php - line 100: OC\Files\Node\Root->emit('\\OC\\Files', 'preDelete', Array) [internal function] OC\Files\Node\HookConnector->delete(Array) /var/www/html/cloud/lib/private/legacy/hook.php - line 106: call_user_func(Array, Array) /var/www/html/cloud/lib/private/Files/View.php - line 1237: OC_Hook emit('OC_Filesystem', 'delete', Array) /var/www/html/cloud/lib/private/Files/View.php - line 1113: OC\Files\View->runHooks(Array, '/S7/20170328_09...') /var/www/html/cloud/lib/private/Files/View.php - line 695: OC\Files\View->basicOperation('unlink', '/S7/20170328_09...', Array) /var/www/html/cloud/apps/dav/lib/Connector/Sabre/File.php - line 334: OC\Files\View->unlink('/S7/20170328_09...') /var/www/html/cloud/3rdparty/sabre/dav/lib/DAV/Tree.php - line 179: OCA\DAV\Connector\Sabre\File->delete() /var/www/html/cloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 287: Sabre\DAV\Tree->delete('S7/20170328_094...') [internal function] Sabre\DAV\CorePlugin->httpDelete(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response)) /var/www/html/cloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array) /var/www/html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method DELETE', Array) /var/www/html/cloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response)) /var/www/html/cloud/apps/dav/appinfo/v1/webdav.php - line 60: Sabre\DAV\Server->exec() /var/www/html/cloud/remote.php - line 165: require_once('/var/www/html/c...') {main}
Was kann ich tun um das zu beheben?