{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17091","labels_url":"https://api.github.com/repos/owncloud/core/issues/17091/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17091/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17091/events","html_url":"https://github.com/owncloud/core/issues/17091","id":90329265,"number":17091,"title":"Make CLI upgrade the default to avoid timeouts, web UI upgrade only for shared hosters","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},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement%20-%20proposed","name":"enhancement - proposed","color":"FF9900"},{"url":"https://api.github.com/repos/owncloud/core/labels/update","name":"update","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":565,"closed_issues":745,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-09-16T12:01:28Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":13,"created_at":"2015-06-23T08:58:41Z","updated_at":"2015-09-16T12:03:42Z","closed_at":null,"body":"#### Disambiguation:\r\n- \"updater app\": this app https://github.com/owncloud/updater. The app that appear in the admin page and automatically downloads the new tarball and installs it.\r\n- \"update page\": whenever an upgrade is due, the updater page appears with a \"Start upgrade\" button:\r\n![update_page](https://cloud.githubusercontent.com/assets/277525/8302123/55880fec-1994-11e5-8ba3-3da3f97b279a.png)\r\n\r\n#### The problem:\r\n- When upgrading from the update page (web UI) with a lot of data, it is likely that PHP will run into timeouts and could result in half-migrated instances (ex: encryption keys). So far, it was advised on that page to run a CLI upgrade instead.\r\n- It is tempting for an admin who sees this page to simply click \"Start upgrade\" and hope it all works fine.\r\n\r\n#### Goal:\r\n- goal is to make CLI upgrade the default to reduce accidental timeout issues and only have web UI update page if really necessary (ex: shared hosters where no CLI is available)\r\n\r\n#### Proposal:\r\n- separate the CLI upgrade from the web UI upgrade\r\n- make CLI upgrade the default, display a simple page \"Upgrade required, please update on the CLI\" instead of the regular *update page* when an update is due\r\n- only if the *updater app* is enabled, then show the usual *update page*, the one with \"Start upgrade\" button\r\n- this means that the web UI *update page* becomes part of the *updater app*\r\n- disable the \"updater app\" by default and have people using shared hosters enable it manually (auto-detect if possible, maybe when installed from the magic owncloud-install.php script)\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/140720897","html_url":"https://github.com/owncloud/core/issues/17091#issuecomment-140720897","issue_url":"https://api.github.com/repos/owncloud/core/issues/17091","id":140720897,"user":{"login":"Xenopathic","id":2016878,"avatar_url":"https://avatars.githubusercontent.com/u/2016878?v=3","gravatar_id":"","url":"https://api.github.com/users/Xenopathic","html_url":"https://github.com/Xenopathic","followers_url":"https://api.github.com/users/Xenopathic/followers","following_url":"https://api.github.com/users/Xenopathic/following{/other_user}","gists_url":"https://api.github.com/users/Xenopathic/gists{/gist_id}","starred_url":"https://api.github.com/users/Xenopathic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xenopathic/subscriptions","organizations_url":"https://api.github.com/users/Xenopathic/orgs","repos_url":"https://api.github.com/users/Xenopathic/repos","events_url":"https://api.github.com/users/Xenopathic/events{/privacy}","received_events_url":"https://api.github.com/users/Xenopathic/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T12:03:42Z","updated_at":"2015-09-16T12:03:42Z","body":"@jancborchardt An implementation is available over at #18782 btw"}}