Hi all,
i just finished my Nextcloud Nextcloud 12.0.3 installation and managed to synchronize the calender to my IOS devices and Outlook.
But after importing the contacts i got this log entry:
atal webdav Doctrine\DBAL\Exception\UniqueConstraintViolationException: An exception occurred while executing 'INSERT INTO `oc_calendars` (`principaluri`, `uri`, `synctoken`, `transparent`, `components`, `displayname`, `calendarcolor`) VALUES(?, ?, ?, ?, ?, ?, ?)' with params ["principals\/users\/Mirko", "contact_birthdays", 1, 0, "VEVENT,VTODO", "Contact birthdays", "#FFFFCA"]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'principals/users/Mirko-contact_birthdays' for key 'calendars_index'
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 128: Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php - line 1015: Doctrine\DBAL\DBALException driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'INSERT INTO `oc...', Array)
/srv/dev-disk-by-label-data/www/nextcloud/lib/private/DB/Connection.php - line 213: Doctrine\DBAL\Connection->executeUpdate('INSERT INTO `oc...', Array, Array)
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php - line 208: OC\DB\Connection->executeUpdate('INSERT INTO `*P...', Array, Array)
/srv/dev-disk-by-label-data/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php - line 213: Doctrine\DBAL\Query\QueryBuilder->execute()
/srv/dev-disk-by-label-data/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php - line 673: OC\DB\QueryBuilder\QueryBuilder->execute()
/srv/dev-disk-by-label-data/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php - line 120: OCA\DAV\CalDAV\CalDavBackend->createCalendar('principals/user...', 'contact_birthda...', Array)
/srv/dev-disk-by-label-data/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php - line 82: OCA\DAV\CalDAV\BirthdayService->ensureCalendarExists('principals/user...')
/srv/dev-disk-by-label-data/www/nextcloud/apps/dav/lib/AppInfo/Application.php - line 98: OCA\DAV\CalDAV\BirthdayService->onCardChanged('2', '71848257-7459-4...', 'BEGIN VCARD\r\nVE...')
[internal function] OCA\DAV\AppInfo\Application->OCA\DAV\AppInfo\{closure}(Object(Symfony\Component\EventDispatcher\GenericEvent), '\\OCA\\DAV\\CardDA...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 174: call_user_func(Object(Closure), Object(Symfony\Component\EventDispatcher\GenericEvent), '\\OCA\\DAV\\CardDA...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 43: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, '\\OCA\\DAV\\CardDA...', Object(Symfony\Component\EventDispatcher\GenericEvent))
/srv/dev-disk-by-label-data/www/nextcloud/apps/dav/lib/CardDAV/CardDavBackend.php - line 622: Symfony\Component\EventDispatcher\EventDispatcher->dispatch('\\OCA\\DAV\\CardDA...', Object(Symfony\Component\EventDispatcher\GenericEvent))
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/sabre/dav/lib/CardDAV/AddressBook.php - line 144: OCA\DAV\CardDAV\CardDavBackend->createCard('2', '71848257-7459-4...', 'BEGIN VCARD\r\nVE...')
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1096: Sabre\CardDAV\AddressBook->createFile('71848257-7459-4...', 'BEGIN VCARD\r\nVE...')
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 525: Sabre\DAV\Server->createFile('addressbooks/us...', Resource id #85, NULL)
[internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PUT', Array)
/srv/dev-disk-by-label-data/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/srv/dev-disk-by-label-data/www/nextcloud/apps/dav/lib/Server.php - line 258: Sabre\DAV\Server->exec()
/srv/dev-disk-by-label-data/www/nextcloud/apps/dav/appinfo/v2/remote.php - line 33: OCA\DAV\Server->exec()
/srv/dev-disk-by-label-data/www/nextcloud/remote.php - line 162: require_once('/srv/dev-disk-b...')
{main}
Can somebody please tell me what i need to do?
And what is the reason that only contact with pictures are marked with “!” ?
Thanks