{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/updater/issues/336","repository_url":"https://api.github.com/repos/owncloud/updater","labels_url":"https://api.github.com/repos/owncloud/updater/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/updater/issues/336/comments","events_url":"https://api.github.com/repos/owncloud/updater/issues/336/events","html_url":"https://github.com/owncloud/updater/issues/336","id":151169053,"number":336,"title":"Upgrade from 9.0 to 9.1 fails","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/sev1-critical","name":"sev1-critical","color":"e11d21"}],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/owncloud/updater/milestones/49","html_url":"https://github.com/owncloud/updater/milestones/9.0.2-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/updater/milestones/49/labels","id":1632579,"number":49,"title":"9.0.2-current-maintenance","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":2,"closed_issues":15,"state":"open","created_at":"2016-03-09T09:57:29Z","updated_at":"2016-04-27T13:24:02Z","due_on":"2016-05-03T04:00:00Z","closed_at":null},"comments":8,"created_at":"2016-04-26T15:41:42Z","updated_at":"2016-04-28T08:33:36Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Install daily stable9 tarball (9.0.1 (daily) Build:2016-04-26T03:20:01+00:00 6c861f71eb62e9cee2617a472bcd6d37bfd7b899)\r\n2. Make sure the updater downloads the daily master package (*)\r\n3. Run the updater\r\n\r\n### Expected behaviour\r\nUpdater upgrades to 9.1\r\n\r\n### Actual behaviour\r\nUpgrade fails\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:** 9.1.0 pre alpha 2016-04-26T03:08:09+00:00 d8f327831e6f64658c50131c2e7344ee6fa0e86a\r\n\r\n**Updated from an older ownCloud or fresh install:** updated from 9.0.1 daily\r\n\r\n### Updater trace\r\n```\r\nownCloud updater 1.0 - CLI based ownCloud server upgrades\r\nChecking system health.\r\n - file permissions are ok.\r\nCurrent version is 9.0.1.3\r\nOnline version is 100.0.0.0 [daily]\r\nWhat would you do next?\r\n  [0] download\r\n  [1] upgrade\r\n  [2] abort\r\n > 1\r\nDownloaded 100% (35076540 of 35076540)\r\nCreated checkpoint 9.0.1.3-571f8686a86f2\r\n simulated (optionally, can be done online in advance)\r\nreal [danger, might take long]\r\nExtracting source into /opt/owncloud/data/updater-data/_oc_upgrade/100.0.0.0\r\nownCloud or one of the apps require upgrade - only a limited number of commands are available\r\nYou may use your browser or the occ upgrade command to do the upgrade\r\nSet log level to debug\r\nTurned on maintenance mode\r\nChecking whether the database schema can be updated (this can take a long time depending on the database size)\r\n\r\n\r\nChecked database schema update\r\nChecking updates of apps\r\nChecked database schema update for apps\r\nUpdating database schema\r\nUpdated database\r\nStarting code integrity check...\r\nFinished code integrity check\r\nUpdate successful\r\nTurned off maintenance mode\r\nReset log level\r\n\r\nUpgrading the application activity\r\nPHP Fatal error:  Call to protected method Owncloud\\Updater\\Utils\\FilesystemHelper::rmdirr() from context 'Owncloud\\Updater\\Command\\UpgradeShippedAppsCommand' in /opt/owncloud/updater/src/Command/UpgradeShippedAppsCommand.php on line 75\r\n```\r\n\r\n### Update.log\r\n```\r\n[info] Execution of upgrade:start command started\r\n[info] Execution of upgrade:info command started\r\n[info] Execution of upgrade:info command stopped. Exit code is 0\r\n[info] Execution of upgrade:checkSystem command started\r\n[info] Execution of upgrade:checkSystem command stopped. Exit code is 0\r\n[info] Execution of upgrade:detect command started\r\n[info] ownCloud 9.0.1.3 found\r\n[info] Execution of upgrade:detect command stopped. Exit code is 4\r\n[info] Execution of upgrade:start command stopped. Exit code is 0\r\n[info] Execution of upgrade:start command started\r\n[info] Execution of upgrade:info command started\r\n[info] Execution of upgrade:info command stopped. Exit code is 0\r\n[info] Execution of upgrade:checkSystem command started\r\n[info] Execution of upgrade:checkSystem command stopped. Exit code is 0\r\n[info] Execution of upgrade:detect command started\r\n[info] ownCloud 9.0.1.3 found\r\n[info] Execution of upgrade:detect command stopped. Exit code is 128\r\n[info] Execution of upgrade:start command stopped. Exit code is 0\r\n[info] Execution of upgrade:start command started\r\n[info] Execution of upgrade:info command started\r\n[info] Execution of upgrade:info command stopped. Exit code is 0\r\n[info] Execution of upgrade:checkSystem command started\r\n[info] Execution of upgrade:checkSystem command stopped. Exit code is 0\r\n[info] Execution of upgrade:detect command started\r\n[info] ownCloud 9.0.1.3 found\r\n[info] Execution of upgrade:detect command stopped. Exit code is 0\r\n[info] Execution of upgrade:backupDb command started\r\n[info] Execution of upgrade:backupDb command stopped. Exit code is 0\r\n[info] Execution of upgrade:backupData command started\r\n[info] Execution of upgrade:backupData command stopped. Exit code is 0\r\n[info] Execution of upgrade:checkpoint command started\r\n[info] Execution of upgrade:checkpoint command stopped. Exit code is 0\r\n[info] Execution of upgrade:preUpgradeRepair command started\r\n[info] Execution of upgrade:preUpgradeRepair command stopped. Exit code is 0\r\n[info] Execution of upgrade:dbUpgrade command started\r\n[info] Execution of upgrade:dbUpgrade command stopped. Exit code is 0\r\n[info] Execution of upgrade:dbUpgrade command started\r\n[info] Execution of upgrade:dbUpgrade command stopped. Exit code is 0\r\n[info] Execution of upgrade:disableNotShippedApps command started\r\n[info] Execution of upgrade:disableNotShippedApps command stopped. Exit code is 0\r\n[info] Execution of upgrade:executeCoreUpgradeScripts command started\r\n[debug] Replacing 3rdparty\r\n[debug] Replacing config/config.sample.php\r\n[debug] Replacing core\r\n[debug] Replacing l10n\r\n[debug] Replacing lib\r\n[debug] Replacing ocs\r\n[debug] Replacing ocs-provider\r\n[debug] Replacing resources\r\n[debug] Replacing settings\r\n[debug] Replacing .htaccess\r\n[debug] Replacing .mailmap\r\n[debug] Replacing .tag\r\n[debug] Replacing .user.ini\r\n[debug] Replacing AUTHORS\r\n[debug] Replacing console.php\r\n[debug] Replacing COPYING-AGPL\r\n[debug] Replacing cron.php\r\n[debug] Replacing db_structure.xml\r\n[debug] Replacing index.html\r\n[debug] Replacing index.php\r\n[debug] Replacing indie.json\r\n[debug] Replacing occ\r\n[debug] Replacing public.php\r\n[debug] Replacing remote.php\r\n[debug] Replacing robots.txt\r\n[debug] Replacing status.php\r\n[debug] Replacing version.php\r\n[info] Execution of upgrade:executeCoreUpgradeScripts command stopped. Exit code is 0\r\n[info] Execution of upgrade:upgradeShippedApps command started\r\n```\r\n\r\n(*) The url where the updater downloads the file changed to make sure the daily master package (9.1) is downloaded for the current version. In addition, the build date of the current version (9.0.1) was modified (it was set 2 days ago), probably needed for the server side.\r\n\r\nProbably related to https://github.com/owncloud/updater/issues/335"},"comment":{"url":"https://api.github.com/repos/owncloud/updater/issues/comments/215352180","html_url":"https://github.com/owncloud/updater/issues/336#issuecomment-215352180","issue_url":"https://api.github.com/repos/owncloud/updater/issues/336","id":215352180,"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":"2016-04-28T08:33:36Z","updated_at":"2016-04-28T08:33:36Z","body":"> fails\r\n\r\nlooking forward to the details :smile: "}}