{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/18116","labels_url":"https://api.github.com/repos/owncloud/core/issues/18116/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/18116/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/18116/events","html_url":"https://github.com/owncloud/core/issues/18116","id":99624704,"number":18116,"title":"Folder of downloaded app is empty","user":{"login":"michag86","id":6691165,"avatar_url":"https://avatars.githubusercontent.com/u/6691165?v=3","gravatar_id":"","url":"https://api.github.com/users/michag86","html_url":"https://github.com/michag86","followers_url":"https://api.github.com/users/michag86/followers","following_url":"https://api.github.com/users/michag86/following{/other_user}","gists_url":"https://api.github.com/users/michag86/gists{/gist_id}","starred_url":"https://api.github.com/users/michag86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michag86/subscriptions","organizations_url":"https://api.github.com/users/michag86/orgs","repos_url":"https://api.github.com/users/michag86/repos","events_url":"https://api.github.com/users/michag86/events{/privacy}","received_events_url":"https://api.github.com/users/michag86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/needs%20info","name":"needs info","color":"0b02e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/triage","name":"triage","color":"00FFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-07T10:39:29Z","updated_at":"2015-08-07T14:25:47Z","closed_at":null,"body":"### Steps to reproduce\r\n1. login as admin\r\n2. go to Apps\r\n3. add documents or search lucene\r\n\r\n### Expected behaviour\r\napp should be installed and enabled\r\n### Actual behaviour\r\nunder /apps/ is an empty folder with the appid created\r\n\r\n### Server configuration\r\n**Operating system**: CentOS 7.1\r\n**Web server:** Apache\r\n**Database:** MariaDB\r\n**PHP version:** 5.4.16\r\n**ownCloud version:** 8.1.0\r\nowncloud is installed from repository \r\n\r\n**Updated from an older ownCloud or fresh install:** fresh install\r\n**List of activated apps:**\r\n[root@host]# sudo -u apache php /var/www/html/owncloud/occ app:list\r\nEnabled:\r\n - files: 1.1.9\r\n - files_antivirus: 0.7.0.1\r\n - files_locking:\r\n - files_pdfviewer: 0.7\r\n - files_sharing: 0.6.2\r\n - files_texteditor: 0.4\r\n - files_trashbin: 0.6.3\r\n - files_versions: 1.0.6\r\n - gallery: 0.6.0\r\n - provisioning_api: 0.2\r\n - templateeditor: 0.1\r\n\r\nDisabled:\r\n - activity\r\n - calendar\r\n - contacts\r\n - encryption\r\n - external\r\n - files_external\r\n - files_videoviewer\r\n - firstrunwizard\r\n - user_external\r\n - user_ldap\r\n - user_webdavauth\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\n{\"reqId\":\"VcSJiPl3dtmj@2s@S5ha4wAAAAM\",\"remoteAddr\":\"172.31.245.101\",\"app\":\"core\",\"message\":\"No update found at the ownCloud appstore for app 166055\",\"level\":1,\"time\":\"2015-08-07T12:33:44+02:00\",\"method\":\"GET\",\"url\":\"\\/index.php\\/settings\\/apps\\/list?category=0&includeUpdateInfo=1\"}\r\n{\"reqId\":\"VcSJiPl3dtmj@2s@S5ha4wAAAAM\",\"remoteAddr\":\"172.31.245.101\",\"app\":\"core\",\"message\":\"No update found at the ownCloud appstore for app 166056\",\"level\":1,\"time\":\"2015-08-07T12:33:45+02:00\",\"method\":\"GET\",\"url\":\"\\/index.php\\/settings\\/apps\\/list?category=0&includeUpdateInfo=1\"}\r\n{\"reqId\":\"VcSJiPl3dtmj@2s@S5ha4wAAAAM\",\"remoteAddr\":\"172.31.245.101\",\"app\":\"core\",\"message\":\"No update found at the ownCloud appstore for app 166049\",\"level\":1,\"time\":\"2015-08-07T12:33:45+02:00\",\"method\":\"GET\",\"url\":\"\\/index.php\\/settings\\/apps\\/list?category=0&includeUpdateInfo=1\"}\r\n{\"reqId\":\"VcSJiPl3dtmj@2s@S5ha4wAAAAM\",\"remoteAddr\":\"172.31.245.101\",\"app\":\"core\",\"message\":\"No update found at the ownCloud appstore for app 166051\",\"level\":1,\"time\":\"2015-08-07T12:33:45+02:00\",\"method\":\"GET\",\"url\":\"\\/index.php\\/settings\\/apps\\/list?category=0&includeUpdateInfo=1\"}\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/128713979","html_url":"https://github.com/owncloud/core/issues/18116#issuecomment-128713979","issue_url":"https://api.github.com/repos/owncloud/core/issues/18116","id":128713979,"user":{"login":"michag86","id":6691165,"avatar_url":"https://avatars.githubusercontent.com/u/6691165?v=3","gravatar_id":"","url":"https://api.github.com/users/michag86","html_url":"https://github.com/michag86","followers_url":"https://api.github.com/users/michag86/followers","following_url":"https://api.github.com/users/michag86/following{/other_user}","gists_url":"https://api.github.com/users/michag86/gists{/gist_id}","starred_url":"https://api.github.com/users/michag86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michag86/subscriptions","organizations_url":"https://api.github.com/users/michag86/orgs","repos_url":"https://api.github.com/users/michag86/repos","events_url":"https://api.github.com/users/michag86/events{/privacy}","received_events_url":"https://api.github.com/users/michag86/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T14:25:47Z","updated_at":"2015-08-07T14:25:47Z","body":"After enabling the app it is not listed under enabled. But when I go to the productivity category I can see Documents as enabled. If I disable and reenable, this is logged:\r\n```\r\n{\"reqId\":\"VcSwYsDSvZRE7eNRTuBZ8gAAAAI\",\"remoteAddr\":\"172.31.245.101\",\"app\":\"core\",\"message\":\"App directory already exists\",\"level\":3,\"time\":\"2015-08-07T15:19:33+02:00\",\"method\":\"POST\",\"url\":\"\\/index.php\\/settings\\/ajax\\/enableapp.php\"}\r\n```\r\n\r\nI've noticed that the file is downloaded to the php tmp Folder:\r\n```\r\ninsgesamt 9252\r\n-rw-------. 1 apache apache       0  7. Aug 16:20 oc_tmp_iJx9sJ\r\n-rw-------. 1 apache apache 9469483  7. Aug 16:20 oc_tmp_iJx9sJ-.zip\r\n-rw-------. 1 apache apache       0  7. Aug 16:20 oc_tmp_rBO6cQ\r\ndrwxr-xr-x. 3 apache apache    4096  7. Aug 16:20 oc_tmp_rBO6cQ-folder\r\n```\r\nThey stay there only for a short moment.\r\n"}}