{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/20276","labels_url":"https://api.github.com/repos/owncloud/core/issues/20276/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/20276/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/20276/events","html_url":"https://github.com/owncloud/core/issues/20276","id":114919638,"number":20276,"title":"Internal server when downloading shared files","user":{"login":"alexara","id":13819719,"avatar_url":"https://avatars.githubusercontent.com/u/13819719?v=3","gravatar_id":"","url":"https://api.github.com/users/alexara","html_url":"https://github.com/alexara","followers_url":"https://api.github.com/users/alexara/followers","following_url":"https://api.github.com/users/alexara/following{/other_user}","gists_url":"https://api.github.com/users/alexara/gists{/gist_id}","starred_url":"https://api.github.com/users/alexara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexara/subscriptions","organizations_url":"https://api.github.com/users/alexara/orgs","repos_url":"https://api.github.com/users/alexara/repos","events_url":"https://api.github.com/users/alexara/events{/privacy}","received_events_url":"https://api.github.com/users/alexara/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-03T21:56:35Z","updated_at":"2015-11-04T07:37:05Z","closed_at":"2015-11-04T07:37:05Z","body":"## Steps to reproduce\r\nShare a folder.\r\nOpen the shared link and try to download the files.\r\n\r\n## Expected behaviour\r\nNo error log should exist.\r\nActual behaviour.\r\n\r\n## Additional information\r\nEverything else works fine. Files can be downloaded without flaw when they are accessed by a non-shared link.\r\n\r\n## Server configuration\r\n**Operating system:** Raspbian GNU/Linux 8.0 (jessie)\r\n**Web server:** Nginx 1.8.0\r\n**Database:** MySQL 14.14 Distrib 5.5.44, for debian-linux-gnu (armv7l) using readline 6.3\r\n**PHP version:** PHP 5.6.14-0+deb8u1 \r\n**ownCloud version:** 8.2.0\r\n**Updated from an older ownCloud or fresh install:** 8.1.3 -> 8.2.0\r\n**List of activated apps:** default +calendar +contacts +filelocking\r\n**Are you using external storage, if yes which one:** no\r\n**Are you using encryption:** no\r\n**Are you using an external user-backend, if yes which one:** WebDav\r\n\r\n### config.php\r\n```\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => '',\r\n  'passwordsalt' => '',\r\n  'secret' => '',\r\n  'trusted_domains' => \r\n  array (\r\n    0 => 'cloud.domain.tld',\r\n  ),\r\n  'filelocking.enabled' => 'true',\r\n  'memcache.local' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'memcache.distributed' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'memcache.locking' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'redis' => \r\n  array (\r\n    'host' => 'localhost',\r\n    'port' => 6379,\r\n    'timeout' => 0,\r\n  ),\r\n  'cache_path' => '',\r\n  'datadirectory' => '/var/www/domain.tld/htdocs/owncloud/data',\r\n  'overwrite.cli.url' => 'https://cloud.domain.tld/owncloud',\r\n  'dbtype' => 'mysql',\r\n  'version' => '8.2.0.12',\r\n  'dbname' => '',\r\n  'dbhost' => '',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => '',\r\n  'dbpassword' => '',\r\n  'installed' => true,\r\n  'forcessl' => true,\r\n  'forceSSLforSubdomains' => true,\r\n  'loglevel' => 2,\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n);\r\n```\r\n## Client configuration\r\n**Browser:** Firefox 41.0.2\r\n**Operating system:** (X)Ubuntu 15.10\r\n\r\n## Logs\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\n{\"reqId\":\"BTn3plmQSGKPf1aJvuFN\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"hook\",\"message\":\"error while running hook (OCA\\\\Activity\\\\FilesHooksStatic::fileCreate): An exception occurred while executing 'INSERT INTO `oc_activity` (`app`, `subject`, `subjectparams`, `message`, `messageparams`, `file`, `link`, `user`, `affecteduser`, `timestamp`, `priority`, `type`, `object_type`, `object_id`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\"files\\\", \\\"created_self\\\", \\\"[\\\\\\\"\\\\\\\\\\\\\\/Documents\\\\\\\\\\\\\\/ebooks\\\\\\\"]\\\", \\\"\\\", \\\"[]\\\", \\\"\\\\\\/Documents\\\\\\/ebooks\\\", \\\"https:\\\\\\/\\\\\\/cloud.domain.tld\\\\\\/owncloud\\\\\\/index.php\\\\\\/apps\\\\\\/files?dir=%2FDocuments\\\", \\\"alex\\\", \\\"alex\\\", 1446585188, 30, \\\"file_created\\\", \\\"files\\\", 323]:\\n\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'field list'\",\"level\":3,\"time\":\"2015-11-03T21:13:08+00:00\"}\r\n{\"reqId\":\"yaRs807mvBDhytig7kbn\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"hook\",\"message\":\"error while running hook (OCA\\\\Activity\\\\FilesHooksStatic::fileCreate): An exception occurred while executing 'INSERT INTO `oc_activity` (`app`, `subject`, `subjectparams`, `message`, `messageparams`, `file`, `link`, `user`, `affecteduser`, `timestamp`, `priority`, `type`, `object_type`, `object_id`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\"files\\\", \\\"created_self\\\", \\\"[\\\\\\\"\\\\\\\\\\\\\\/Documents\\\\\\\\\\\\\\/ebooks\\\\\\\\\\\\\\/file1.pdf\\\\\\\"]\\\", \\\"\\\", \\\"[]\\\", \\\"\\\\\\/Documents\\\\\\/ebooks\\\\\\/file1.pdf\\\", \\\"https:\\\\\\/\\\\\\/cloud.domain.tld\\\\\\/owncloud\\\\\\/index.php\\\\\\/apps\\\\\\/files?dir=%2FDocuments%2Febooks\\\", \\\"alex\\\", \\\"alex\\\", 1446585240, 30, \\\"file_created\\\", \\\"files\\\", 324]:\\n\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'field list'\",\"level\":3,\"time\":\"2015-11-03T21:14:00+00:00\"}\r\n{\"reqId\":\"Ykm8OJwRdRBwaSQfOS18\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"hook\",\"message\":\"error while running hook (OCA\\\\Activity\\\\FilesHooksStatic::fileCreate): An exception occurred while executing 'INSERT INTO `oc_activity` (`app`, `subject`, `subjectparams`, `message`, `messageparams`, `file`, `link`, `user`, `affecteduser`, `timestamp`, `priority`, `type`, `object_type`, `object_id`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\"files\\\", \\\"created_self\\\", \\\"[\\\\\\\"\\\\\\\\\\\\\\/Documents\\\\\\\\\\\\\\/ebooks\\\\\\\\\\\\\\/file2.pdf\\\\\\\"]\\\", \\\"\\\", \\\"[]\\\", \\\"\\\\\\/Documents\\\\\\/ebooks\\\\\\/file2.pdf\\\", \\\"https:\\\\\\/\\\\\\/cloud.domain.tld\\\\\\/owncloud\\\\\\/index.php\\\\\\/apps\\\\\\/files?dir=%2FDocuments%2Febooks\\\", \\\"alex\\\", \\\"alex\\\", 1446585243, 30, \\\"file_created\\\", \\\"files\\\", 325]:\\n\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'field list'\",\"level\":3,\"time\":\"2015-11-03T21:14:03+00:00\"}\r\n{\"reqId\":\"BPVZc6ton2XK+puBILW9\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"hook\",\"message\":\"error while running hook (OCA\\\\Activity\\\\FilesHooksStatic::fileCreate): An exception occurred while executing 'INSERT INTO `oc_activity` (`app`, `subject`, `subjectparams`, `message`, `messageparams`, `file`, `link`, `user`, `affecteduser`, `timestamp`, `priority`, `type`, `object_type`, `object_id`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\"files\\\", \\\"created_self\\\", \\\"[\\\\\\\"\\\\\\\\\\\\\\/Documents\\\\\\\\\\\\\\/ebooks\\\\\\\\\\\\\\/file3.pdf\\\\\\\"]\\\", \\\"\\\", \\\"[]\\\", \\\"\\\\\\/Documents\\\\\\/ebooks\\\\\\/file3.pdf\\\", \\\"https:\\\\\\/\\\\\\/cloud.domain.tld\\\\\\/owncloud\\\\\\/index.php\\\\\\/apps\\\\\\/files?dir=%2FDocuments%2Febooks\\\", \\\"alex\\\", \\\"alex\\\", 1446585246, 30, \\\"file_created\\\", \\\"files\\\", 326]:\\n\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'field list'\",\"level\":3,\"time\":\"2015-11-03T21:14:06+00:00\"}\r\n{\"reqId\":\"xEhYbk+lPfjk5Ahb5AOH\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"hook\",\"message\":\"error while running hook (OCA\\\\Activity\\\\FilesHooksStatic::fileCreate): An exception occurred while executing 'INSERT INTO `oc_activity` (`app`, `subject`, `subjectparams`, `message`, `messageparams`, `file`, `link`, `user`, `affecteduser`, `timestamp`, `priority`, `type`, `object_type`, `object_id`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\"files\\\", \\\"created_self\\\", \\\"[\\\\\\\"\\\\\\\\\\\\\\/Documents\\\\\\\\\\\\\\/ebooks\\\\\\\\\\\\\\/file4.pdf\\\\\\\"]\\\", \\\"\\\", \\\"[]\\\", \\\"\\\\\\/Documents\\\\\\/ebooks\\\\\\/file4.pdf\\\", \\\"https:\\\\\\/\\\\\\/cloud.domain.tld\\\\\\/owncloud\\\\\\/index.php\\\\\\/apps\\\\\\/files?dir=%2FDocuments%2Febooks\\\", \\\"alex\\\", \\\"alex\\\", 1446585249, 30, \\\"file_created\\\", \\\"files\\\", 327]:\\n\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'field list'\",\"level\":3,\"time\":\"2015-11-03T21:14:09+00:00\"}\r\n{\"reqId\":\"t8YrGsrgf7bYMnBqGNw3\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"index\",\"message\":\"Exception: {\\\"Exception\\\":\\\"Doctrine\\\\\\\\DBAL\\\\\\\\Exception\\\\\\\\InvalidFieldNameException\\\",\\\"Message\\\":\\\"An exception occurred while executing 'SELECT *  FROM `oc_activity`  WHERE `affecteduser` = ?  AND `type` IN (?,?,?,?,?,?,?) AND `object_type` = ? AND `object_id` = ? ORDER BY `timestamp` DESC LIMIT 30 OFFSET 0' with params [\\\\\\\"alex\\\\\\\", \\\\\\\"file_created\\\\\\\", \\\\\\\"file_changed\\\\\\\", \\\\\\\"file_deleted\\\\\\\", \\\\\\\"file_restored\\\\\\\", \\\\\\\"shared\\\\\\\", \\\\\\\"remote_share\\\\\\\", \\\\\\\"public_links\\\\\\\", \\\\\\\"files\\\\\\\", 323]:\\\\n\\\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'where clause'\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/DBALException.php(116): Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOException))\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Statement.php(172): Doctrine\\\\\\\\DBAL\\\\\\\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOMySql\\\\\\\\Driver), Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOException), 'SELECT *  FROM ...', Array)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/lib\\\\\\/data.php(253): Doctrine\\\\\\\\DBAL\\\\\\\\Statement->execute(Array)\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/lib\\\\\\/data.php(233): OCA\\\\\\\\Activity\\\\\\\\Data->getActivities(30, 0, ' AND `type` IN ...', Array, Object(OCA\\\\\\\\Activity\\\\\\\\GroupHelper))\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/controller\\\\\\/activities.php(147): OCA\\\\\\\\Activity\\\\\\\\Data->read(Object(OCA\\\\\\\\Activity\\\\\\\\GroupHelper), Object(OCA\\\\\\\\Activity\\\\\\\\UserSettings), 0, 30, 'filter', '', 'files', 323)\\\\n#5 [internal function]: OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities->fetch(1, 'filter', 'files', 323)\\\\n#6 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/dispatcher.php(159): call_user_func_array(Array, Array)\\\\n#7 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/dispatcher.php(89): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Dispatcher->executeController(Object(OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities), 'fetch')\\\\n#8 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/app.php(108): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Dispatcher->dispatch(Object(OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities), 'fetch')\\\\n#9 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/routing\\\\\\/routeactionhandler.php(45): OC\\\\\\\\AppFramework\\\\\\\\App::main('ActivitiesContr...', 'fetch', Object(OC\\\\\\\\AppFramework\\\\\\\\DependencyInjection\\\\\\\\DIContainer), Array)\\\\n#10 [internal function]: OC\\\\\\\\AppFramework\\\\\\\\routing\\\\\\\\RouteActionHandler->__invoke(Array)\\\\n#11 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/route\\\\\\/router.php(282): call_user_func(Object(OC\\\\\\\\AppFramework\\\\\\\\routing\\\\\\\\RouteActionHandler), Array)\\\\n#12 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/base.php(831): OC\\\\\\\\Route\\\\\\\\Router->match('\\\\\\/apps\\\\\\/activity\\\\\\/...')\\\\n#13 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/index.php(39): OC::handleRequest()\\\\n#14 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Driver\\\\\\/AbstractMySQLDriver.php\\\",\\\"Line\\\":71}\",\"level\":3,\"time\":\"2015-11-03T21:14:38+00:00\"}\r\n{\"reqId\":\"1uqBpjvEALoyL67q0lze\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"index\",\"message\":\"Exception: {\\\"Exception\\\":\\\"Doctrine\\\\\\\\DBAL\\\\\\\\Exception\\\\\\\\InvalidFieldNameException\\\",\\\"Message\\\":\\\"An exception occurred while executing 'SELECT *  FROM `oc_activity`  WHERE `affecteduser` = ?  AND `type` IN (?,?,?,?,?,?,?) AND `object_type` = ? AND `object_id` = ? ORDER BY `timestamp` DESC LIMIT 30 OFFSET 0' with params [\\\\\\\"alex\\\\\\\", \\\\\\\"file_created\\\\\\\", \\\\\\\"file_changed\\\\\\\", \\\\\\\"file_deleted\\\\\\\", \\\\\\\"file_restored\\\\\\\", \\\\\\\"shared\\\\\\\", \\\\\\\"remote_share\\\\\\\", \\\\\\\"public_links\\\\\\\", \\\\\\\"files\\\\\\\", 323]:\\\\n\\\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'where clause'\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/DBALException.php(116): Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOException))\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Statement.php(172): Doctrine\\\\\\\\DBAL\\\\\\\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOMySql\\\\\\\\Driver), Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOException), 'SELECT *  FROM ...', Array)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/lib\\\\\\/data.php(253): Doctrine\\\\\\\\DBAL\\\\\\\\Statement->execute(Array)\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/lib\\\\\\/data.php(233): OCA\\\\\\\\Activity\\\\\\\\Data->getActivities(30, 0, ' AND `type` IN ...', Array, Object(OCA\\\\\\\\Activity\\\\\\\\GroupHelper))\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/controller\\\\\\/activities.php(147): OCA\\\\\\\\Activity\\\\\\\\Data->read(Object(OCA\\\\\\\\Activity\\\\\\\\GroupHelper), Object(OCA\\\\\\\\Activity\\\\\\\\UserSettings), 0, 30, 'filter', '', 'files', 323)\\\\n#5 [internal function]: OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities->fetch(1, 'filter', 'files', 323)\\\\n#6 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/dispatcher.php(159): call_user_func_array(Array, Array)\\\\n#7 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/dispatcher.php(89): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Dispatcher->executeController(Object(OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities), 'fetch')\\\\n#8 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/app.php(108): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Dispatcher->dispatch(Object(OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities), 'fetch')\\\\n#9 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/routing\\\\\\/routeactionhandler.php(45): OC\\\\\\\\AppFramework\\\\\\\\App::main('ActivitiesContr...', 'fetch', Object(OC\\\\\\\\AppFramework\\\\\\\\DependencyInjection\\\\\\\\DIContainer), Array)\\\\n#10 [internal function]: OC\\\\\\\\AppFramework\\\\\\\\routing\\\\\\\\RouteActionHandler->__invoke(Array)\\\\n#11 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/route\\\\\\/router.php(282): call_user_func(Object(OC\\\\\\\\AppFramework\\\\\\\\routing\\\\\\\\RouteActionHandler), Array)\\\\n#12 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/base.php(831): OC\\\\\\\\Route\\\\\\\\Router->match('\\\\\\/apps\\\\\\/activity\\\\\\/...')\\\\n#13 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/index.php(39): OC::handleRequest()\\\\n#14 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Driver\\\\\\/AbstractMySQLDriver.php\\\",\\\"Line\\\":71}\",\"level\":3,\"time\":\"2015-11-03T21:14:45+00:00\"}\r\n{\"reqId\":\"z\\/HGpdT9GcqFPEzpz7\\/3\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"index\",\"message\":\"Exception: {\\\"Exception\\\":\\\"Doctrine\\\\\\\\DBAL\\\\\\\\Exception\\\\\\\\InvalidFieldNameException\\\",\\\"Message\\\":\\\"An exception occurred while executing 'SELECT *  FROM `oc_activity`  WHERE `affecteduser` = ?  AND `type` IN (?,?,?,?,?,?,?) AND `object_type` = ? AND `object_id` = ? ORDER BY `timestamp` DESC LIMIT 30 OFFSET 0' with params [\\\\\\\"alex\\\\\\\", \\\\\\\"file_created\\\\\\\", \\\\\\\"file_changed\\\\\\\", \\\\\\\"file_deleted\\\\\\\", \\\\\\\"file_restored\\\\\\\", \\\\\\\"shared\\\\\\\", \\\\\\\"remote_share\\\\\\\", \\\\\\\"public_links\\\\\\\", \\\\\\\"files\\\\\\\", 323]:\\\\n\\\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'where clause'\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/DBALException.php(116): Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOException))\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Statement.php(172): Doctrine\\\\\\\\DBAL\\\\\\\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOMySql\\\\\\\\Driver), Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOException), 'SELECT *  FROM ...', Array)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/lib\\\\\\/data.php(253): Doctrine\\\\\\\\DBAL\\\\\\\\Statement->execute(Array)\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/lib\\\\\\/data.php(233): OCA\\\\\\\\Activity\\\\\\\\Data->getActivities(30, 0, ' AND `type` IN ...', Array, Object(OCA\\\\\\\\Activity\\\\\\\\GroupHelper))\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/controller\\\\\\/activities.php(147): OCA\\\\\\\\Activity\\\\\\\\Data->read(Object(OCA\\\\\\\\Activity\\\\\\\\GroupHelper), Object(OCA\\\\\\\\Activity\\\\\\\\UserSettings), 0, 30, 'filter', '', 'files', 323)\\\\n#5 [internal function]: OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities->fetch(1, 'filter', 'files', 323)\\\\n#6 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/dispatcher.php(159): call_user_func_array(Array, Array)\\\\n#7 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/dispatcher.php(89): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Dispatcher->executeController(Object(OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities), 'fetch')\\\\n#8 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/app.php(108): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Dispatcher->dispatch(Object(OCA\\\\\\\\Activity\\\\\\\\Controller\\\\\\\\Activities), 'fetch')\\\\n#9 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/routing\\\\\\/routeactionhandler.php(45): OC\\\\\\\\AppFramework\\\\\\\\App::main('ActivitiesContr...', 'fetch', Object(OC\\\\\\\\AppFramework\\\\\\\\DependencyInjection\\\\\\\\DIContainer), Array)\\\\n#10 [internal function]: OC\\\\\\\\AppFramework\\\\\\\\routing\\\\\\\\RouteActionHandler->__invoke(Array)\\\\n#11 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/route\\\\\\/router.php(282): call_user_func(Object(OC\\\\\\\\AppFramework\\\\\\\\routing\\\\\\\\RouteActionHandler), Array)\\\\n#12 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/base.php(831): OC\\\\\\\\Route\\\\\\\\Router->match('\\\\\\/apps\\\\\\/activity\\\\\\/...')\\\\n#13 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/index.php(39): OC::handleRequest()\\\\n#14 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Driver\\\\\\/AbstractMySQLDriver.php\\\",\\\"Line\\\":71}\",\"level\":3,\"time\":\"2015-11-03T21:14:45+00:00\"}\r\n{\"reqId\":\"UWyD2M3qsxAJdxThWGIV\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"hook\",\"message\":\"error while running hook (OCA\\\\Activity\\\\FilesHooksStatic::share): An exception occurred while executing 'INSERT INTO `oc_activity` (`app`, `subject`, `subjectparams`, `message`, `messageparams`, `file`, `link`, `user`, `affecteduser`, `timestamp`, `priority`, `type`, `object_type`, `object_id`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\"files_sharing\\\", \\\"shared_link_self\\\", \\\"[\\\\\\\"\\\\\\\\\\\\\\/Documents\\\\\\\\\\\\\\/ebooks\\\\\\\"]\\\", \\\"\\\", \\\"[]\\\", \\\"\\\\\\/Documents\\\\\\/ebooks\\\", \\\"https:\\\\\\/\\\\\\/cloud.domain.tld\\\\\\/owncloud\\\\\\/index.php\\\\\\/apps\\\\\\/files?dir=%2FDocuments%2Febooks\\\", \\\"alex\\\", \\\"alex\\\", 1446585289, 30, \\\"shared\\\", \\\"files\\\", 323]:\\n\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'field list'\",\"level\":3,\"time\":\"2015-11-03T21:14:49+00:00\"}\r\n{\"reqId\":\"axSsRmGEB4dJ48ftTE5x\",\"remoteAddr\":\"XX.XXX.XX.XXX\",\"app\":\"index\",\"message\":\"Exception: {\\\"Exception\\\":\\\"Doctrine\\\\\\\\DBAL\\\\\\\\Exception\\\\\\\\InvalidFieldNameException\\\",\\\"Message\\\":\\\"An exception occurred while executing 'INSERT INTO `oc_activity` (`app`, `subject`, `subjectparams`, `message`, `messageparams`, `file`, `link`, `user`, `affecteduser`, `timestamp`, `priority`, `type`, `object_type`, `object_id`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\\\\\"files_sharing\\\\\\\", \\\\\\\"public_shared_folder_downloaded\\\\\\\", \\\\\\\"[\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/Documents\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/ebooks\\\\\\\\\\\\\\\"]\\\\\\\", \\\\\\\"\\\\\\\", \\\\\\\"[]\\\\\\\", \\\\\\\"\\\\\\\\\\\\\\/Documents\\\\\\\\\\\\\\/ebooks\\\\\\\", \\\\\\\"\\\\\\\", null, \\\\\\\"alex\\\\\\\", 1446585299, 30, \\\\\\\"public_links\\\\\\\", \\\\\\\"\\\\\\\", 0]:\\\\n\\\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'field list'\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/DBALException.php(116): Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOException))\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Connection.php(996): Doctrine\\\\\\\\DBAL\\\\\\\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOMySql\\\\\\\\Driver), Object(Doctrine\\\\\\\\DBAL\\\\\\\\Driver\\\\\\\\PDOException), 'INSERT INTO `oc...', Array)\\\\n#2 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/db\\\\\\/connection.php(203): Doctrine\\\\\\\\DBAL\\\\\\\\Connection->executeUpdate('INSERT INTO `oc...', Array, Array)\\\\n#3 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Query\\\\\\/QueryBuilder.php(208): OC\\\\\\\\DB\\\\\\\\Connection->executeUpdate('INSERT INTO `*P...', Array, Array)\\\\n#4 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/db\\\\\\/querybuilder\\\\\\/querybuilder.php(121): Doctrine\\\\\\\\DBAL\\\\\\\\Query\\\\\\\\QueryBuilder->execute()\\\\n#5 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/lib\\\\\\/data.php(126): OC\\\\\\\\DB\\\\\\\\QueryBuilder\\\\\\\\QueryBuilder->execute()\\\\n#6 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/activity\\\\\\/lib\\\\\\/consumer.php(74): OCA\\\\\\\\Activity\\\\\\\\Data->send(Object(OC\\\\\\\\Activity\\\\\\\\Event))\\\\n#7 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/activitymanager.php(188): OCA\\\\\\\\Activity\\\\\\\\Consumer->receive(Object(OC\\\\\\\\Activity\\\\\\\\Event))\\\\n#8 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/activitymanager.php(215): OC\\\\\\\\ActivityManager->publish(Object(OC\\\\\\\\Activity\\\\\\\\Event))\\\\n#9 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/apps\\\\\\/files_sharing\\\\\\/lib\\\\\\/controllers\\\\\\/sharecontroller.php(288): OC\\\\\\\\ActivityManager->publishActivity('files_sharing', 'public_shared_f...', Array, '', Array, '\\\\\\/Documents\\\\\\/ebooks', '', 'alex', 'public_links', 30)\\\\n#10 [internal function]: OCA\\\\\\\\Files_Sharing\\\\\\\\Controllers\\\\\\\\ShareController->downloadShare('TmDDwDDIopa7lPk', '', '\\\\\\/', '')\\\\n#11 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/dispatcher.php(159): call_user_func_array(Array, Array)\\\\n#12 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/dispatcher.php(89): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Dispatcher->executeController(Object(OCA\\\\\\\\Files_Sharing\\\\\\\\Controllers\\\\\\\\ShareController), 'downloadShare')\\\\n#13 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/app.php(108): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Dispatcher->dispatch(Object(OCA\\\\\\\\Files_Sharing\\\\\\\\Controllers\\\\\\\\ShareController), 'downloadShare')\\\\n#14 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/public\\\\\\/appframework\\\\\\/app.php(134): OC\\\\\\\\AppFramework\\\\\\\\App::main('ShareController', 'downloadShare', Object(OC\\\\\\\\AppFramework\\\\\\\\DependencyInjection\\\\\\\\DIContainer))\\\\n#15 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/core\\\\\\/routes.php(124): OCP\\\\\\\\AppFramework\\\\\\\\App->dispatch('ShareController', 'downloadShare')\\\\n#16 [internal function]: OC\\\\\\\\Route\\\\\\\\Router->{closure}(Array)\\\\n#17 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/route\\\\\\/router.php(282): call_user_func(Object(Closure), Array)\\\\n#18 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/lib\\\\\\/base.php(831): OC\\\\\\\\Route\\\\\\\\Router->match('\\\\\\/s\\\\\\/TmDDwDDIopa7...')\\\\n#19 \\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/index.php(39): OC::handleRequest()\\\\n#20 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/domain.tld\\\\\\/htdocs\\\\\\/owncloud\\\\\\/3rdparty\\\\\\/doctrine\\\\\\/dbal\\\\\\/lib\\\\\\/Doctrine\\\\\\/DBAL\\\\\\/Driver\\\\\\/AbstractMySQLDriver.php\\\",\\\"Line\\\":71}\",\"level\":3,\"time\":\"2015-11-03T21:14:59+00:00\"}\r\n\r\n```"}}