{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/23890","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/23890/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/23890/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/23890/events","html_url":"https://github.com/owncloud/core/issues/23890","id":147208164,"number":23890,"title":"Migration of calendards doesn't work (update from 8.2.2 to 9.0.1)","user":{"login":"scroom","id":5347731,"avatar_url":"https://avatars.githubusercontent.com/u/5347731?v=3","gravatar_id":"","url":"https://api.github.com/users/scroom","html_url":"https://github.com/scroom","followers_url":"https://api.github.com/users/scroom/followers","following_url":"https://api.github.com/users/scroom/following{/other_user}","gists_url":"https://api.github.com/users/scroom/gists{/gist_id}","starred_url":"https://api.github.com/users/scroom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scroom/subscriptions","organizations_url":"https://api.github.com/users/scroom/orgs","repos_url":"https://api.github.com/users/scroom/repos","events_url":"https://api.github.com/users/scroom/events{/privacy}","received_events_url":"https://api.github.com/users/scroom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-10T09:05:55Z","updated_at":"2016-04-10T09:49:06Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Updated owncloud via Ubuntu sources\r\n2. Tried to run the migration again following [morrisjobke.de](http://morrisjobke.de/2016/03/07/ownCloud-9.0-calendar-migration-analysis/)\r\n\r\n### Expected behaviour\r\nCalendars should work as before, there should be calendars in the database\r\n\r\n### Actual behaviour\r\nNo calendars are shown, they are not in the database, the migrations ends without an error message but with no effect\r\n\r\n### Server configuration\r\n**Operating system**: Ubuntu 14.04 LTS\r\n\r\n**Web server:** Apache\r\n \r\n**Database:** MySQL\r\n\r\n**PHP version:** PHP 5.5.9-1ubuntu4.14 (cli)\r\n\r\n**ownCloud version:** 9.0.1\r\n\r\n**Updated from an older ownCloud or fresh install:** 8.2.2\r\n\r\n**Where did you install ownCloud from:** [sources](https://download.owncloud.org/download/repositories/stable/owncloud/)\r\n\r\n**Signing status (ownCloud 9.0 and above):**\r\n\r\n```\r\nNo errors have been found.\r\n```\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nEnabled:\r\n  - activity: 2.2.1\r\n  - calendar: 1.0\r\n  - comments: 0.2\r\n  - contacts: 1.1.0.0\r\n  - dav: 0.1.6\r\n  - direct_menu: 0.7.1\r\n  - documents: 0.12.0\r\n  - external: 1.2\r\n  - federatedfilesharing: 0.1.0\r\n  - federation: 0.0.4\r\n  - files: 1.4.4\r\n  - files_mv: 0.8.2\r\n  - files_pdfviewer: 0.8\r\n  - files_sharing: 0.9.1\r\n  - files_texteditor: 2.1\r\n  - files_trashbin: 0.8.0\r\n  - files_versions: 1.2.0\r\n  - files_videoplayer: 0.9.8\r\n  - firstrunwizard: 1.1\r\n  - gallery: 14.5.0\r\n  - mail: 0.4.1\r\n  - notifications: 0.2.3\r\n  - ownnote: 1.07\r\n  - provisioning_api: 0.4.1\r\n  - systemtags: 0.2\r\n  - tasks: 0.8.1\r\n  - templateeditor: 0.1\r\n  - updatenotification: 0.1.0\r\n  - user_ldap: 0.8.0\r\nDisabled:\r\n  - encryption\r\n  - files_antivirus\r\n  - files_external\r\n  - user_external\r\n```\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => '*****',\r\n  'passwordsalt' => '****',\r\n  'secret' => '****',\r\n  'trusted_domains' => \r\n  array (\r\n    0 => '*****.de',\r\n    1 => 'www.*****.de',\r\n  ),\r\n  'datadirectory' => '/var/www/owncloud/data',\r\n  'overwrite.cli.url' => 'https://*****.de/owncloud',\r\n  'dbtype' => 'mysql',\r\n  'version' => '9.0.1.3',\r\n  'dbname' => 'owncloud',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'owncloud',\r\n  'dbpassword' => '*****',\r\n  'logtimezone' => 'Europe/Berlin',\r\n  'installed' => true,\r\n  'ldapIgnoreNamingRules' => false,\r\n  'appstore.experimental.enabled' => true,\r\n  'mail_from_address' => 'cloud',\r\n  'mail_smtpmode' => 'php',\r\n  'mail_domain' => 'heinrichheinedo.de',\r\n  'logfile' => '/var/log/owncloud.log',\r\n  'loglevel' => 2,\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'preview_libreoffice_path' => '/usr/bin/libreoffice',\r\n  'trashbin_retention_obligation' => 'auto',\r\n  'memcache.local' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'filelocking.enabled' => 'true',\r\n  'memcache.distributed' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'memcache.locking' => '\\\\OC\\\\Memcache\\\\Redis',\r\n  'redis' => \r\n  array (\r\n    'host' => 'localhost',\r\n    'port' => 6379,\r\n    'timeout' => 0,\r\n    'dbindex' => 0,\r\n  ),\r\n  'updatechecker' => false,\r\n);\r\n\r\n```\r\n\r\n**Are you using external storage, if yes which one:** No\r\n\r\n**Are you using encryption:** No\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP\r\n\r\n#### LDAP configuration (delete this part if not used)\r\n\r\n```\r\n+-------------------------------+----------------------------------------------------------------------------+\r\n| Configuration                 | s01                                                                        |\r\n+-------------------------------+----------------------------------------------------------------------------+\r\n| hasMemberOfFilterSupport      |                                                                            |\r\n| hasPagedResultSupport         |                                                                            |\r\n| homeFolderNamingRule          |                                                                            |\r\n| lastJpegPhotoLookup           | 0                                                                          |\r\n| ldapAgentName                 | cn=******,dc=*****,dc=de                                        |\r\n| ldapAgentPassword             | ***                                                                        |\r\n| ldapAttributesForGroupSearch  | cn;mail                                                                    |\r\n| ldapAttributesForUserSearch   | cn;mail                                                                    |\r\n| ldapBackupHost                |                                                                            |\r\n| ldapBackupPort                |                                                                            |\r\n| ldapBase                      | o=domains,dc=******,dc=de                                         |\r\n| ldapBaseGroups                | ou=Groups,domainName=******.de,o=domains,dc=*******,dc=de |\r\n| ldapBaseUsers                 | o=domains,dc=*******,dc=de                                         |\r\n| ldapCacheTTL                  | 600                                                                        |\r\n| ldapConfigurationActive       | 1                                                                          |\r\n| ldapDynamicGroupMemberURL     |                                                                            |\r\n| ldapEmailAttribute            | mail                                                                       |\r\n| ldapExperiencedAdmin          | 0                                                                          |\r\n| ldapExpertUUIDGroupAttr       | cn                                                                         |\r\n| ldapExpertUUIDUserAttr        | sn                                                                         |\r\n| ldapExpertUsernameAttr        |                                                                            |\r\n| ldapGroupDisplayName          | cn                                                                         |\r\n| ldapGroupFilter               | (|(objectclass=posixGroup))                                                |\r\n| ldapGroupFilterGroups         |                                                                            |\r\n| ldapGroupFilterMode           | 1                                                                          |\r\n| ldapGroupFilterObjectclass    | posixGroup                                                                 |\r\n| ldapGroupMemberAssocAttr      | memberUid                                                                  |\r\n| ldapHost                      | localhost                                                                  |\r\n| ldapIgnoreNamingRules         |                                                                            |\r\n| ldapLoginFilter               | (&(|(objectclass=mailUser))(|(sn=%uid)))                                   |\r\n| ldapLoginFilterAttributes     | sn                                                                         |\r\n| ldapLoginFilterEmail          | 0                                                                          |\r\n| ldapLoginFilterMode           | 0                                                                          |\r\n| ldapLoginFilterUsername       | 0                                                                          |\r\n| ldapNestedGroups              | 0                                                                          |\r\n| ldapOverrideMainServer        |                                                                            |\r\n| ldapPagingSize                | 500                                                                        |\r\n| ldapPort                      | 389                                                                        |\r\n| ldapQuotaAttribute            |                                                                            |\r\n| ldapQuotaDefault              |                                                                            |\r\n| ldapTLS                       | 0                                                                          |\r\n| ldapUserDisplayName           | cn                                                                         |\r\n| ldapUserDisplayName2          |                                                                            |\r\n| ldapUserFilter                | (|(objectclass=mailUser))                                                  |\r\n| ldapUserFilterGroups          |                                                                            |\r\n| ldapUserFilterMode            | 0                                                                          |\r\n| ldapUserFilterObjectclass     | mailUser                                                                   |\r\n| ldapUuidGroupAttribute        | auto                                                                       |\r\n| ldapUuidUserAttribute         | auto                                                                       |\r\n| turnOffCertCheck              | 0                                                                          |\r\n| useMemberOfToDetectMembership | 0                                                                          |\r\n+-------------------------------+----------------------------------------------------------------------------+\r\n\r\n```\r\n\r\n### Client configuration\r\n**Browser:** Doesn't matter\r\n\r\n**Operating system:** Doesn't matter\r\n\r\n### Logs\r\n#### Web server error log\r\n```\r\nNothing new in the logs\r\n```\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\n[owncloud.log.txt](https://github.com/owncloud/core/files/211688/owncloud.log.txt)\r\n```\r\n\r\n#### Browser log\r\n```\r\nNot relevant\r\n\r\n\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/207951376","html_url":"https://github.com/owncloud/core/issues/23890#issuecomment-207951376","issue_url":"https://api.github.com/repos/owncloud/core/issues/23890","id":207951376,"user":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T09:49:06Z","updated_at":"2016-04-10T09:49:06Z","body":"@blizzz looks like ldap fun ... sorry to drag you in ..."}}