{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/12429","labels_url":"https://api.github.com/repos/owncloud/core/issues/12429/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/12429/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/12429/events","html_url":"https://github.com/owncloud/core/issues/12429","id":50074043,"number":12429,"title":"\"General error: 5 database is locked\" while uploading small files","user":{"login":"dttpy","id":6545677,"avatar_url":"https://avatars.githubusercontent.com/u/6545677?v=3","gravatar_id":"","url":"https://api.github.com/users/dttpy","html_url":"https://github.com/dttpy","followers_url":"https://api.github.com/users/dttpy/followers","following_url":"https://api.github.com/users/dttpy/following{/other_user}","gists_url":"https://api.github.com/users/dttpy/gists{/gist_id}","starred_url":"https://api.github.com/users/dttpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dttpy/subscriptions","organizations_url":"https://api.github.com/users/dttpy/orgs","repos_url":"https://api.github.com/users/dttpy/repos","events_url":"https://api.github.com/users/dttpy/events{/privacy}","received_events_url":"https://api.github.com/users/dttpy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/db:sqlite","name":"db:sqlite","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-11-25T19:42:09Z","updated_at":"2015-01-28T17:22:44Z","closed_at":null,"body":"### Expected behaviour\r\nNo error message while uploading small files, and the thumbnail of the files can be shown directly after the end of uploading.\r\n\r\n\r\n### Actual behaviour\r\n8 small files were planed to be uploaded. While uploading the files (step 2 below), an error message is shown: \r\n```\r\nexception occurred while executing 'UPDATE \"oc_filecache\" SET \"size\"=? WHERE \"fileid\" = ?':  SQLSTATE[HY000]: General error: 5 database is locked\r\n```\r\nBecause of this error, after the end of the upload, it shows the sum of files in the folder is 7, and after refreshing the page, the \"invisible\" file is back, the the sum of files is 8.\r\nThis problem comes always accidently. Sometimes 2 error messages can be shown while uploading 5 files, but sometimes it works fine, even by uploading 100 files.\r\n\r\nHere is the link of the test files. They are all the small \".gif\" files with the average size: 5 kb. http://db.tt/Yat97nN\r\n\r\n\r\n### Steps to reproduce\r\n1. create a folder and go inside it\r\n2. upload several small files, in my case 8 files \r\n3. If there is no error message, repeat the second step, else: refresh the page \r\n\r\n\r\n### Server configuration\r\nOperating system: Ubuntu 13.10\r\n\r\nWeb server: apache 2.4.6 (Ubuntu)\r\n\r\nDatabase: SQLite\r\n\r\nPHP version: 5.5.3-1ubuntu2.3\r\n\r\nownCloud version: 7.0.3\r\n\r\nUpdated from an older ownCloud or fresh install: from 7.0.3rc\r\n\r\nList of activated app:standard apps of owncloud 7.0.3 and encryption\r\n\r\nThe content of config/config.php: (Without the database password and passwordsalt)\r\n$CONFIG = array (\r\n  'instanceid' => 'oc6d9cda6e26',\r\n\r\n  'datadirectory' => '/var/ocdata/***/owncloud/data',\r\n  'dbtype' => 'sqlite3',\r\n  'version' => '7.0.3.4',\r\n  'installed' => true,\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'maxZipInputSize' => 838860800,\r\n  'allowZipDownload' => true,\r\n  'loglevel' => '0',\r\n  'trusted_domains' => \r\n  array (\r\n    0 => '192.168.1.80',\r\n  ),\r\n);\r\n\r\n\r\nAre you using external storage, if yes which one: no\r\n\r\n### Client configuration\r\nBrowser: firefox 33.1.1\r\n\r\nOperating system: ubuntu 13.10\r\n\r\n### Logs\r\n#### Web server error log\r\n\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\n{\"reqId\":\"5474d56d31135\",\"app\":\"search_lucene\",\"message\":\"searching hits for pk:91d8d5b505c818592ad87975085a82d1\",\"level\":0,\"time\":\"2014-11-25T19:15:57+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/cron.php\"}\r\n{\"reqId\":\"5474d56d31135\",\"app\":\"search_lucene\",\"message\":\"found 0 hits \",\"level\":0,\"time\":\"2014-11-25T19:15:57+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/cron.php\"}\r\n{\"reqId\":\"5474d56e16692\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2F1.txt&c=53bea5bed1155&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d56e16692\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2F1.txt&c=53bea5bed1155&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d56e16c11\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2Fnew.txt&c=53beb76180a40&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d56e16692\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2F1.txt&c=53bea5bed1155&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d56e16c11\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2Fnew.txt&c=53beb76180a40&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d56e16c11\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2Fnew.txt&c=53beb76180a40&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d56e1d889\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2F%25%5E%26*%28%29.txt&c=53bea5a25c7a4&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d56e1d889\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2F%25%5E%26*%28%29.txt&c=53bea5a25c7a4&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d56e1d889\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:15:58+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2F%2F%25%5E%26*%28%29.txt&c=53bea5a25c7a4&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d57566518\",\"app\":\"music\",\"message\":\"update - \\/admin\\/files\\/as\",\"level\":0,\"time\":\"2014-11-25T19:16:05+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/newfolder.php\"}\r\n{\"reqId\":\"5474d58b9b72a\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! No reuse of etag for 'files_encryption\\/keyfiles\\/as' !!! \\ncache: Array\\n(\\n    [fileid] => 3165\\n    [storage] => home::admin\\n    [path] => files_encryption\\/keyfiles\\/as\\n    [parent] => 682\\n    [name] => as\\n    [mimetype] => httpd\\/unix-directory\\n    [mimepart] => httpd\\n    [size] => 2596\\n    [mtime] => 1415345470\\n    [storage_mtime] => 1415345470\\n    [encrypted] => \\n    [unencrypted_size] => 0\\n    [etag] => 545c753ef1b7c\\n    [permissions] => 31\\n)\\n \\ndata: Array\\n(\\n    [mimetype] => httpd\\/unix-directory\\n    [mtime] => 1416942987\\n    [size] => -1\\n    [etag] => 5474d58b9b477\\n    [storage_mtime] => 1416942987\\n    [permissions] => 31\\n    [parent] => 682\\n)\\n\",\"level\":0,\"time\":\"2014-11-25T19:16:27+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58b9b72a\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! No reuse of etag for 'files_encryption\\/share-keys\\/as' !!! \\ncache: Array\\n(\\n    [fileid] => 3167\\n    [storage] => home::admin\\n    [path] => files_encryption\\/share-keys\\/as\\n    [parent] => 1899\\n    [name] => as\\n    [mimetype] => httpd\\/unix-directory\\n    [mimepart] => httpd\\n    [size] => 28160\\n    [mtime] => 1415345471\\n    [storage_mtime] => 1415345470\\n    [encrypted] => \\n    [unencrypted_size] => 0\\n    [etag] => 545c753f400f4\\n    [permissions] => 31\\n)\\n \\ndata: Array\\n(\\n    [mimetype] => httpd\\/unix-directory\\n    [mtime] => 1416942987\\n    [size] => -1\\n    [etag] => 5474d58be498c\\n    [storage_mtime] => 1416942987\\n    [permissions] => 31\\n    [parent] => 1899\\n)\\n\",\"level\":0,\"time\":\"2014-11-25T19:16:27+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58b9b72a\",\"app\":\"music\",\"message\":\"update - \\/admin\\/files\\/as\\/3m_sie.gif\",\"level\":0,\"time\":\"2014-11-25T19:16:28+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58b9b72a\",\"app\":\"music\",\"message\":\"update - mimetype image\\/gif\",\"level\":0,\"time\":\"2014-11-25T19:16:28+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58d98645\",\"app\":\"music\",\"message\":\"update - \\/admin\\/files\\/as\\/8p.gif\",\"level\":0,\"time\":\"2014-11-25T19:16:29+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58d98645\",\"app\":\"music\",\"message\":\"update - mimetype image\\/gif\",\"level\":0,\"time\":\"2014-11-25T19:16:29+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58da908c\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! Path 'thumbnails\\/4106' is not readable !!!\",\"level\":0,\"time\":\"2014-11-25T19:16:29+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F3m_sie.gif&c=5474d58b745dc&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58da908c\",\"app\":\"core\",\"message\":\"Generating preview for \\\"\\/as\\/3m_sie.gif\\\" with \\\"OC\\\\Preview\\\\Image\\\"\",\"level\":0,\"time\":\"2014-11-25T19:16:29+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F3m_sie.gif&c=5474d58b745dc&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58da908c\",\"app\":\"PHP\",\"message\":\"exif_read_data(e5c4677a5ef04a6de52447589bda54c1gif): File not supported at \\/var\\/www\\/owncloud703\\/lib\\/private\\/image.php#326\",\"level\":0,\"time\":\"2014-11-25T19:16:29+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F3m_sie.gif&c=5474d58b745dc&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58da908c\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:29+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F3m_sie.gif&c=5474d58b745dc&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58e012f5\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! Path 'thumbnails\\/4109' is not readable !!!\",\"level\":0,\"time\":\"2014-11-25T19:16:30+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F8p.gif&c=5474d58d11063&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58e012f5\",\"app\":\"core\",\"message\":\"Generating preview for \\\"\\/as\\/8p.gif\\\" with \\\"OC\\\\Preview\\\\Image\\\"\",\"level\":0,\"time\":\"2014-11-25T19:16:30+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F8p.gif&c=5474d58d11063&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58e012f5\",\"app\":\"PHP\",\"message\":\"exif_read_data(20be67717c0d57b18baf4b0718563963gif): File not supported at \\/var\\/www\\/owncloud703\\/lib\\/private\\/image.php#326\",\"level\":0,\"time\":\"2014-11-25T19:16:30+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F8p.gif&c=5474d58d11063&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58e012f5\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:30+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F8p.gif&c=5474d58d11063&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58ee8652\",\"app\":\"music\",\"message\":\"update - \\/admin\\/files\\/as\\/aniolek.gif\",\"level\":0,\"time\":\"2014-11-25T19:16:30+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58ee8652\",\"app\":\"music\",\"message\":\"update - mimetype image\\/gif\",\"level\":0,\"time\":\"2014-11-25T19:16:30+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58f18eae\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! Path 'thumbnails\\/4114' is not readable !!!\",\"level\":0,\"time\":\"2014-11-25T19:16:31+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faniolek.gif&c=5474d58e0ae06&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58f18eae\",\"app\":\"core\",\"message\":\"Generating preview for \\\"\\/as\\/aniolek.gif\\\" with \\\"OC\\\\Preview\\\\Image\\\"\",\"level\":0,\"time\":\"2014-11-25T19:16:31+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faniolek.gif&c=5474d58e0ae06&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58f18eae\",\"app\":\"PHP\",\"message\":\"exif_read_data(b61720104ca0e9c7a0609c0429ba8fbdgif): File not supported at \\/var\\/www\\/owncloud703\\/lib\\/private\\/image.php#326\",\"level\":0,\"time\":\"2014-11-25T19:16:31+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faniolek.gif&c=5474d58e0ae06&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58f18eae\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:31+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faniolek.gif&c=5474d58e0ae06&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d58fdbdce\",\"app\":\"music\",\"message\":\"update - \\/admin\\/files\\/as\\/aparat.gif\",\"level\":0,\"time\":\"2014-11-25T19:16:31+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d58fdbdce\",\"app\":\"music\",\"message\":\"update - mimetype image\\/gif\",\"level\":0,\"time\":\"2014-11-25T19:16:31+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d5901cec1\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! Path 'thumbnails\\/4119' is not readable !!!\",\"level\":0,\"time\":\"2014-11-25T19:16:32+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faparat.gif&c=5474d58f21761&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5901cec1\",\"app\":\"core\",\"message\":\"Generating preview for \\\"\\/as\\/aparat.gif\\\" with \\\"OC\\\\Preview\\\\Image\\\"\",\"level\":0,\"time\":\"2014-11-25T19:16:32+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faparat.gif&c=5474d58f21761&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5901cec1\",\"app\":\"PHP\",\"message\":\"exif_read_data(6af36cd1646306ebbeb8186d1fb9e75egif): File not supported at \\/var\\/www\\/owncloud703\\/lib\\/private\\/image.php#326\",\"level\":0,\"time\":\"2014-11-25T19:16:32+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faparat.gif&c=5474d58f21761&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5901cec1\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:32+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faparat.gif&c=5474d58f21761&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d59150677\",\"app\":\"music\",\"message\":\"update - \\/admin\\/files\\/as\\/bezradny.gif\",\"level\":0,\"time\":\"2014-11-25T19:16:33+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d59150677\",\"app\":\"music\",\"message\":\"update - mimetype image\\/gif\",\"level\":0,\"time\":\"2014-11-25T19:16:33+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d591708e1\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! Path 'thumbnails\\/4129' is not readable !!!\",\"level\":0,\"time\":\"2014-11-25T19:16:33+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbezradny.gif&c=5474d590b95d8&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d591708e1\",\"app\":\"core\",\"message\":\"Generating preview for \\\"\\/as\\/bezradny.gif\\\" with \\\"OC\\\\Preview\\\\Image\\\"\",\"level\":0,\"time\":\"2014-11-25T19:16:33+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbezradny.gif&c=5474d590b95d8&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d591708e1\",\"app\":\"PHP\",\"message\":\"exif_read_data(75d9d99b387bd2eaecb49327f7b56907gif): File not supported at \\/var\\/www\\/owncloud703\\/lib\\/private\\/image.php#326\",\"level\":0,\"time\":\"2014-11-25T19:16:33+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbezradny.gif&c=5474d590b95d8&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d591708e1\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:33+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbezradny.gif&c=5474d590b95d8&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d591708e1\",\"app\":\"core\",\"message\":\"An exception occurred while executing 'UPDATE \\\"oc_filecache\\\" SET \\\"size\\\"=? WHERE \\\"fileid\\\" = ?':\\n\\nSQLSTATE[HY000]: General error: 5 database is locked\",\"level\":0,\"time\":\"2014-11-25T19:16:33+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbezradny.gif&c=5474d590b95d8&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5925705b\",\"app\":\"music\",\"message\":\"update - \\/admin\\/files\\/as\\/bije.gif\",\"level\":0,\"time\":\"2014-11-25T19:16:34+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d5925705b\",\"app\":\"music\",\"message\":\"update - mimetype image\\/gif\",\"level\":0,\"time\":\"2014-11-25T19:16:34+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d5927b213\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! Path 'thumbnails\\/4132' is not readable !!!\",\"level\":0,\"time\":\"2014-11-25T19:16:34+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbije.gif&c=5474d59177907&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5927b213\",\"app\":\"core\",\"message\":\"Generating preview for \\\"\\/as\\/bije.gif\\\" with \\\"OC\\\\Preview\\\\Image\\\"\",\"level\":0,\"time\":\"2014-11-25T19:16:34+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbije.gif&c=5474d59177907&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5927b213\",\"app\":\"PHP\",\"message\":\"exif_read_data(fde32564b8662bc7742769517cae9934gif): File not supported at \\/var\\/www\\/owncloud703\\/lib\\/private\\/image.php#326\",\"level\":0,\"time\":\"2014-11-25T19:16:34+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbije.gif&c=5474d59177907&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5927b213\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:34+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbije.gif&c=5474d59177907&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5936f484\",\"app\":\"music\",\"message\":\"update - \\/admin\\/files\\/as\\/boisie.gif\",\"level\":0,\"time\":\"2014-11-25T19:16:35+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d5936f484\",\"app\":\"music\",\"message\":\"update - mimetype image\\/gif\",\"level\":0,\"time\":\"2014-11-25T19:16:35+00:00\",\"method\":\"POST\",\"url\":\"\\/owncloud703\\/index.php\\/apps\\/files\\/ajax\\/upload.php\"}\r\n{\"reqId\":\"5474d593895e3\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! Path 'thumbnails\\/4137' is not readable !!!\",\"level\":0,\"time\":\"2014-11-25T19:16:35+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fboisie.gif&c=5474d59284448&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d593895e3\",\"app\":\"core\",\"message\":\"Generating preview for \\\"\\/as\\/boisie.gif\\\" with \\\"OC\\\\Preview\\\\Image\\\"\",\"level\":0,\"time\":\"2014-11-25T19:16:35+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fboisie.gif&c=5474d59284448&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d593895e3\",\"app\":\"PHP\",\"message\":\"exif_read_data(fc479aabb5d7688357cb6e70f007038agif): File not supported at \\/var\\/www\\/owncloud703\\/lib\\/private\\/image.php#326\",\"level\":0,\"time\":\"2014-11-25T19:16:35+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fboisie.gif&c=5474d59284448&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d593895e3\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:35+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fboisie.gif&c=5474d59284448&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a145efa\",\"app\":\"OC\\\\Files\\\\Cache\\\\Scanner\",\"message\":\"!!! Path 'thumbnails\\/4124' is not readable !!!\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbeczy.gif&c=5474d59026542&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a145efa\",\"app\":\"core\",\"message\":\"Generating preview for \\\"\\/as\\/beczy.gif\\\" with \\\"OC\\\\Preview\\\\Image\\\"\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbeczy.gif&c=5474d59026542&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a149046\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F3m_sie.gif&c=5474d58b745dc&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a149046\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F3m_sie.gif&c=5474d58b745dc&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a149046\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F3m_sie.gif&c=5474d58b745dc&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a145efa\",\"app\":\"PHP\",\"message\":\"exif_read_data(bfaf06253a954e9b040ced71245e09f4gif): File not supported at \\/var\\/www\\/owncloud703\\/lib\\/private\\/image.php#326\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbeczy.gif&c=5474d59026542&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a145efa\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbeczy.gif&c=5474d59026542&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a184166\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faparat.gif&c=5474d58f21761&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a184166\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faparat.gif&c=5474d58f21761&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a184166\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faparat.gif&c=5474d58f21761&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a191da8\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F8p.gif&c=5474d58d11063&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a191da8\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F8p.gif&c=5474d58d11063&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a191da8\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2F8p.gif&c=5474d58d11063&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a19d00e\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbezradny.gif&c=5474d590b95d8&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a19d00e\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbezradny.gif&c=5474d590b95d8&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a19d00e\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbezradny.gif&c=5474d590b95d8&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1a734a\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faniolek.gif&c=5474d58e0ae06&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1a734a\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faniolek.gif&c=5474d58e0ae06&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1a734a\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Faniolek.gif&c=5474d58e0ae06&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1b0d78\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbije.gif&c=5474d59177907&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1b0d78\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbije.gif&c=5474d59177907&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1b0d78\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fbije.gif&c=5474d59177907&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1b6426\",\"app\":\"core\",\"message\":\"OC_Image::loadFromFileHandle(): Trying\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fboisie.gif&c=5474d59284448&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1b6426\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() No readable file path set.\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fboisie.gif&c=5474d59284448&x=36&y=36&forceIcon=0\"}\r\n{\"reqId\":\"5474d5a1b6426\",\"app\":\"core\",\"message\":\"OC_Image->fixOrientation() Orientation: -1\",\"level\":0,\"time\":\"2014-11-25T19:16:49+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud703\\/index.php\\/core\\/preview.png?file=%2Fas%2Fboisie.gif&c=5474d59284448&x=36&y=36&forceIcon=0\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/71876159","html_url":"https://github.com/owncloud/core/issues/12429#issuecomment-71876159","issue_url":"https://api.github.com/repos/owncloud/core/issues/12429","id":71876159,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T17:22:44Z","updated_at":"2015-01-28T17:22:44Z","body":"I have access to an environment where this error happens so I'll try and debug it.\r\n\r\nI suspect that SQLite might be locking the DB as soon as a write operation happens, and only free the lock once the PHP request has finished. Not sure why the preview creation would want to write anything to the DB. I suspect it might be simply adding an entry for the thumbnail fail.\r\n\r\nNeeds further research. Assigning to self."}}