{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/updater/issues/107","labels_url":"https://api.github.com/repos/owncloud/updater/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/updater/issues/107/comments","events_url":"https://api.github.com/repos/owncloud/updater/issues/107/events","html_url":"https://github.com/owncloud/updater/issues/107","id":64599330,"number":107,"title":"Check dependencies like PHP version before the upgrade","user":{"login":"RealRancor","id":2248459,"avatar_url":"https://avatars.githubusercontent.com/u/2248459?v=3","gravatar_id":"","url":"https://api.github.com/users/RealRancor","html_url":"https://github.com/RealRancor","followers_url":"https://api.github.com/users/RealRancor/followers","following_url":"https://api.github.com/users/RealRancor/following{/other_user}","gists_url":"https://api.github.com/users/RealRancor/gists{/gist_id}","starred_url":"https://api.github.com/users/RealRancor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RealRancor/subscriptions","organizations_url":"https://api.github.com/users/RealRancor/orgs","repos_url":"https://api.github.com/users/RealRancor/repos","events_url":"https://api.github.com/users/RealRancor/events{/privacy}","received_events_url":"https://api.github.com/users/RealRancor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/updater/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-26T18:17:55Z","updated_at":"2015-04-06T14:12:28Z","closed_at":null,"body":"Hi,\r\n\r\ncurrently hard dependencies like PHP 5.4 are only checked in core:\r\n\r\nhttps://github.com/owncloud/core/blob/v8.0.2/lib/private/util.php#L622-L629\r\n\r\nEspecially in the case of an upgrade from a system running OC 7.x with PHP 5.3 to OC 8.x this caused a failure of the upgrade. User often just miss to read this new dependency in the documentation and so they are stuck with a new OC8 upgrade which forces them either to roll-back an backup or to upgrade their PHP.\r\n\r\nAs the updater from OC7 for example can't know what new dependencies OC8 will bring maybe the API on https://apps.owncloud.com/updater.php?version=4x90x14x1338030373.1628x1373617342.3379xstablex could be extended to show such problematic new dependencies like PHP 5.4. This could be used by the updater app to warn the user before doing the upgrade."},"comment":{"url":"https://api.github.com/repos/owncloud/updater/issues/comments/90078274","html_url":"https://github.com/owncloud/updater/issues/107#issuecomment-90078274","issue_url":"https://api.github.com/repos/owncloud/updater/issues/107","id":90078274,"user":{"login":"aznewt","id":11818569,"avatar_url":"https://avatars.githubusercontent.com/u/11818569?v=3","gravatar_id":"","url":"https://api.github.com/users/aznewt","html_url":"https://github.com/aznewt","followers_url":"https://api.github.com/users/aznewt/followers","following_url":"https://api.github.com/users/aznewt/following{/other_user}","gists_url":"https://api.github.com/users/aznewt/gists{/gist_id}","starred_url":"https://api.github.com/users/aznewt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aznewt/subscriptions","organizations_url":"https://api.github.com/users/aznewt/orgs","repos_url":"https://api.github.com/users/aznewt/repos","events_url":"https://api.github.com/users/aznewt/events{/privacy}","received_events_url":"https://api.github.com/users/aznewt/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T14:12:28Z","updated_at":"2015-04-06T14:12:28Z","body":"Indeed, this happened to me last night: didn't read the dependencies, clicked update, installed 8.0.2 on my php 5.3.24 hosting plan. I don't have a 7.x database backup so  now having to figure out how to get back to 7.x\r\n\r\nPlease give ths enhancement ahigh priority!"}}