{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/gallery/issues/591","repository_url":"https://api.github.com/repos/owncloud/gallery","labels_url":"https://api.github.com/repos/owncloud/gallery/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/gallery/issues/591/comments","events_url":"https://api.github.com/repos/owncloud/gallery/issues/591/events","html_url":"https://github.com/owncloud/gallery/issues/591","id":140382876,"number":591,"title":"Switching between file list and gallery view not working in 9.0.0","user":{"login":"thejabok","id":17744207,"avatar_url":"https://avatars.githubusercontent.com/u/17744207?v=3","gravatar_id":"","url":"https://api.github.com/users/thejabok","html_url":"https://github.com/thejabok","followers_url":"https://api.github.com/users/thejabok/followers","following_url":"https://api.github.com/users/thejabok/following{/other_user}","gists_url":"https://api.github.com/users/thejabok/gists{/gist_id}","starred_url":"https://api.github.com/users/thejabok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejabok/subscriptions","organizations_url":"https://api.github.com/users/thejabok/orgs","repos_url":"https://api.github.com/users/thejabok/repos","events_url":"https://api.github.com/users/thejabok/events{/privacy}","received_events_url":"https://api.github.com/users/thejabok/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/gallery/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/gallery/labels/investigating","name":"investigating","color":"FF3399"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/gallery/milestones/31","html_url":"https://github.com/owncloud/gallery/milestones/9.1-current","labels_url":"https://api.github.com/repos/owncloud/gallery/milestones/31/labels","id":1367173,"number":31,"title":"9.1-current","description":null,"creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":33,"closed_issues":22,"state":"open","created_at":"2015-10-20T21:23:25Z","updated_at":"2016-03-14T12:34:17Z","due_on":null,"closed_at":null},"comments":37,"created_at":"2016-03-12T13:14:38Z","updated_at":"2016-03-14T13:33:46Z","closed_at":"2016-03-14T12:34:17Z","body":"<!--\r\nThanks for reporting issues back to ownCloud! This is the issue tracker of ownCloud, if you have any support question please check out https://owncloud.org/support\r\n\r\nThis is the bug tracker for the Server component. Find other components at https://github.com/owncloud/core/blob/master/CONTRIBUTING.md#guidelines\r\n\r\nTo make it possible for us to help you please fill out below information carefully.\r\n--> \r\n### Steps to reproduce\r\n1. In Files app, navigate to folder containing images in Web GUI\r\n2. After file list has loaded, click on \"gallery\" icon on top right\r\n\r\n### Expected behaviour\r\nGUI should switch to gallery view and display images in folder as thumbnails.\r\n\r\n### Actual behaviour\r\nWhen a certain number of images in the folder is exceeded (in my case ~10), the file app reloads the page and shows file list view again.\r\n\r\n### Server configuration\r\n**Operating system**: Debian 8\r\n\r\n**Web server:** Apache2\r\n\r\n**Database:** MySQL\r\n\r\n**PHP version:** 5.6.14-0+deb8u1\r\n\r\n**ownCloud version:** 9.0.0 (stable)\r\n\r\n**Updated from an older ownCloud or fresh install:** Upgraded from 8.2.2\r\n\r\n**Where did you install ownCloud from:** Manually as described in admin manual\r\n\r\n**Signing status (ownCloud 9.0 and above):**\r\n\r\n```\r\nTechnical information\r\n=====================\r\nThe following list covers which files have failed the integrity check. Please read\r\nthe previous linked documentation to learn more about the errors and how to fix\r\nthem.\r\n\r\nResults\r\n=======\r\n- core\r\n\t- INVALID_HASH\r\n\t\t- .htaccess\r\n\t\t- lib/private/setup.php\r\n\r\nRaw output\r\n==========\r\nArray\r\n(\r\n    [core] => Array\r\n        (\r\n            [INVALID_HASH] => Array\r\n                (\r\n                    [.htaccess] => Array\r\n                        (\r\n                            [expected] => f40e7ca19cd76ff922ccd164e38f4d73806f66170cafa202fb470be225c813b4b242f4321da8a01bef1329e300acf3d137dbcbff058c501f166a2619031fc651\r\n                            [current] => b00eac79b2db577d523f56b683399505294611d99fbc9d23c2776ad8254213cddf4ee50a1314a944f07e9aed6b69aeeb02f390b1a8daacbddccef4f996f21316\r\n                        )\r\n\r\n                    [lib/private/setup.php] => Array\r\n                        (\r\n                            [expected] => 32930461d746dad2513a53a4962b25cc53c2575b0df7ebb8f59e4c7f2297301db1cf031969708c3605ee2b8515d65521e3a2d3b31facc12158bbc0c8dbc60cff\r\n                            [current] => f6b73a92c6edb1ba28c3d7014ba6f14e9512e7a0fb92a1e29836d1c4d0880c3166994daa4588d070d974838a1860f86fa8d2fcdcfe7835c4a09f9d295a18d71c\r\n                        )\r\n\r\n                )\r\n\r\n        )\r\n\r\n)\r\n\r\n```\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - calendar: true\r\n  - comments: 0.2\r\n  - contacts: true\r\n  - dav: 0.1.5\r\n  - federatedfilesharing: 0.1.0\r\n  - federation: 0.0.4\r\n  - files: 1.4.4\r\n  - files_pdfviewer: 0.8\r\n  - files_sharing: 0.9.1\r\n  - files_texteditor: 2.1\r\n  - files_trashbin: 0.8.0\r\n  - files_versions: 1.2.0\r\n  - files_videoplayer: 0.9.8\r\n  - firstrunwizard: 1.1\r\n  - gallery: 14.5.0\r\n  - systemtags: 0.2\r\nDisabled:\r\n  - encryption\r\n  - external\r\n  - files_external\r\n  - mail\r\n  - notifications\r\n  - provisioning_api\r\n  - templateeditor\r\n  - updatenotification\r\n  - user_external\r\n  - user_ldap\r\n```\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n{\r\n    \"system\": {\r\n        \"instanceid\": \"oc8aakgw49m2\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"localhost\",\r\n            \"***REMOVED SENSITIVE VALUE***\",\r\n            \"***REMOVED SENSITIVE VALUE***\",\r\n            \"***REMOVED SENSITIVE VALUE***\",\r\n            \"***REMOVED SENSITIVE VALUE***\"\r\n        ],\r\n        \"datadirectory\": \"\\/var\\/oc-data\",\r\n        \"overwrite.cli.url\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"9.0.0.19\",\r\n        \"dbname\": \"owncloud\",\r\n        \"dbhost\": \"127.0.0.1\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"logtimezone\": \"Europe\\/Berlin\",\r\n        \"installed\": true,\r\n        \"mail_smtpmode\": \"smtp\",\r\n        \"mail_from_address\": \"owncloud\",\r\n        \"mail_domain\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtphost\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtpsecure\": \"ssl\",\r\n        \"mail_smtpport\": \"465\",\r\n        \"mail_smtpauth\": 1,\r\n        \"mail_smtpauthtype\": \"LOGIN\",\r\n        \"mail_smtpname\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtppassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtptimeout\": 30,\r\n        \"memcache.local\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n        \"filelocking.enabled\": true,\r\n        \"memcache.locking\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n        \"redis\": {\r\n            \"host\": \"localhost\",\r\n            \"port\": 6379,\r\n            \"timeout\": 0\r\n        },\r\n        \"asset-pipeline.enabled\": false,\r\n        \"appstore.experimental.enabled\": true,\r\n        \"maintenance\": false,\r\n        \"loglevel\": 2,\r\n        \"theme\": \"\",\r\n        \"ldapIgnoreNamingRules\": false\r\n    }\r\n}\r\n```\r\n\r\n**Are you using external storage, if yes which one:** no\r\n\r\n**Are you using encryption:** no\r\n\r\n**Are you using an external user-backend, if yes which one:** no\r\n\r\n### Client configuration\r\n**Browser:** Firefox 45.0\r\n\r\n**Operating system:** Windows 7\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\nN/A\r\n```\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\nN/A\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/gallery/issues/comments/196311416","html_url":"https://github.com/owncloud/gallery/issues/591#issuecomment-196311416","issue_url":"https://api.github.com/repos/owncloud/gallery/issues/591","id":196311416,"user":{"login":"thejabok","id":17744207,"avatar_url":"https://avatars.githubusercontent.com/u/17744207?v=3","gravatar_id":"","url":"https://api.github.com/users/thejabok","html_url":"https://github.com/thejabok","followers_url":"https://api.github.com/users/thejabok/followers","following_url":"https://api.github.com/users/thejabok/following{/other_user}","gists_url":"https://api.github.com/users/thejabok/gists{/gist_id}","starred_url":"https://api.github.com/users/thejabok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejabok/subscriptions","organizations_url":"https://api.github.com/users/thejabok/orgs","repos_url":"https://api.github.com/users/thejabok/repos","events_url":"https://api.github.com/users/thejabok/events{/privacy}","received_events_url":"https://api.github.com/users/thejabok/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T13:33:46Z","updated_at":"2016-03-14T13:33:46Z","body":"No, I think we're talking about different issues here. When I experienced the issue, I never actually pressed the button before the upload was finished. In fact, the issue never even occurred when I uploaded into an empty folder through the Web GUI. Only when I navigate into a folder already containing images and then press the gallery button, which is what I did during the first log I posted above. So that should be where anything out of the ordinary pops up.\r\n\r\nThe fact that it doesn't makes me wonder if it really is just a resource problem. My server is running on a Raspberry Pi 2 B (900MHz quad-core ARM Cortex-A7 CPU, 1GB RAM). With too many images in a folder, thumbnail generation probably takes too long, owncloud thinks the resource is not available and reloads the page. Does that make any sense?"}}