{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/24272","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/24272/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/24272/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/24272/events","html_url":"https://github.com/owncloud/core/issues/24272","id":151087403,"number":24272,"title":"Single file in folder - file not found","user":{"login":"hhaeb","id":2345812,"avatar_url":"https://avatars.githubusercontent.com/u/2345812?v=3","gravatar_id":"","url":"https://api.github.com/users/hhaeb","html_url":"https://github.com/hhaeb","followers_url":"https://api.github.com/users/hhaeb/followers","following_url":"https://api.github.com/users/hhaeb/following{/other_user}","gists_url":"https://api.github.com/users/hhaeb/gists{/gist_id}","starred_url":"https://api.github.com/users/hhaeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhaeb/subscriptions","organizations_url":"https://api.github.com/users/hhaeb/orgs","repos_url":"https://api.github.com/users/hhaeb/repos","events_url":"https://api.github.com/users/hhaeb/events{/privacy}","received_events_url":"https://api.github.com/users/hhaeb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files","name":"app:files","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/comp:core-js","name":"comp:core-js","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/junior%20job","name":"junior job","color":"d7e102"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev3-medium","name":"sev3-medium","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/78","html_url":"https://github.com/owncloud/core/milestones/9.0.3-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/78/labels","id":1693137,"number":78,"title":"9.0.3-current-maintenance","description":"","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":93,"closed_issues":22,"state":"open","created_at":"2016-04-08T13:29:25Z","updated_at":"2016-05-24T08:41:09Z","due_on":"2016-07-04T22:00:00Z","closed_at":null},"comments":9,"created_at":"2016-04-26T09:34:46Z","updated_at":"2016-05-24T09:09:39Z","closed_at":null,"body":"Downloading a file which is the only file in this folder is impossible. When there are more files in this folder, downloading of this file is possible.\r\n\r\n### Steps to reproduce\r\n1. make a new folder\r\n2. copy one file into folder\r\n3. go to this folder\r\n4. click checkbox of this single file\r\n5. click on \"Download\"\r\n\r\n### Expected behaviour\r\nOS window for downloading this file should appear.\r\n\r\n### Actual behaviour\r\nScreen displays the following text:\r\n\"File not found\r\nThe specified document has not been found on the server.\r\nYou can click here to return to ownCloud.\"\r\n\r\n########################## WORKAROUND\r\ncopy another file in the same folder\r\nclick checkbox of this single file\r\nclick on \"Download\"\r\n=> OS window for downloading this file should appear.\r\n########################## WORKAROUND\r\n\r\n### Server configuration\r\nUbuntu 14.04.4 LTS\r\n\r\n**Web server:**\r\nApache/2.4.7\r\n\r\n**Database:**\r\nMySQL 5.5.49 \r\n\r\n**PHP version:**\r\nPHP Version 5.5.9-1ubuntu4.16\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n9.0.1\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nupdated from 7.x\r\n\r\n**Where did you install ownCloud from:**\r\nhttp://download.owncloud.org/download/repositories/stable/Ubuntu_14.04\r\n\r\n**Signing status (ownCloud 9.0 and above):**\r\n\r\n```\r\nLogin as admin user into your ownCloud and access \r\nhttp://example.com/index.php/settings/integrity/failed \r\npaste the results here.\r\n```\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - comments: 0.2\r\n  - dav: 0.1.6\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  - provisioning_api: 0.4.1\r\n  - systemtags: 0.2\r\n  - templateeditor: 0.1\r\n  - updatenotification: 0.1.0\r\nDisabled:\r\n  - calendar\r\n  - documents\r\n  - encryption\r\n  - external\r\n  - files_external\r\n  - notes\r\n  - notifications\r\n  - ownnote\r\n  - user_external\r\n  - user_ldap\r\n```\r\n\r\n\r\n**The content of config/config.php:**\r\n```php\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => 'oc3f7f39cb42',\r\n  'passwordsalt' => '8f16ab646ea1003620a39b8f9f4eb8',\r\n  'trusted_domains' => \r\n  array (\r\n    0 => 'promedia-online.net',\r\n  ),\r\n  'datadirectory' => '/var/www/owncloud/data',\r\n  'dbtype' => 'mysql',\r\n  'version' => '9.0.1.3',\r\n  'dbname' => 'owncloud',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'oc_haeb',\r\n  'dbpassword' => '18e213b2e2422d7742858d840d7de9',\r\n  'installed' => true,\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'secret' => 'Zq3PbhBHyjnSLAdaKdDldIfXx40MPhL87CD/6oKEfAXT',\r\n  'loglevel' => 0,\r\n  'memcache.local' => '\\\\OC\\\\Memcache\\\\APCu',\r\n  'trashbin_retention_obligation' => 'auto',\r\n  'mail_from_address' => 'haeb',\r\n  'mail_smtpmode' => 'smtp',\r\n  'mail_domain' => 'promedia-sds.de',\r\n  'mail_smtpsecure' => 'tls',\r\n  'mail_smtphost' => 'promedia-online.net',\r\n  'mail_smtpport' => '587',\r\n  'mail_smtpauthtype' => 'LOGIN',\r\n  'mail_smtpauth' => 1,\r\n  'mail_smtpname' => 'haeb@promedia-sds.de',\r\n  'mail_smtppassword' => 'xxxxxxx',\r\n  'updatechecker' => false,\r\n  'overwrite.cli.url' => '/owncloud',\r\n);\r\n```\r\n\r\n\r\n```json\r\n    \"system\": {\r\n        \"instanceid\": \"oc3f7f39cb42\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"promedia-online.net\"\r\n        ],\r\n        \"datadirectory\": \"\\/var\\/www\\/owncloud\\/data\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"9.0.1.3\",\r\n        \"dbname\": \"owncloud\",\r\n        \"dbhost\": \"localhost\",\r\n        \"dbtableprefix\": \"oc_\",\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"installed\": true,\r\n        \"theme\": \"\",\r\n        \"maintenance\": false,\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"loglevel\": 0,\r\n        \"memcache.local\": \"\\\\OC\\\\Memcache\\\\APCu\",\r\n        \"trashbin_retention_obligation\": \"auto\",\r\n        \"mail_from_address\": \"haeb\",\r\n        \"mail_smtpmode\": \"smtp\",\r\n        \"mail_domain\": \"promedia-sds.de\",\r\n        \"mail_smtpsecure\": \"tls\",\r\n        \"mail_smtphost\": \"promedia-online.net\",\r\n        \"mail_smtpport\": \"587\",\r\n        \"mail_smtpauthtype\": \"LOGIN\",\r\n        \"mail_smtpauth\": 1,\r\n        \"mail_smtpname\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtppassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"updatechecker\": false,\r\n        \"overwrite.cli.url\": \"\\/owncloud\"\r\n```\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nNO\r\n\r\n**Are you using encryption:** yes/no\r\nNO\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nNO\r\n\r\n#### LDAP configuration\r\n--\r\n\r\n### Client configuration\r\n**Browser:**\r\nFirefox 38.7.1 / CHrome  38.7.1 -> same behvior\r\n**Operating system:**\r\nWin7 x64\r\n\r\n### Logs\r\n#### Web server error log WITH SINGLE FILE\r\npromedia-online.net 79.229.76.187 - - [26/Apr/2016:10:26:13 +0200] \"GET /owncloud/index.php/apps/files/ajax/download.php?dir=%2F&files=Dokument2.txt&downloadStartSecret=wbhka67qls HTTP/1.1\" 404 10826 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0\"\r\n#### Web server error log WITH MORE FILES in the same directory\r\npromedia-online.net 79.229.76.187 - - [26/Apr/2016:10:26:52 +0200] \"GET /owncloud/index.php/apps/files/ajax/download.php?dir=%2FTEST2&files=Dokument2.txt&downloadStartSecret=h5cb2mnq8a6 HTTP/1.1\" 200 51 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0\"\r\n###\r\n\r\n#################### \r\nBoth log snipplets are displaying the successful/failed download of the SAME FILE in the SAME FOLDER the file is located in \"/TEST2\" (\"/TEST/Dokument2.txt\" notice the different path in log files)\r\nThe only difference was: in the second trial there was another file in the folder \"/TEST2\"\r\n####################\r\n\r\n#### ownCloud log (data/owncloud.log)\r\nno log entry for the specific time\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/221210474","html_url":"https://github.com/owncloud/core/issues/24272#issuecomment-221210474","issue_url":"https://api.github.com/repos/owncloud/core/issues/24272","id":221210474,"user":{"login":"popov-d","id":9589897,"avatar_url":"https://avatars.githubusercontent.com/u/9589897?v=3","gravatar_id":"","url":"https://api.github.com/users/popov-d","html_url":"https://github.com/popov-d","followers_url":"https://api.github.com/users/popov-d/followers","following_url":"https://api.github.com/users/popov-d/following{/other_user}","gists_url":"https://api.github.com/users/popov-d/gists{/gist_id}","starred_url":"https://api.github.com/users/popov-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popov-d/subscriptions","organizations_url":"https://api.github.com/users/popov-d/orgs","repos_url":"https://api.github.com/users/popov-d/repos","events_url":"https://api.github.com/users/popov-d/events{/privacy}","received_events_url":"https://api.github.com/users/popov-d/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T09:09:39Z","updated_at":"2016-05-24T09:09:39Z","body":"Sorry for duplicates again, and pull request #24800 is my fix."}}
{"actor":{"display_login":"popov-d"}}