{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16310","labels_url":"https://api.github.com/repos/owncloud/core/issues/16310/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16310/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16310/events","html_url":"https://github.com/owncloud/core/issues/16310","id":75810273,"number":16310,"title":"Can't migrate encryption keys (oc7 -> oc8) for users using IMAP auth.","user":{"login":"muppeth","id":8480830,"avatar_url":"https://avatars.githubusercontent.com/u/8480830?v=3","gravatar_id":"","url":"https://api.github.com/users/muppeth","html_url":"https://github.com/muppeth","followers_url":"https://api.github.com/users/muppeth/followers","following_url":"https://api.github.com/users/muppeth/following{/other_user}","gists_url":"https://api.github.com/users/muppeth/gists{/gist_id}","starred_url":"https://api.github.com/users/muppeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muppeth/subscriptions","organizations_url":"https://api.github.com/users/muppeth/orgs","repos_url":"https://api.github.com/users/muppeth/repos","events_url":"https://api.github.com/users/muppeth/events{/privacy}","received_events_url":"https://api.github.com/users/muppeth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_encryption","name":"app:files_encryption","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-13T02:03:05Z","updated_at":"2015-05-13T06:38:31Z","closed_at":null,"body":"Like in the title. I tried migrating keys using occ but seems like the only table being used is oc_users. All my users use user_external (IMAP authentication) so they are in oc_users_external. Any hint on how to modify migration script to look at other table? where is the script located?"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/101533961","html_url":"https://github.com/owncloud/core/issues/16310#issuecomment-101533961","issue_url":"https://api.github.com/repos/owncloud/core/issues/16310","id":101533961,"user":{"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},"created_at":"2015-05-13T06:38:31Z","updated_at":"2015-05-13T06:38:31Z","body":"Looks good so far in the migration code: https://github.com/owncloud/core/blob/485d415ed1a8e0ddf19c4848e5f12b3dd1ca13b6/apps/files_encryption/lib/migration.php#L49"}}