{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17452","labels_url":"https://api.github.com/repos/owncloud/core/issues/17452/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17452/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17452/events","html_url":"https://github.com/owncloud/core/issues/17452","id":93566703,"number":17452,"title":"Fatal Error during update, Access to undeclared static property: Sabre\\VObject\\Component::$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php","user":{"login":"enoch85","id":4511254,"avatar_url":"https://avatars.githubusercontent.com/u/4511254?v=3","gravatar_id":"","url":"https://api.github.com/users/enoch85","html_url":"https://github.com/enoch85","followers_url":"https://api.github.com/users/enoch85/followers","following_url":"https://api.github.com/users/enoch85/following{/other_user}","gists_url":"https://api.github.com/users/enoch85/gists{/gist_id}","starred_url":"https://api.github.com/users/enoch85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enoch85/subscriptions","organizations_url":"https://api.github.com/users/enoch85/orgs","repos_url":"https://api.github.com/users/enoch85/repos","events_url":"https://api.github.com/users/enoch85/events{/privacy}","received_events_url":"https://api.github.com/users/enoch85/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/update","name":"update","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/46","html_url":"https://github.com/owncloud/core/milestones/8.1.1-current-maintenance-2015-08-04","labels_url":"https://api.github.com/repos/owncloud/core/milestones/46/labels","id":1167392,"number":46,"title":"8.1.1-current-maintenance-2015-08-04","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":1,"state":"open","created_at":"2015-06-16T19:39:31Z","updated_at":"2015-07-07T16:09:58Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-07T16:07:34Z","updated_at":"2015-07-07T16:12:22Z","closed_at":null,"body":"Steps to reproduce\r\n\r\n1. Upgrade from 8.0.4 to 8.1 using occ command:\r\n\r\n```\r\napt-get update\r\naptitude full-upgrade -y\r\nsudo -u www-data php /var/www/owncloud/occ upgrade\r\n\r\nsudo -u www-data php /var/www/owncloud/occ app:enable mail\r\nsudo -u www-data php /var/www/owncloud/occ app:enable calendar\r\nsudo -u www-data php /var/www/owncloud/occ app:enable contacts\r\nsudo -u www-data php /var/www/owncloud/occ app:enable documents\r\n```\r\n\r\nFirst run:\r\n\r\n```\r\nCurrent status: 0 updates [-22].\r\nownCloud or one of the apps require upgrade - only a limited number of commands                                                             are available\r\nTurned on maintenance mode\r\nChecked database schema update\r\nChecked database schema update for apps\r\nUpdated database\r\nDisabled incompatible app: calendar\r\nDisabled 3rd-party app: calendar\r\nDisabled incompatible app: contacts\r\nDisabled 3rd-party app: contacts\r\nDisabled 3rd-party app: documents\r\nDisabled 3rd-party app: mail\r\nDisabled 3rd-party app: music\r\nDisabled 3rd-party app: tasks\r\nUpdating <activity> ...\r\nUpdated <activity> to 2.0.1\r\nUpdating <files_sharing> ...\r\nUpdated <files_sharing> to 0.6.2\r\nUpdating <files_trashbin> ...\r\nUpdated <files_trashbin> to 0.6.3\r\nUpdating <files_versions> ...\r\nUpdated <files_versions> to 1.0.6\r\nUpdate 3rd-party app: calendar\r\nUpdate successful\r\nTurned off maintenance mode\r\nmail enabled\r\ncalendar enabled\r\nownCloud or one of the apps require upgrade - only a limited number of commands                                                             are available\r\ncontacts enabled\r\nownCloud or one of the apps require upgrade - only a limited number of commands                                                             are available\r\ndocuments enabled\r\nownCloud or one of the apps require upgrade - only a limited number of commands                                                             are available\r\ntasks enabled\r\nroot@en0ch:~# reboot\r\n```\r\n\r\nSecond run:\r\n\r\n```\r\nownCloud is already latest version\r\nmail is already enabled\r\ncalendar is already enabled\r\ncontacts enabled\r\nPHP Fatal error:  Access to undeclared static property: Sabre\\VObject\\Component:                                                            :$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php on line 15\r\nPHP Fatal error:  Access to undeclared static property: Sabre\\VObject\\Component:                                                            :$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php on line 15\r\nfind: `/var/www/owncloud/data/daniel@en0ch.se/cache/ownCloud_www.en0ch.se-flat.v                                                            mdk-chunking-1428473208-1169': No such file or directory\r\nroot@en0ch:~# cd /var/www/owncloud/\r\nroot@en0ch:/var/www/owncloud# sudo -u www-data php occ maintenance:mode --on\r\nPHP Fatal error:  Access to undeclared static property: Sabre\\VObject\\Component::$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php on line 15\r\nroot@en0ch:/var/www/owncloud# sudo -u www-data php occ app:disable contacts\r\nPHP Fatal error:  Access to undeclared static property: Sabre\\VObject\\Component::$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php on line 15\r\n```\r\n\r\n2. Now I got WSOD and can't access ownCloud at all so I figured I will delete the contacts app from the system, and so I did. \r\n\r\n3. Disable contacts\r\n\r\n```\r\nroot@en0ch:/var/www/owncloud# sudo -u www-data php occ app:disable contacts\r\ncontacts disabled\r\nroot@en0ch:/var/www/owncloud#\r\n```\r\nNow it works again, but shouldn't be like this.\r\n\r\n### Expected behavior\r\nownCloud should upgrade to 8.1 without any issues\r\n\r\n### Actual Behavior\r\nI get WSOD because some error with the contacts app, and have to delete the contacts app to make it run again.\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu Server 14.04.2\r\n**Web server:**\r\n\r\n**Database:**\r\nServer version: 5.5.43-0ubuntu0.14.04.1 (Ubuntu)\r\n\r\n**PHP version:**\r\nPHP 5.5.9-1ubuntu4.11 (cli) (built: Jul  2 2015 15:23:08)\r\nCopyright (c) 1997-2014 The PHP Group\r\nZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies\r\n    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n8.1\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nUpdated from 8.0.4\r\n\r\n**List of activated apps:**\r\n\r\n```\r\nEnabled:\r\n - activity: 2.0.1\r\n - calendar: 0.7.1\r\n - documents: 0.9.0\r\n - files: 1.1.9\r\n - files_locking:\r\n - files_pdfviewer: 0.7\r\n - files_sharing: 0.6.2\r\n - files_texteditor: 0.4\r\n - files_trashbin: 0.6.3\r\n - files_versions: 1.0.6\r\n - files_videoviewer: 0.1.3\r\n - firstrunwizard: 1.1\r\n - gallery: 0.6.0\r\n - mail: 0.1.3\r\n - tasks: 0.6.0\r\n - templateeditor: 0.1\r\nDisabled:\r\n - encryption\r\n - external\r\n - files_external\r\n - music\r\n - provisioning_api\r\n - search_lucene\r\n - user_external\r\n - user_ldap\r\n - user_webdavauth\r\n\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' => 'oc106ccbdf7c',\r\n  'passwordsalt' => 'SECRET',\r\n  'datadirectory' => '/var/www/owncloud/data',\r\n  'dbtype' => 'mysql',\r\n  'version' => '8.1.0.8',\r\n  'dbname' => 'owncloud',\r\n  'dbhost' => 'en0ch.se',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'oc_enoch',\r\n  'dbpassword' => 'SECRET',\r\n  'installed' => true,\r\n  'maxZipInputSize' => 0,\r\n  'allowZipDownload' => true,\r\n  'session_lifetime' => 1800,\r\n  'forcessl' => true,\r\n  'updatechecker' => true,\r\n  'loglevel' => 2,\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => 'en0ch.se',\r\n    1 => 'www.en0ch.se',\r\n  ),\r\n  'preview_libreoffice_path' => '/usr/bin/libreoffice',\r\n  'enable_previews' => true,\r\n  'app.mail.server-side-cache.enabled' => true,\r\n  'app.mail.imaplog.enabled' => true,\r\n  'logtimezone' => 'Europe/Stockholm',\r\n```\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nNo\r\n**Are you using encryption:** yes/no\r\nNo\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\nNo\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\n{\"reqId\":\"daad5e7547fe84cd3e9ef3495d443533\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#100\",\"level\":3,\"time\":\"2015-07-07T17:10:50+02:00\"}\r\n{\"reqId\":\"daad5e7547fe84cd3e9ef3495d443533\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:50+02:00\"}\r\n{\"reqId\":\"daad5e7547fe84cd3e9ef3495d443533\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:50+02:00\"}\r\n{\"reqId\":\"daad5e7547fe84cd3e9ef3495d443533\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:50+02:00\"}\r\n{\"reqId\":\"e6683f2af114ffd45bae84b3787b50d6\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#100\",\"level\":3,\"time\":\"2015-07-07T17:10:51+02:00\"}\r\n{\"reqId\":\"e6683f2af114ffd45bae84b3787b50d6\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:51+02:00\"}\r\n{\"reqId\":\"e6683f2af114ffd45bae84b3787b50d6\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:51+02:00\"}\r\n{\"reqId\":\"e6683f2af114ffd45bae84b3787b50d6\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:51+02:00\"}\r\n{\"reqId\":\"433dfa10ab45089cc87de582d9f53fdd\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#100\",\"level\":3,\"time\":\"2015-07-07T17:10:52+02:00\"}\r\n{\"reqId\":\"433dfa10ab45089cc87de582d9f53fdd\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:52+02:00\"}\r\n{\"reqId\":\"433dfa10ab45089cc87de582d9f53fdd\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:52+02:00\"}\r\n{\"reqId\":\"433dfa10ab45089cc87de582d9f53fdd\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:52+02:00\"}\r\n{\"reqId\":\"8b4c5d0ec626283379d98c6a504e3f65\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#100\",\"level\":3,\"time\":\"2015-07-07T17:10:53+02:00\"}\r\n{\"reqId\":\"8b4c5d0ec626283379d98c6a504e3f65\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:53+02:00\"}\r\n{\"reqId\":\"8b4c5d0ec626283379d98c6a504e3f65\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:53+02:00\"}\r\n{\"reqId\":\"8b4c5d0ec626283379d98c6a504e3f65\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:53+02:00\"}\r\n{\"reqId\":\"a70420dbc830f5146db80175eefe89ef\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#100\",\"level\":3,\"time\":\"2015-07-07T17:10:55+02:00\"}\r\n{\"reqId\":\"a70420dbc830f5146db80175eefe89ef\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:55+02:00\"}\r\n{\"reqId\":\"a70420dbc830f5146db80175eefe89ef\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:55+02:00\"}\r\n{\"reqId\":\"a70420dbc830f5146db80175eefe89ef\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:55+02:00\"}\r\n{\"reqId\":\"bf44a98573dfcb96d99622f25573423d\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#100\",\"level\":3,\"time\":\"2015-07-07T17:10:56+02:00\"}\r\n{\"reqId\":\"bf44a98573dfcb96d99622f25573423d\",\"remoteAddr\":\"79.138.133.115\",\"app\":\"PHP\",\"message\":\"Cannot modify header information - headers already sent by (output started at \\/var\\/www\\/owncloud\\/lib\\/private\\/image.php:249) at \\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/app.php#104\",\"level\":3,\"time\":\"2015-07-07T17:10:56+02:00\"}\r\n```\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/119255018","html_url":"https://github.com/owncloud/core/issues/17452#issuecomment-119255018","issue_url":"https://api.github.com/repos/owncloud/core/issues/17452","id":119255018,"user":{"login":"enoch85","id":4511254,"avatar_url":"https://avatars.githubusercontent.com/u/4511254?v=3","gravatar_id":"","url":"https://api.github.com/users/enoch85","html_url":"https://github.com/enoch85","followers_url":"https://api.github.com/users/enoch85/followers","following_url":"https://api.github.com/users/enoch85/following{/other_user}","gists_url":"https://api.github.com/users/enoch85/gists{/gist_id}","starred_url":"https://api.github.com/users/enoch85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enoch85/subscriptions","organizations_url":"https://api.github.com/users/enoch85/orgs","repos_url":"https://api.github.com/users/enoch85/repos","events_url":"https://api.github.com/users/enoch85/events{/privacy}","received_events_url":"https://api.github.com/users/enoch85/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T16:12:22Z","updated_at":"2015-07-07T16:12:22Z","body":"@RealRancor Maybe, but this is the contacts app. Calendar has no issues anymore, at least for me."}}