csoc-de / Shifts

MIT License
30 stars 7 forks source link

Failed to synchronize calendar #75

Open Router1982 opened 3 months ago

Router1982 commented 3 months ago

Ich scheibe in Deutsch Failed to synchronize calendar Manchmal Funktioniert es aber auch

Failed to load resource: the server responded with a status of 500 () Shifts.vue:83 Failed to synchronize calendar: We (anonymous) @ Shifts.vue:83 database.js:402

   PATCH https://nextcloud.rjpe.duckdns.org/apps/shifts/shiftsCalendar 500 (Internal Server Error)

(anonymous) @ xhr.js:195 xhr @ xhr.js:15 gn @ dispatchRequest.js:51 _request @ Axios.js:173 request @ Axios.js:40 (anonymous) @ Axios.js:212 (anonymous) @ bind.js:5 (anonymous) @ database.js:402 synchronizeCalendar @ database.js:401 (anonymous) @ vuex.esm.js:851 m.dispatch @ vuex.esm.js:516 dispatch @ vuex.esm.js:406 syncCalendar @ Shifts.vue:81 wn @ vue.runtime.esm.js:3033 n @ vue.runtime.esm.js:1832 click @ index.module.js:2 wn @ vue.runtime.esm.js:3033 n @ vue.runtime.esm.js:1832 a._wrapper @ vue.runtime.esm.js:7500 Show 16 more frames Show less Shifts.vue:83 Failed to synchronize calendar: We {message: 'Request failed with status code 500', name: 'AxiosError', code: 'ERR_BAD_RESPONSE', config: {…}, request: XMLHttpRequest, …

DienstAdmin ist Ersteller des Kalenders und auch in der Gruppe ShiftsAdmin

csoc-kevink commented 2 months ago

Hi Router1982,

uns ist aufgefallen, dass die Kalender-Synchronisation nicht mehr funktioniert, wenn ein Schicht-Tausch kaputt gegangen ist (z.B. weil die ID der Schicht sich geändert hat oder der Benutzer ein anderer ist).

Kannst du im Log der Nextcloud selbst mal schauen, ob dort eine Log-Nachricht mit mehr Informationen steht?

Router1982 commented 2 months ago

Hi gern, hoffe es hilft. Fehler landet sofort im Log beim versuch zu Synchronisieren

{"reqId":"WQNriuU5CZIfpKEP14UL","level":3,"time":"2024-09-12T06:19:49+00:00","remoteAddr":"87.139.162.134","user":"DienstAdmin","app":"shifts","method":"PATCH","url":"/apps/shifts/shiftsCalendar","message":"ShiftsCalendarController::synchronize()","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"29.0.6.1","exception":{"Exception":"OC\DB\Exceptions\DbalException","Message":"An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","Code":1062,"Trace":[{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":328,"function":"wrap","class":"OC\DB\Exceptions\DbalException","type":"::","args":[["Doctrine\DBAL\Exception\UniqueConstraintViolationException"]]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1298,"function":"executeStatement","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":63,"function":"OCA\DAV\CalDAV\{closure}","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1249,"function":"atomic","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[["Closure"],["OC\DB\ConnectionAdapter"]]},{"file":"/var/www/html/custom_apps/shifts/lib/Service/ShiftsCalendarService.php","line":270,"function":"createCalendarObject","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/custom_apps/shifts/lib/Controller/ShiftsCalendarController.php","line":164,"function":"create","class":"OCA\Shifts\Service\ShiftsCalendarService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"synchronize","class":"OCA\Shifts\Controller\ShiftsCalendarController","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Shifts\Controller\ShiftsCalendarController","synchronize",["OC\AppFramework\DependencyInjection\DIContainer"],["shifts.shiftscalendar.synchronize"]]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/shifts/shiftsCalendar"]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/DB/Exceptions/DbalException.php","Line":71,"Previous":{"Exception":"Doctrine\DBAL\Exception\UniqueConstraintViolationException","Message":"An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","Code":1062,"Trace":[{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1943,"function":"convert","class":"Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter","type":"->","args":[["Doctrine\DBAL\Driver\PDO\Exception"],["Doctrine\DBAL\Query"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1885,"function":"handleDriverException","class":"Doctrine\DBAL\Connection","type":"->","args":[["Doctrine\DBAL\Driver\PDO\Exception"],["Doctrine\DBAL\Query"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1213,"function":"convertExceptionDuringQuery","class":"Doctrine\DBAL\Connection","type":"->","args":[["Doctrine\DBAL\Driver\PDO\Exception"],"INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php","line":292,"function":"executeStatement","class":"Doctrine\DBAL\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/Connection.php","line":383,"function":"executeStatement","class":"Doctrine\DBAL\Connections\PrimaryReadReplicaConnection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":393,"function":"executeStatement","class":"OC\DB\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\DBAL\Query\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":326,"function":"execute","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1298,"function":"executeStatement","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":63,"function":"OCA\DAV\CalDAV\{closure}","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1249,"function":"atomic","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[["Closure"],["OC\DB\ConnectionAdapter"]]},{"file":"/var/www/html/custom_apps/shifts/lib/Service/ShiftsCalendarService.php","line":270,"function":"createCalendarObject","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/custom_apps/shifts/lib/Controller/ShiftsCalendarController.php","line":164,"function":"create","class":"OCA\Shifts\Service\ShiftsCalendarService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"synchronize","class":"OCA\Shifts\Controller\ShiftsCalendarController","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Shifts\Controller\ShiftsCalendarController","synchronize",["OC\AppFramework\DependencyInjection\DIContainer"],["shifts.shiftscalendar.synchronize"]]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/shifts/shiftsCalendar"]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php","Line":62,"Previous":{"Exception":"Doctrine\DBAL\Driver\PDO\Exception","Message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","Code":1062,"Trace":[{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":132,"function":"new","class":"Doctrine\DBAL\Driver\PDO\Exception","type":"::","args":[["PDOException",["23000",1062,"Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'"]]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1207,"function":"execute","class":"Doctrine\DBAL\Driver\PDO\Statement","type":"->","args":[]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php","line":292,"function":"executeStatement","class":"Doctrine\DBAL\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/Connection.php","line":383,"function":"executeStatement","class":"Doctrine\DBAL\Connections\PrimaryReadReplicaConnection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":393,"function":"executeStatement","class":"OC\DB\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\DBAL\Query\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":326,"function":"execute","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1298,"function":"executeStatement","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":63,"function":"OCA\DAV\CalDAV\{closure}","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1249,"function":"atomic","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[["Closure"],["OC\DB\ConnectionAdapter"]]},{"file":"/var/www/html/custom_apps/shifts/lib/Service/ShiftsCalendarService.php","line":270,"function":"createCalendarObject","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/custom_apps/shifts/lib/Controller/ShiftsCalendarController.php","line":164,"function":"create","class":"OCA\Shifts\Service\ShiftsCalendarService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"synchronize","class":"OCA\Shifts\Controller\ShiftsCalendarController","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Shifts\Controller\ShiftsCalendarController","synchronize",["OC\AppFramework\DependencyInjection\DIContainer"],["shifts.shiftscalendar.synchronize"]]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/shifts/shiftsCalendar"]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php","Line":28,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","Code":"23000","Trace":[{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":130,"function":"execute","class":"PDOStatement","type":"->","args":[null]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1207,"function":"execute","class":"Doctrine\DBAL\Driver\PDO\Statement","type":"->","args":[]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php","line":292,"function":"executeStatement","class":"Doctrine\DBAL\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/Connection.php","line":383,"function":"executeStatement","class":"Doctrine\DBAL\Connections\PrimaryReadReplicaConnection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":393,"function":"executeStatement","class":"OC\DB\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\DBAL\Query\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":326,"function":"execute","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1298,"function":"executeStatement","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":63,"function":"OCA\DAV\CalDAV\{closure}","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1249,"function":"atomic","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[["Closure"],["OC\DB\ConnectionAdapter"]]},{"file":"/var/www/html/custom_apps/shifts/lib/Service/ShiftsCalendarService.php","line":270,"function":"createCalendarObject","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/custom_apps/shifts/lib/Controller/ShiftsCalendarController.php","line":164,"function":"create","class":"OCA\Shifts\Service\ShiftsCalendarService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"synchronize","class":"OCA\Shifts\Controller\ShiftsCalendarController","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Shifts\Controller\ShiftsCalendarController","synchronize",["OC\AppFramework\DependencyInjection\DIContainer"],["shifts.shiftscalendar.synchronize"]]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/shifts/shiftsCalendar"]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","Line":130}}},"message":"ShiftsCalendarController::synchronize()","exception":[],"CustomMessage":"ShiftsCalendarController::synchronize()"},"id":"66e28817e6f08"}

Und

{"reqId":"WQNriuU5CZIfpKEP14UL","level":3,"time":"2024-09-12T06:19:49+00:00","remoteAddr":"87.139.162.134","user":"DienstAdmin","app":"index","method":"PATCH","url":"/apps/shifts/shiftsCalendar","message":"An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0","version":"29.0.6.1","exception":{"Exception":"OC\DB\Exceptions\DbalException","Message":"An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","Code":1062,"Trace":[{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":328,"function":"wrap","class":"OC\DB\Exceptions\DbalException","type":"::","args":[["Doctrine\DBAL\Exception\UniqueConstraintViolationException"]]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1298,"function":"executeStatement","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":63,"function":"OCA\DAV\CalDAV\{closure}","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1249,"function":"atomic","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[["Closure"],["OC\DB\ConnectionAdapter"]]},{"file":"/var/www/html/custom_apps/shifts/lib/Service/ShiftsCalendarService.php","line":270,"function":"createCalendarObject","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/custom_apps/shifts/lib/Controller/ShiftsCalendarController.php","line":164,"function":"create","class":"OCA\Shifts\Service\ShiftsCalendarService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"synchronize","class":"OCA\Shifts\Controller\ShiftsCalendarController","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Shifts\Controller\ShiftsCalendarController","synchronize",["OC\AppFramework\DependencyInjection\DIContainer"],["shifts.shiftscalendar.synchronize"]]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/shifts/shiftsCalendar"]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/DB/Exceptions/DbalException.php","Line":71,"Previous":{"Exception":"Doctrine\DBAL\Exception\UniqueConstraintViolationException","Message":"An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","Code":1062,"Trace":[{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1943,"function":"convert","class":"Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter","type":"->","args":[["Doctrine\DBAL\Driver\PDO\Exception"],["Doctrine\DBAL\Query"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1885,"function":"handleDriverException","class":"Doctrine\DBAL\Connection","type":"->","args":[["Doctrine\DBAL\Driver\PDO\Exception"],["Doctrine\DBAL\Query"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1213,"function":"convertExceptionDuringQuery","class":"Doctrine\DBAL\Connection","type":"->","args":[["Doctrine\DBAL\Driver\PDO\Exception"],"INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php","line":292,"function":"executeStatement","class":"Doctrine\DBAL\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/Connection.php","line":383,"function":"executeStatement","class":"Doctrine\DBAL\Connections\PrimaryReadReplicaConnection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":393,"function":"executeStatement","class":"OC\DB\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\DBAL\Query\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":326,"function":"execute","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1298,"function":"executeStatement","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":63,"function":"OCA\DAV\CalDAV\{closure}","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1249,"function":"atomic","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[["Closure"],["OC\DB\ConnectionAdapter"]]},{"file":"/var/www/html/custom_apps/shifts/lib/Service/ShiftsCalendarService.php","line":270,"function":"createCalendarObject","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/custom_apps/shifts/lib/Controller/ShiftsCalendarController.php","line":164,"function":"create","class":"OCA\Shifts\Service\ShiftsCalendarService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"synchronize","class":"OCA\Shifts\Controller\ShiftsCalendarController","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Shifts\Controller\ShiftsCalendarController","synchronize",["OC\AppFramework\DependencyInjection\DIContainer"],["shifts.shiftscalendar.synchronize"]]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/shifts/shiftsCalendar"]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php","Line":62,"Previous":{"Exception":"Doctrine\DBAL\Driver\PDO\Exception","Message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","Code":1062,"Trace":[{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":132,"function":"new","class":"Doctrine\DBAL\Driver\PDO\Exception","type":"::","args":[["PDOException",["23000",1062,"Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'"]]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1207,"function":"execute","class":"Doctrine\DBAL\Driver\PDO\Statement","type":"->","args":[]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php","line":292,"function":"executeStatement","class":"Doctrine\DBAL\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/Connection.php","line":383,"function":"executeStatement","class":"Doctrine\DBAL\Connections\PrimaryReadReplicaConnection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":393,"function":"executeStatement","class":"OC\DB\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\DBAL\Query\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":326,"function":"execute","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1298,"function":"executeStatement","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":63,"function":"OCA\DAV\CalDAV\{closure}","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1249,"function":"atomic","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[["Closure"],["OC\DB\ConnectionAdapter"]]},{"file":"/var/www/html/custom_apps/shifts/lib/Service/ShiftsCalendarService.php","line":270,"function":"createCalendarObject","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/custom_apps/shifts/lib/Controller/ShiftsCalendarController.php","line":164,"function":"create","class":"OCA\Shifts\Service\ShiftsCalendarService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"synchronize","class":"OCA\Shifts\Controller\ShiftsCalendarController","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Shifts\Controller\ShiftsCalendarController","synchronize",["OC\AppFramework\DependencyInjection\DIContainer"],["shifts.shiftscalendar.synchronize"]]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/shifts/shiftsCalendar"]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php","Line":28,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","Code":"23000","Trace":[{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","line":130,"function":"execute","class":"PDOStatement","type":"->","args":[null]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connection.php","line":1207,"function":"execute","class":"Doctrine\DBAL\Driver\PDO\Statement","type":"->","args":[]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php","line":292,"function":"executeStatement","class":"Doctrine\DBAL\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/Connection.php","line":383,"function":"executeStatement","class":"Doctrine\DBAL\Connections\PrimaryReadReplicaConnection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php","line":393,"function":"executeStatement","class":"OC\DB\Connection","type":"->","args":["INSERT INTO oc_calendarobjects (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, classification, uid, calendartype) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)",[" sensitive parameters replaced "," sensitive parameters replaced "," sensitive parameters replaced ",1726121989,"804596e0be6f15139ccf2e11b8d1a9da","And 7 more entries, set log level to debug to see all entries"],[2,2,3,2,2,"And 7 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\DBAL\Query\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":326,"function":"execute","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1298,"function":"executeStatement","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/public/AppFramework/Db/TTransactional.php","line":63,"function":"OCA\DAV\CalDAV\{closure}","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/apps/dav/lib/CalDAV/CalDavBackend.php","line":1249,"function":"atomic","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[["Closure"],["OC\DB\ConnectionAdapter"]]},{"file":"/var/www/html/custom_apps/shifts/lib/Service/ShiftsCalendarService.php","line":270,"function":"createCalendarObject","class":"OCA\DAV\CalDAV\CalDavBackend","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/custom_apps/shifts/lib/Controller/ShiftsCalendarController.php","line":164,"function":"create","class":"OCA\Shifts\Service\ShiftsCalendarService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"synchronize","class":"OCA\Shifts\Controller\ShiftsCalendarController","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->","args":[["OCA\Shifts\Controller\ShiftsCalendarController"],"synchronize"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\AppFramework\App","type":"::","args":["OCA\Shifts\Controller\ShiftsCalendarController","synchronize",["OC\AppFramework\DependencyInjection\DIContainer"],["shifts.shiftscalendar.synchronize"]]},{"file":"/var/www/html/lib/base.php","line":1058,"function":"match","class":"OC\Route\Router","type":"->","args":["/apps/shifts/shiftsCalendar"]},{"file":"/var/www/html/index.php","line":49,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php","Line":130}}},"message":"An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'","exception":[],"CustomMessage":"An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '17-0-7bd4a7fd-d488-5853-ebde-031bf159c267' for key 'calobjects_index'"},"id":"66e28817e6cd4"}

chrihuc commented 3 weeks ago

Die Log Zeile kommt bei mir auch: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '32-0-af1aac74-2a26-c83f-5e43-f647a95acd0a' for key 'calobjects_index' Wie bekomme ich den Eintrag wieder raus?

csoc-kevink commented 2 weeks ago

Hi @Router1982 und @chrihuc

tut mir leid für die lange Wartezeit. Momentan hab ich sehr viel zu tun.

Die Meldung könnte daher kommen, dass ein Eintrag "gelöscht" und genau der gleich weider hinzugefügt werden soll. Es ist ein Problem mit dem Nextcloud Kalender an sich, nicht mit der ShiftsApp. Mir ist vor einiger Zeit aufgefallen, dass die Einträge aus dem Kalender nicht wirklich gelöscht, sondern in den Papierkorb verschoben werden. Wenn die Einträge aus dem Papierkorb gelöscht werden, sollte das wieder gehen.