Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version 20.0.3
More Details:
The issue you are facing:
Is this the first time you’ve seen this error? : Yes
Steps to replicate it:
- Create a new contact in Thunderbirs (Cardbook)
- Gets synced with Cardbook
- In NC Contact it is shown when i search for, but not found when i click it:
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
{"reqId":"X9cyFQP0gxFHsLzHOYICbAAAAAk","level":3,"time":"2020-12-14T09:36:21+00:00","remoteAddr":"80.138.160.143","user":"Darkwing","app":"PHP","method":"GET","url":"/nextcloud/ocs/v2.php/search/providers/calendar/search?term=fore&from=%2Fnextcloud%2Fapps%2Fcontacts%2FAlle%2520Kontakte%2Fe9da2f48-058b-49e6-aedb-458a0f235c7e~Gesch%2525c3%2525a4ftlich","message":{"Exception":"Error","Message":"Undefined index: {http://owncloud.org/ns}owner-principal at /var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php#1792","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php","line":1792,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8,"Undefined index: {http://owncloud.org/ns}owner-principal","/var/www/nextcloud/apps/dav/lib/CalDAV/CalDavBackend.php",1792,{"principalUri":"principals/users/Darkwing","pattern":"fore","componentTypes":["VEVENT"],"searchProperties":["SUMMARY","LOCATION","DESCRIPTION","ATTENDEE","ORGANIZER","CATEGORIES"],"searchParameters":{"ATTENDEE":["CN"],"ORGANIZER":["CN"]},"options":{"limit":5,"offset":null},"escapePattern":true,"calendarObjectIdQuery":{"__class__":"OC\\DB\\QueryBuilder\\QueryBuilder"},"calendarOr":{"__class__":"OC\\DB\\QueryBuilder\\CompositeExpression"},"searchOr":{"__class__":"OC\\DB\\QueryBuilder\\CompositeExpression"},"calendars":[{"id":"1","uri":"personal","principaluri":"principals/users/Darkwing","{http://calendarserver.org/ns/}getctag":"http://sabre.io/ns/sync/3025","{http://sabredav.org/ns}sync-token":"3025","{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet"},"{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\ScheduleCalendarTransp"},"{http://owncloud.org/ns}owner-principal":"principals/users/Darkwing","{DAV:}displayname":"Persönlich","{urn:ietf:params:xml:ns:caldav}calendar-description":null,"{urn:ietf:params:xml:ns:caldav}calendar-timezone":null,"{http://apple.com/ns/ical/}calendar-order":"0","{http://apple.com/ns/ical/}calendar-color":"#CACBCD","{http://nextcloud.com/ns}owner-displayname":"Darkwing"},{"id":"3","uri":"geburtstage","principaluri":"principals/users/Darkwing","{http://calendarserver.org/ns/}getctag":"http://sabre.io/ns/sync/740","{http://sabredav.org/ns}sync-token":"740","{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet"},"{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\ScheduleCalendarTransp"},"{http://owncloud.org/ns}owner-principal":"principals/users/Darkwing","{DAV:}displayname":"Geburtstage","{urn:ietf:params:xml:ns:caldav}calendar-description":null,"{urn:ietf:params:xml:ns:caldav}calendar-timezone":null,"{http://apple.com/ns/ical/}calendar-order":"0","{http://apple.com/ns/ical/}calendar-color":"#365bec","{http://nextcloud.com/ns}owner-displayname":"Darkwing"},{"id":"4","uri":"contact_birthdays","principaluri":"principals/users/Darkwing","{http://calendarserver.org/ns/}getctag":"http://sabre.io/ns/sync/128","{http://sabredav.org/ns}sync-token":"128","{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet"},"{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\ScheduleCalendarTransp"},"{http://owncloud.org/ns}owner-principal":"principals/users/Darkwing","{DAV:}displayname":"Contact birthdays","{urn:ietf:params:xml:ns:caldav}calendar-description":null,"{urn:ietf:params:xml:ns:caldav}calendar-timezone":null,"{http://apple.com/ns/ical/}calendar-order":"0","{http://apple.com/ns/ical/}calendar-color":"#FFFFCA","{http://nextcloud.com/ns}owner-displayname":"Darkwing"}],"subscriptions":[{"id":"1","uri":"feiertage","principaluri":"principals/users/Darkwing","source":"http://www.webcal.fi/cal.php?id=75&format=ics&wrn=1&wp=4&wf=53&color=%23FF3100&cntr=de&lang=de&rid=wc","lastmodified":"1582850702","{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet"},"{http://sabredav.org/ns}sync-token":"3039","{DAV:}displayname":"Feiertage","{http://apple.com/ns/ical/}refreshrate":"P1W","{http://apple.com/ns/ical/}calendar-order":"0","{http://apple.com/ns/ical/}calendar-color":"#FF3100"},{"id":"2","uri":"gut-zu-wissen","principaluri":"principals/users/Darkwing","source":"http://www.webcal.fi/cal.php?id=215&format=ics&wrn=1&wp=2&wf=53&color=%23e06666&cntr=de&lang=de&rid=wc","lastmodified":"1582850704","{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet"},"{http://sabredav.org/ns}sync-token":"8111","{DAV:}displayname":"Gut zu wissen","{http://apple.com/ns/ical/}refreshrate":"P1W","{http://apple.com/ns/ical/}calendar-order":"0","{http://apple.com/ns/ical/}calendar-color":"#E06666"}],"calendar":{"id":"4","uri":"contact_birthdays","principaluri":"principals/users/Darkwing","{http://calendarserver.org/ns/}getctag":"http://sabre.io/ns/sync/128","{http://sabredav.org/ns}sync-token":"128","{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet"},"{urn:ietf:params:xml:ns:caldav}schedule-calendar-transp":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\ScheduleCalendarTransp"},"{http://owncloud.org/ns}owner-principal":"principals/users/Darkwing","{DAV:}displayname":"Contact birthdays","{urn:ietf:params:xml:ns:caldav}calendar-description":null,"{urn:ietf:params:xml:ns:caldav}calendar-timezone":null,"{http://apple.com/ns/ical/}calendar-order":"0","{http://apple.com/ns/ical/}calendar-color":"#FFFFCA","{http://nextcloud.com/ns}owner-displayname":"Darkwing"},"calendarAnd":{"__class__":"OC\\DB\\QueryBuilder\\CompositeExpression"},"subscription":{"id":"1","uri":"feiertage","principaluri":"principals/users/Darkwing","source":"http://www.webcal.fi/cal.php?id=75&format=ics&wrn=1&wp=4&wf=53&color=%23FF3100&cntr=de&lang=de&rid=wc","lastmodified":"1582850702","{urn:ietf:params:xml:ns:caldav}supported-calendar-component-set":{"__class__":"Sabre\\CalDAV\\Xml\\Property\\SupportedCalendarComponentSet"},"{http://sabredav.org/ns}sync-token":"3039","{DAV:}displayname":"Feiertage","{http://apple.com/ns/ical/}refreshrate":"P1W","{http://apple.com/ns/ical/}calendar-order":"0","{http://apple.com/ns/ical/}calendar-color":"#FF3100"},"subscriptionAnd":{"__class__":"OC\\DB\\QueryBuilder\\CompositeExpression"}}]},{"file":"/var/www/nextcloud/apps/dav/lib/Search/EventsSearchProvider.php","line":116,"function":"searchPrincipalUri","class":"OCA\\DAV\\CalDAV\\CalDavBackend","type":"->","args":["principals/users/Darkwing","fore",["VEVENT"],["SUMMARY","LOCATION","DESCRIPTION","ATTENDEE","ORGANIZER","CATEGORIES"],{"ATTENDEE":["CN"],"ORGANIZER":["CN"]},{"limit":5,"offset":null}]},{"file":"/var/www/nextcloud/lib/private/Search/SearchComposer.php","line":162,"function":"search","class":"OCA\\DAV\\Search\\EventsSearchProvider","type":"->","args":[{"__class__":"OC\\User\\User"},{"__class__":"OC\\Search\\SearchQuery"}]},{"file":"/var/www/nextcloud/core/Controller/UnifiedSearchController.php","line":110,"function":"search","class":"OC\\Search\\SearchComposer","type":"->","args":[{"__class__":"OC\\User\\User"},"calendar",{"__class__":"OC\\Search\\SearchQuery"}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"search","class":"OC\\Core\\Controller\\UnifiedSearchController","type":"->","args":["calendar","fore",null,null,null,"/nextcloud/apps/contacts/Alle%20Kontakte/e9da2f48-058b-49e6-aedb-458a0f235c7e~Gesch%25c3%25a4ftlich"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\UnifiedSearchController"},"search"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\UnifiedSearchController"},"search"]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\UnifiedSearchController","search",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"providerId":"calendar","_route":"ocs.core.UnifiedSearch.search"}]},{"file":"/var/www/nextcloud/ocs/v1.php","line":88,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/search/providers/calendar/search"]},{"file":"/var/www/nextcloud/ocs/v2.php","line":24,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":91,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"20.0.3.2","id":"5fd73b82634b6"}
The output of your Apache/nginx/system log in /var/log/____
:
Mon Dec 14 10:13:40.341189 2020] [core:notice] [pid 890] AH00094: Command line: '/usr/sbin/apache2'
[Mon Dec 14 10:34:51.540586 2020] [autoindex:error] [pid 963] [client 80.138.160.143:58566] AH01276: Cannot serve directory /var/www/nextcloud: No matching DirectoryIndex (none) found, and server-generated directory index forbidden by Options directive
[Mon Dec 14 10:36:30.433198 2020] [proxy_fcgi:error] [pid 954] (70007)The timeout specified has expired: [client 80.138.160.143:58608] AH01075: Error dispatching request to : (polling)
[Mon Dec 14 10:50:09.359893 2020] [proxy_fcgi:error] [pid 6313] (70007)The timeout specified has expired: [client 80.138.160.143:59350] AH01075: Error dispatching request to : (polling)
[Mon Dec 14 10:53:08.269293 2020] [proxy_fcgi:error] [pid 8512] (70007)The timeout specified has expired: [client 80.138.160.143:59504] AH01075: Error dispatching request to : (polling)
[Mon Dec 14 10:53:13.616496 2020] [cgi:error] [pid 7717] [client 128.106.166.8:39486] AH02811: script not found or unable to stat: /usr/lib/cgi-bin/ViewLog.asp
[Mon Dec 14 11:00:31.168851 2020] [proxy_fcgi:error] [pid 7860] (70007)The timeout specified has expired: [client 80.138.160.143:59916] AH01075: Error dispatching request to : (polling)
[Mon Dec 14 11:16:20.673894 2020] [autoindex:error] [pid 7717] [client 80.138.160.143:32958] AH01276: Cannot serve directory /var/www/nextcloud: No matching DirectoryIndex (none) found, and server-generated directory index forbidden by Options directive