Upgrade from 14.0.4 to 15.0.0 - One vCard is broken

Support intro

When I upgrade manually (I always upgrade this way) from 14.0.4 to 15.0.0, I have a lot a warning messages Repair warning: One vCard is broken. We logged the exception and will continue the repair.

Nextcloud version (eg, 12.0.2): 14.0.4 to 15.0.0
Operating system and version (eg, Ubuntu 17.04): Slackware
Apache or nginx version (eg, Apache 2.4.25): nginx-1.14.2.
PHP version (eg, 7.1): 7.2.x

The issue you are facing:
Upgrade runs fine but with a lot of warnings.

I have many nextcloud instances with similar config, The issue happens with only one.

Is this the first time you’ve seen this error? (Y/N):
Yes

Steps to replicate it:

  1. After extracting, applying good perms and copying config/config.php in the new nextcloud 15.0.0 folder. I run “php occ upgrade” as http user
  2. Upgrade is done successfully but there are a lot of warning messages : Repair warning: One vCard is broken. We logged the exception and will continue the repair.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
This is the config file before the upgrade.

<?php
$CONFIG = array (
  'instanceid' => 'xxxxxxxxxxxxxx',
  'passwordsalt' => 'xxxxxxxxxxxxxxxxxxx',
  'trusted_domains' => 
  array (
    0 => 'cloud.example.org',
  ),
  'datadirectory' => '/srv/http/example.org/_data/cloud/data',
  'dbtype' => 'mysql',
  'version' => '14.0.4.2',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'myuser',
  'dbpassword' => 'mypassword',
  'installed' => true,
  'forcessl' => true,
  'maxZipInputSize' => 838860800,
  'allowZipDownload' => true,
  'theme' => '',
  'maintenance' => false,
  'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'forceSSLforSubdomains' => false,
  'loglevel' => 0,
  'trashbin_retention_obligation' => 'auto',
  'mail_from_address' => 'noreply',
  'mail_smtpmode' => 'smtp',
  'mail_domain' => 'example.org',
  'user_backends' => 
  array (
    0 => 
    array (
      'class' => 'OC_User_IMAP',
      'arguments' => 
      array (
        0 => '{localhost/imap}INBOX',
      ),
    ),
  ),
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'appstoreenabled' => true,
  'appstore.experimental.enabled' => false,
  'appcodechecker' => true,
  'overwrite.cli.url' => 'https://cloud.example.org',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtphost' => 'smtp.example.org',
  'mail_smtpport' => '25',
  'app.mail.accounts.default' => 
  array (
    'email' => '%USERID%',
    'imapHost' => 'imap.example.org',
    'imapPort' => 143,
    'imapSslMode' => 'none',
    'smtpHost' => 'smtp.example.org',
    'smtpPort' => 587,
    'smtpSslMode' => 'tls',
  ),
  'defaultapp' => 'apporder',
);

I retried using “php occ -vvv upgrade” and every vcard broken are marked as fixed so I consider this thread as solved.