{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/calendar-rework/issues/221","repository_url":"https://api.github.com/repos/owncloud/calendar-rework","labels_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/221/comments","events_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/221/events","html_url":"https://github.com/owncloud/calendar-rework/issues/221","id":134663005,"number":221,"title":"calendar migration skips ldap users","user":{"login":"p5n","id":1318833,"avatar_url":"https://avatars.githubusercontent.com/u/1318833?v=3","gravatar_id":"","url":"https://api.github.com/users/p5n","html_url":"https://github.com/p5n","followers_url":"https://api.github.com/users/p5n/followers","following_url":"https://api.github.com/users/p5n/following{/other_user}","gists_url":"https://api.github.com/users/p5n/gists{/gist_id}","starred_url":"https://api.github.com/users/p5n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p5n/subscriptions","organizations_url":"https://api.github.com/users/p5n/orgs","repos_url":"https://api.github.com/users/p5n/repos","events_url":"https://api.github.com/users/p5n/events{/privacy}","received_events_url":"https://api.github.com/users/p5n/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-18T18:54:50Z","updated_at":"2016-02-19T16:44:08Z","closed_at":"2016-02-18T18:55:41Z","body":"### Steps to reproduce\r\nUpgrade from 8.2.2 -> 9.0beta1 with ldap backend enabled\r\n1. sudo -u http ./occ upgrade\r\n2. LDAP user's calendars are missing however users from oc_users table are ok\r\n\r\n### Expected behaviour\r\nAll calendars migrated\r\n\r\n### Actual behaviour\r\nOnly local DB user's calendars migrated from calendar to calendar-rework\r\n\r\n### Server configuration\r\n**Operating system**: Arch Linux\r\n\r\n**Web server:** apache-2.4.18\r\n\r\n**Database:** mariadb-10.1.11\r\n\r\n**PHP version:** 7.0.3\r\n\r\n**ownCloud version:** (see ownCloud admin page) 9.0beta1\r\n\r\n**Calendar version:** (see ownCloud apps page) -0.8.2 -> -rework-1.0alpha2\r\n\r\n**Updated from an older ownCloud or fresh install:** from 8.2.2\r\n\r\n#### Workaround\r\n1. Revert db\r\n2. Copy all ldap users to oc_users\r\n3. Do upgrade again\r\n4. delete ldap users back from oc_users table\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/calendar-rework/issues/comments/186295331","html_url":"https://github.com/owncloud/calendar-rework/issues/221#issuecomment-186295331","issue_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/221","id":186295331,"user":{"login":"georgehrke","id":1250540,"avatar_url":"https://avatars.githubusercontent.com/u/1250540?v=3","gravatar_id":"","url":"https://api.github.com/users/georgehrke","html_url":"https://github.com/georgehrke","followers_url":"https://api.github.com/users/georgehrke/followers","following_url":"https://api.github.com/users/georgehrke/following{/other_user}","gists_url":"https://api.github.com/users/georgehrke/gists{/gist_id}","starred_url":"https://api.github.com/users/georgehrke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgehrke/subscriptions","organizations_url":"https://api.github.com/users/georgehrke/orgs","repos_url":"https://api.github.com/users/georgehrke/repos","events_url":"https://api.github.com/users/georgehrke/events{/privacy}","received_events_url":"https://api.github.com/users/georgehrke/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T16:44:08Z","updated_at":"2016-02-19T16:44:08Z","body":"Ah, they already reported it in core, so never mind"}}