{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15445","labels_url":"https://api.github.com/repos/owncloud/core/issues/15445/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15445/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15445/events","html_url":"https://github.com/owncloud/core/pull/15445","id":66927488,"number":15445,"title":"add migration script from old encryption to new one","user":{"login":"schiesbn","id":1589737,"avatar_url":"https://avatars.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiesbn","html_url":"https://github.com/schiesbn","followers_url":"https://api.github.com/users/schiesbn/followers","following_url":"https://api.github.com/users/schiesbn/following{/other_user}","gists_url":"https://api.github.com/users/schiesbn/gists{/gist_id}","starred_url":"https://api.github.com/users/schiesbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiesbn/subscriptions","organizations_url":"https://api.github.com/users/schiesbn/orgs","repos_url":"https://api.github.com/users/schiesbn/repos","events_url":"https://api.github.com/users/schiesbn/events{/privacy}","received_events_url":"https://api.github.com/users/schiesbn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-07T16:17:46Z","updated_at":"2015-04-07T17:27:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/15445","html_url":"https://github.com/owncloud/core/pull/15445","diff_url":"https://github.com/owncloud/core/pull/15445.diff","patch_url":"https://github.com/owncloud/core/pull/15445.patch"},"body":"migration from the old encryption to the new one.\r\n\r\nAll test pass locally but still need manual testing.\r\n\r\nCurrently migration only works with the occ command line tool (call ````./occ encryption:migrate````) . Still open how to provide automatic migration. How can we check in the update script if it is the first login after the app was enabled if the version number wasn't increased? Only execute the automatic migration of no LDAP backend is enabled? What about other external backends?\r\n\r\n- [ ] open question: what's the best way to enable new app on upgrade, enable encryption in core and set new app as default module? Or is it OK to make this a manual step if it is well documented in the release notes?\r\n\r\ncc @th3fallen maybe you can give it a try?"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/90656560","html_url":"https://github.com/owncloud/core/pull/15445#issuecomment-90656560","issue_url":"https://api.github.com/repos/owncloud/core/issues/15445","id":90656560,"user":{"login":"scrutinizer-notifier","id":6398257,"avatar_url":"https://avatars.githubusercontent.com/u/6398257?v=3","gravatar_id":"","url":"https://api.github.com/users/scrutinizer-notifier","html_url":"https://github.com/scrutinizer-notifier","followers_url":"https://api.github.com/users/scrutinizer-notifier/followers","following_url":"https://api.github.com/users/scrutinizer-notifier/following{/other_user}","gists_url":"https://api.github.com/users/scrutinizer-notifier/gists{/gist_id}","starred_url":"https://api.github.com/users/scrutinizer-notifier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrutinizer-notifier/subscriptions","organizations_url":"https://api.github.com/users/scrutinizer-notifier/orgs","repos_url":"https://api.github.com/users/scrutinizer-notifier/repos","events_url":"https://api.github.com/users/scrutinizer-notifier/events{/privacy}","received_events_url":"https://api.github.com/users/scrutinizer-notifier/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T17:27:57Z","updated_at":"2015-04-07T17:27:57Z","body":"The [inspection](https://scrutinizer-ci.com/g/owncloud/core/inspections/3cc6e8cb-003a-4318-abab-0023adcc6b83) completed: **15 new issues, 35 updated code elements**"}}