Steps to reproduce
- Upgrade from 8.0.4 to 8.1 using occ command:
apt-get update
aptitude full-upgrade -y
sudo -u www-data php /var/www/owncloud/occ upgrade
sudo -u www-data php /var/www/owncloud/occ app:enable mail
sudo -u www-data php /var/www/owncloud/occ app:enable calendar
sudo -u www-data php /var/www/owncloud/occ app:enable contacts
sudo -u www-data php /var/www/owncloud/occ app:enable documents
First run:
Current status: 0 updates [-22].
ownCloud or one of the apps require upgrade - only a limited number of commands are available
Turned on maintenance mode
Checked database schema update
Checked database schema update for apps
Updated database
Disabled incompatible app: calendar
Disabled 3rd-party app: calendar
Disabled incompatible app: contacts
Disabled 3rd-party app: contacts
Disabled 3rd-party app: documents
Disabled 3rd-party app: mail
Disabled 3rd-party app: music
Disabled 3rd-party app: tasks
Updating <activity> ...
Updated <activity> to 2.0.1
Updating <files_sharing> ...
Updated <files_sharing> to 0.6.2
Updating <files_trashbin> ...
Updated <files_trashbin> to 0.6.3
Updating <files_versions> ...
Updated <files_versions> to 1.0.6
Update 3rd-party app: calendar
Update successful
Turned off maintenance mode
mail enabled
calendar enabled
ownCloud or one of the apps require upgrade - only a limited number of commands are available
contacts enabled
ownCloud or one of the apps require upgrade - only a limited number of commands are available
documents enabled
ownCloud or one of the apps require upgrade - only a limited number of commands are available
tasks enabled
root@en0ch:~# reboot
Second run:
ownCloud is already latest version
mail is already enabled
calendar is already enabled
contacts enabled
PHP Fatal error: Access to undeclared static property: Sabre\VObject\Component: :$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php on line 15
PHP Fatal error: Access to undeclared static property: Sabre\VObject\Component: :$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php on line 15
find: `/var/www/owncloud/data/daniel@en0ch.se/cache/ownCloud_www.en0ch.se-flat.v mdk-chunking-1428473208-1169': No such file or directory
root@en0ch:~# cd /var/www/owncloud/
root@en0ch:/var/www/owncloud# sudo -u www-data php occ maintenance:mode --on
PHP Fatal error: Access to undeclared static property: Sabre\VObject\Component::$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php on line 15
root@en0ch:/var/www/owncloud# sudo -u www-data php occ app:disable contacts
PHP Fatal error: Access to undeclared static property: Sabre\VObject\Component::$classMap in /var/www/owncloud/apps/contacts/appinfo/app.php on line 15
- 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.
- Disable contacts
root@en0ch:/var/www/owncloud# sudo -u www-data php occ app:disable contacts
contacts disabled
root@en0ch:/var/www/owncloud#
Now it works again, but shouldn't be like this.
Expected behavior
ownCloud should upgrade to 8.1 without any issues
Actual Behavior
I get WSOD because some error with the contacts app, and have to delete the contacts app to make it run again.
Server configuration
Operating system:
Ubuntu Server 14.04.2
Web server:
Database:
Server version: 5.5.43-0ubuntu0.14.04.1 (Ubuntu)
PHP version:
PHP 5.5.9-1ubuntu4.11 (cli) (built: Jul 2 2015 15:23:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
ownCloud version: (see ownCloud admin page)
8.1
Updated from an older ownCloud or fresh install:
Updated from 8.0.4
List of activated apps:
Enabled:
- activity: 2.0.1
- calendar: 0.7.1
- documents: 0.9.0
- files: 1.1.9
- files_locking:
- files_pdfviewer: 0.7
- files_sharing: 0.6.2
- files_texteditor: 0.4
- files_trashbin: 0.6.3
- files_versions: 1.0.6
- files_videoviewer: 0.1.3
- firstrunwizard: 1.1
- gallery: 0.6.0
- mail: 0.1.3
- tasks: 0.6.0
- templateeditor: 0.1
Disabled:
- encryption
- external
- files_external
- music
- provisioning_api
- search_lucene
- user_external
- user_ldap
- user_webdavauth
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => 'oc106ccbdf7c',
'passwordsalt' => 'SECRET',
'datadirectory' => '/var/www/owncloud/data',
'dbtype' => 'mysql',
'version' => '8.1.0.8',
'dbname' => 'owncloud',
'dbhost' => 'en0ch.se',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_enoch',
'dbpassword' => 'SECRET',
'installed' => true,
'maxZipInputSize' => 0,
'allowZipDownload' => true,
'session_lifetime' => 1800,
'forcessl' => true,
'updatechecker' => true,
'loglevel' => 2,
'theme' => '',
'maintenance' => false,
'trusted_domains' =>
array (
0 => 'en0ch.se',
1 => 'www.en0ch.se',
),
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'enable_previews' => true,
'app.mail.server-side-cache.enabled' => true,
'app.mail.imaplog.enabled' => true,
'logtimezone' => 'Europe/Stockholm',
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
ownCloud log (data/owncloud.log)
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
{"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"}
Steps to reproduce
First run:
Second run:
Now it works again, but shouldn't be like this.
Expected behavior
ownCloud should upgrade to 8.1 without any issues
Actual Behavior
I get WSOD because some error with the contacts app, and have to delete the contacts app to make it run again.
Server configuration
Operating system:
Ubuntu Server 14.04.2
Web server:
Database:
Server version: 5.5.43-0ubuntu0.14.04.1 (Ubuntu)
PHP version:
PHP 5.5.9-1ubuntu4.11 (cli) (built: Jul 2 2015 15:23:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
ownCloud version: (see ownCloud admin page)
8.1
Updated from an older ownCloud or fresh install:
Updated from 8.0.4
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
ownCloud log (data/owncloud.log)