{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/updater/issues/128","labels_url":"https://api.github.com/repos/owncloud/updater/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/updater/issues/128/comments","events_url":"https://api.github.com/repos/owncloud/updater/issues/128/events","html_url":"https://github.com/owncloud/updater/issues/128","id":79428859,"number":128,"title":"Cannot update the server: extraction error","user":{"login":"jvillafanez","id":1477829,"avatar_url":"https://avatars.githubusercontent.com/u/1477829?v=3","gravatar_id":"","url":"https://api.github.com/users/jvillafanez","html_url":"https://github.com/jvillafanez","followers_url":"https://api.github.com/users/jvillafanez/followers","following_url":"https://api.github.com/users/jvillafanez/following{/other_user}","gists_url":"https://api.github.com/users/jvillafanez/gists{/gist_id}","starred_url":"https://api.github.com/users/jvillafanez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvillafanez/subscriptions","organizations_url":"https://api.github.com/users/jvillafanez/orgs","repos_url":"https://api.github.com/users/jvillafanez/repos","events_url":"https://api.github.com/users/jvillafanez/events{/privacy}","received_events_url":"https://api.github.com/users/jvillafanez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/updater/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/updater/milestones/9","html_url":"https://github.com/owncloud/updater/milestones/8.2-next","labels_url":"https://api.github.com/repos/owncloud/updater/milestones/9/labels","id":996800,"number":9,"title":"8.2-next","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":1,"closed_issues":1,"state":"open","created_at":"2015-02-26T11:15:45Z","updated_at":"2015-06-25T21:14:06Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-05-22T12:00:36Z","updated_at":"2015-06-25T21:14:31Z","closed_at":null,"body":"I've modify the code a bit to download the package from a local server (in fact it's the same server where ownCloud is installed). The \"target\" package to download is the daily build\r\n```\r\n$OC_Version = array(8,1,0,6);\r\n$OC_VersionString = '8.1 beta 2';\r\n$OC_Channel = 'daily';\r\n$OC_Build = '2015-05-21T03:31:21+00:00 d560d1ef2a106bb7e89907a4004ef371cc4ddc4a';\r\n```\r\n\r\nThe info returned by the mock update.php (the endpoint where the app connects) is\r\n```\r\n<?xml version=\"1.0\"?>\r\n <owncloud>\r\n   <version>8.1.9.9</version>\r\n   <versionstring>ownCloud 8.1.9 ultimate edition</versionstring>\r\n   <url>http://10.40.30.21:8181/oc-ultimate-package.tar.bz2</url>\r\n   <web>http://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.h    tml</web>\r\n </owncloud>\r\n```\r\n\r\nAt this point, the updater app detects a new version, and downloads the version correctly. However there is an extraction error that prevents the installation.\r\n\r\n```\r\n{\"reqId\":\"atN462K8sDQDZcuthJva\",\"remoteAddr\":\"10.40.30.21\",\"app\":\"updater\",\"message\":\"Use already downloaded package \\/home\\/jvillafanez\\/src\\/owncloud\\/owncloud-oc8.1\\/data\\/updater_backup\\/8.1.9.9.tar.bz2. Size is 24882969 bytes.\",\"level\":0,\"time\":\"2015-05-22T11:34:39+00:00\",\"method\":\"POST\",\"url\":\"\\/index.php\\/apps\\/updater\\/ajax\\/download.php\"}\r\n{\"reqId\":\"atN462K8sDQDZcuthJva\",\"remoteAddr\":\"10.40.30.21\",\"app\":\"updater\",\"message\":\"Retrieving http:\\/\\/10.40.30.21:8181\\/oc-ultimate-package.tar.bz2\",\"level\":3,\"time\":\"2015-05-22T11:34:39+00:00\",\"method\":\"POST\",\"url\":\"\\/index.php\\/apps\\/updater\\/ajax\\/download.php\"}\r\n{\"reqId\":\"atN462K8sDQDZcuthJva\",\"remoteAddr\":\"10.40.30.21\",\"app\":\"updater\",\"message\":\"\\/home\\/jvillafanez\\/src\\/owncloud\\/owncloud-oc8.1\\/data\\/updater_backup\\/8.1.9.9.tar.bz2 extraction error\",\"level\":3,\"time\":\"2015-05-22T11:34:39+00:00\",\"method\":\"POST\",\"url\":\"\\/index.php\\/apps\\/updater\\/ajax\\/download.php\"}\r\n```\r\n\r\nWhat I understand is that the package should be extracted, regardless of any other possible extra check such as the version matching between 8.1.9.9 and the real one 8.1.0.6.\r\n\r\n### Server configuration\r\n**Operating system**: ubuntu 14.04\r\n\r\n**Web server:** apache 2.4.7\r\n\r\n**Database:** mysql\r\n\r\n**PHP version:** 5.5.9\r\n\r\n**ownCloud version:** OC 8.1 beta 2\r\n\r\n**Updated from an older ownCloud or fresh install:** fresh install"},"comment":{"url":"https://api.github.com/repos/owncloud/updater/issues/comments/115400000","html_url":"https://github.com/owncloud/updater/issues/128#issuecomment-115400000","issue_url":"https://api.github.com/repos/owncloud/updater/issues/128","id":115400000,"user":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T21:14:31Z","updated_at":"2015-06-25T21:14:31Z","body":"to 8.2, may require an update of a 3rd party component"}}