Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addressbook syncronization with KDE KAddressbook #7654

Closed
kreutpet opened this issue Dec 31, 2017 · 36 comments
Closed

Addressbook syncronization with KDE KAddressbook #7654

kreutpet opened this issue Dec 31, 2017 · 36 comments
Labels
Milestone

Comments

@kreutpet
Copy link

kreutpet commented Dec 31, 2017

Steps to reproduce

1.add a new addressbook in KAddressbook (Kontact 5.5.3) choosing DAV groupware
2.choose the owncloud type of groupware server
3.test successfully the connection
4.check list of contact in the new addressbook. Not all contact are listed.
5. open log in nextcloud with admin account and new ERROR listed
Undefined index: name at /var/www/cloud/3rdparty/sabre/dav/lib/CardDAV/Xml/Filter/AddressData.php#56

maybe is related to this issue
sabre-io/dav#1017

Expected behaviour

All contacts should be listed including the complete set of information within the contacts.
error message in log should indicate which contact is creating the issue.

Actual behaviour

not all contact are syncronized to KDE Kadressbook
out of 75 on 8 are synced and these do not contain addresses

Server configuration

Operating system:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

Web server:
apachectl -V
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-09-18T15:09:02
Server's Module Magic Number: 20120211:52
Server loaded: APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"

Database:
mysql --version
mysql Ver 14.14 Distrib 5.7.20, for Linux (x86_64) using EditLine wrapper

PHP version:
php --version
PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies

Nextcloud version: (see Nextcloud admin page)
12.0.4 stable
Updated from an older Nextcloud/ownCloud or fresh install:
updated from version 9 -> 10 ->11 and then 12
Where did you install Nextcloud from:

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.

List of activated apps:

App list Enabled: - activity: 2.5.2 - admin_audit: 1.2.0 - audioplayer: 2.2.2 - bookmarks: 0.10.1 - bruteforcesettings: 1.0.3 - calendar: 1.5.7 - comments: 1.2.0 - contacts: 2.0.1 - dav: 1.3.0 - documents: 0.16.0 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_external: 1.3.0 - files_pdfviewer: 1.1.1 - files_retention: 1.1.2 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - mail: 0.7.6 - music: 0.5.5 - nextcloud_announcements: 1.1 - notes: 2.3.2 - notifications: true - oauth2: 1.0.5 - onlyoffice: 1.1.6 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - survey_client: 1.0.0 - systemtags: 1.2.0 - tasks: 0.9.5 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - updatenotification: 1.2.0 - workflowengine: 1.2.0 Disabled: - encryption - user_external - user_ldap

Nextcloud configuration:

Config report { "system": { "instanceid": "oc8tlek3t7l6", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "192.168.1.10" ], "datadirectory": "\/var\/www\/cloud\/data", "overwrite.cli.url": "https:\/\/192.168.1.10\/cloud", "htaccess.RewriteBase": "\/cloud", "dbtype": "mysql", "version": "12.0.4.3", "installed": true, "theme": "", "maintenance": false, "trashbin_retention_obligation": "auto", "dbname": "owncloud", "dbhost": "127.0.0.1", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "log_type": "file", "logfile": "\/var\/log\/cloud.log", "loglevel": 2, "mail_from_address": "", "mail_smtpmode": "smtp", "mail_domain": "", "memcache.local": "\\OC\\Memcache\\APCu", "appstore.experimental.enabled": true, "updatechecker": false, "updater.release.channel": "stable", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "smtp.gmail.com", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "ssl", "updater.secret": "***REMOVED SENSITIVE VALUE***" } }

Are you using external storage, if yes which one: local/smb/sftp/...
yes google drive

Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Browser:
firefox 57.0.3 (64-Bit)
Operating system:
ubuntu 17.10

Logs

Web server error log

Web server error log
Undefined index: name at /var/www/cloud/3rdparty/sabre/dav/lib/CardDAV/Xml/Filter/AddressData.php#56

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"V88nHYQcnWrcVDa3Nget","level":0,"time":"2018-01-01T20:50:18+00:00","remoteAddr":"192.168.1.1","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Run OCA\\Files\\BackgroundJob\\CleanupFileLocks job with ID 10","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"V88nHYQcnWrcVDa3Nget","level":0,"time":"2018-01-01T20:50:18+00:00","remoteAddr":"192.168.1.1","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished OCA\\Files\\BackgroundJob\\CleanupFileLocks job with ID 10 in 0 seconds","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"9NIrij5IH4d72azjZMV9","level":0,"time":"2018-01-01T20:50:31+00:00","remoteAddr":"192.168.1.1","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Run OC\\Command\\CommandJob job with ID 134","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"9NIrij5IH4d72azjZMV9","level":0,"time":"2018-01-01T20:50:32+00:00","remoteAddr":"192.168.1.1","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished OC\\Command\\CommandJob job with ID 134 in 1 seconds","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"g5VzIKeKjJP9mz7FbJlJ","level":0,"time":"2018-01-01T20:50:36+00:00","remoteAddr":"192.168.1.1","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Run OCA\\Files\\BackgroundJob\\ScanFiles job with ID 11","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"g5VzIKeKjJP9mz7FbJlJ","level":0,"time":"2018-01-01T20:50:36+00:00","remoteAddr":"192.168.1.1","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished OCA\\Files\\BackgroundJob\\ScanFiles job with ID 11 in 0 seconds","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"U8ohKS1E1YDxMKQcjE6M","level":0,"time":"2018-01-01T20:50:44+00:00","remoteAddr":"192.168.1.1","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Run OCA\\Files\\BackgroundJob\\DeleteOrphanedItems job with ID 12","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"U8ohKS1E1YDxMKQcjE6M","level":0,"time":"2018-01-01T20:50:44+00:00","remoteAddr":"192.168.1.1","user":"--","app":"DeleteOrphanedItems","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned system tag relations deleted","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"U8ohKS1E1YDxMKQcjE6M","level":0,"time":"2018-01-01T20:50:44+00:00","remoteAddr":"192.168.1.1","user":"--","app":"DeleteOrphanedItems","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned user tag relations deleted","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"U8ohKS1E1YDxMKQcjE6M","level":0,"time":"2018-01-01T20:50:44+00:00","remoteAddr":"192.168.1.1","user":"--","app":"DeleteOrphanedItems","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned comments deleted","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"U8ohKS1E1YDxMKQcjE6M","level":0,"time":"2018-01-01T20:50:44+00:00","remoteAddr":"192.168.1.1","user":"--","app":"DeleteOrphanedItems","method":"GET","url":"\/cloud\/cron.php","message":"0 orphaned comment read marks deleted","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"U8ohKS1E1YDxMKQcjE6M","level":0,"time":"2018-01-01T20:50:44+00:00","remoteAddr":"192.168.1.1","user":"--","app":"cron","method":"GET","url":"\/cloud\/cron.php","message":"Finished OCA\\Files\\BackgroundJob\\DeleteOrphanedItems job with ID 12 in 0 seconds","userAgent":"Mozilla\/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko\/20100101 Firefox\/57.0","version":"12.0.4.3"}
{"reqId":"SvzBjnOmUJ4Or1Xinfnu","level":3,"time":"2018-01-01T20:52:56+00:00","remoteAddr":"192.168.1.1","user":"peter","app":"PHP","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Undefined index: name at \/var\/www\/cloud\/3rdparty\/sabre\/dav\/lib\/CardDAV\/Xml\/Filter\/AddressData.php#56","userAgent":"Mozilla\/5.0 (X11;) AppleWebKit\/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_10\/5.5.3 Safari\/534.34","version":"12.0.4.3"}
{"reqId":"BuBbXaGDh7wrV8fGrver","level":3,"time":"2018-01-01T20:57:58+00:00","remoteAddr":"192.168.1.1","user":"peter","app":"PHP","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Undefined index: name at \/var\/www\/cloud\/3rdparty\/sabre\/dav\/lib\/CardDAV\/Xml\/Filter\/AddressData.php#56","userAgent":"Mozilla\/5.0 (X11;) AppleWebKit\/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_10\/5.5.3 Safari\/534.34","version":"12.0.4.3"}
{"reqId":"M2qyrZ512cZpLiU4uvol","level":3,"time":"2018-01-01T21:07:58+00:00","remoteAddr":"192.168.1.1","user":"peter","app":"PHP","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Undefined index: name at \/var\/www\/cloud\/3rdparty\/sabre\/dav\/lib\/CardDAV\/Xml\/Filter\/AddressData.php#56","userAgent":"Mozilla\/5.0 (X11;) AppleWebKit\/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_10\/5.5.3 Safari\/534.34","version":"12.0.4.3"}
{"reqId":"YqDAPaVZ9YSSFWBIc6kr","level":3,"time":"2018-01-01T21:17:31+00:00","remoteAddr":"192.168.1.1","user":"peter","app":"PHP","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Undefined index: name at \/var\/www\/cloud\/3rdparty\/sabre\/dav\/lib\/CardDAV\/Xml\/Filter\/AddressData.php#56","userAgent":"Mozilla\/5.0 (X11;) AppleWebKit\/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_11\/5.5.3 Safari\/534.34","version":"12.0.4.3"}
{"reqId":"12fW8jGQDtawzZlBMzuS","level":3,"time":"2018-01-01T21:19:50+00:00","remoteAddr":"192.168.1.1","user":"peter","app":"PHP","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Undefined index: name at \/var\/www\/cloud\/3rdparty\/sabre\/dav\/lib\/CardDAV\/Xml\/Filter\/AddressData.php#56","userAgent":"Mozilla\/5.0 (X11;) AppleWebKit\/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_12\/5.5.3 Safari\/534.34","version":"12.0.4.3"}
{"reqId":"y9tky3tp8e8mc1AFzo34","level":2,"time":"2018-01-02T09:08:29+00:00","remoteAddr":"54.202.185.32","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"54.202.185.32\" tried to access using \"92.105.75.184:443\" as host.","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/50.0.2661.102 Safari\/537.36","version":"12.0.4.3"}
{"reqId":"jXlfLpmWYpRVaZuuLQhB","level":3,"time":"2018-01-02T10:42:06+00:00","remoteAddr":"192.168.1.46","user":"peter","app":"PHP","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Undefined index: name at \/var\/www\/cloud\/3rdparty\/sabre\/dav\/lib\/CardDAV\/Xml\/Filter\/AddressData.php#56","userAgent":"Mozilla\/5.0 (X11;) AppleWebKit\/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_13\/5.5.3 Safari\/534.34","version":"12.0.4.3"}
{"reqId":"NvMn7vPSImm9DKJShBQL","level":3,"time":"2018-01-02T13:19:48+00:00","remoteAddr":"192.168.1.1","user":"peter","app":"PHP","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Undefined index: name at \/var\/www\/cloud\/3rdparty\/sabre\/dav\/lib\/CardDAV\/Xml\/Filter\/AddressData.php#56","userAgent":"Mozilla\/5.0 (X11;) AppleWebKit\/534.34 (KHTML, like Gecko) akonadi_davgroupware_resource_15\/5.5.3 Safari\/534.34","version":"12.0.4.3"}
{"reqId":"sF7jkyzlehYgtoSpM4t6","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/webdav","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"jYFWSuw7VeYDek71zWMG","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/webdav\/Photos","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"HOqBuJcCeUFmXhlhEztc","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/files\/peter","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"sF7jkyzlehYgtoSpM4t6","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/webdav","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"qEUhk2iDxaQH20BCsN7v","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v1.php\/cloud\/capabilities?format=json","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"HOqBuJcCeUFmXhlhEztc","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/files\/peter","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"jYFWSuw7VeYDek71zWMG","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/webdav\/Photos","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"qEUhk2iDxaQH20BCsN7v","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v1.php\/cloud\/capabilities?format=json","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"HOqBuJcCeUFmXhlhEztc","level":0,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"core","method":"REPORT","url":"\/cloud\/remote.php\/dav\/files\/peter","message":"OC\\Tags::getFavorites, exception: Could not find category \"_$!<Favorite>!$_\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"iPKYMkUlpu3UKzO1N4WA","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/webdav","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"iPKYMkUlpu3UKzO1N4WA","level":1,"time":"2018-01-02T13:25:25+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/webdav","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"MhAhWu3AZRmqe8vrIg1y","level":1,"time":"2018-01-02T13:25:26+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications?format=json","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"lE7FiZ8cZ52RtQyHBHG9","level":1,"time":"2018-01-02T13:25:26+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v2.php\/cloud\/activity?format=json","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"J2k23DIZe0nVNCp2hmxo","level":1,"time":"2018-01-02T13:25:26+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v2.php\/cloud\/user?format=json","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"btGnE1UM0SE2x1weotrN","level":1,"time":"2018-01-02T13:25:26+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v1.php\/apps\/files_sharing\/api\/v1\/shares","message":"Login attempt: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"MhAhWu3AZRmqe8vrIg1y","level":1,"time":"2018-01-02T13:25:26+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications?format=json","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"lE7FiZ8cZ52RtQyHBHG9","level":1,"time":"2018-01-02T13:25:26+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v2.php\/cloud\/activity?format=json","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"J2k23DIZe0nVNCp2hmxo","level":1,"time":"2018-01-02T13:25:26+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v2.php\/cloud\/user?format=json","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"btGnE1UM0SE2x1weotrN","level":1,"time":"2018-01-02T13:25:26+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"GET","url":"\/cloud\/ocs\/v1.php\/apps\/files_sharing\/api\/v1\/shares","message":"Login successful: \"peter\"","userAgent":"Mozilla\/5.0 (iOS) Nextcloud-iOS\/2.19.1","version":"12.0.4.3"}
{"reqId":"0eeUtxfgGulsW79VmFzD","level":0,"time":"2018-01-02T13:25:52+00:00","remoteAddr":"178.197.228.126","user":"--","app":"webdav","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Message\":\"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(466): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/lib\\\/Server.php(258): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/cloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/cloud\\\/...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":168}","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"xXwdciX1MsJ2eMewjl94","level":1,"time":"2018-01-02T13:25:52+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"xXwdciX1MsJ2eMewjl94","level":1,"time":"2018-01-02T13:25:53+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"YoCnlqNyjCH3oMYc7IX1","level":0,"time":"2018-01-02T13:25:53+00:00","remoteAddr":"178.197.228.126","user":"--","app":"webdav","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/principals\/users\/peter\/","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Message\":\"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(466): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/lib\\\/Server.php(258): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/cloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/cloud\\\/...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":168}","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"qnfznY38QI9rj1ATX1Yg","level":1,"time":"2018-01-02T13:25:53+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/principals\/users\/peter\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"qnfznY38QI9rj1ATX1Yg","level":1,"time":"2018-01-02T13:25:53+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/principals\/users\/peter\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"a0mX4qrncbR6OCTql6Ps","level":0,"time":"2018-01-02T13:25:53+00:00","remoteAddr":"178.197.228.126","user":"--","app":"webdav","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Message\":\"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(466): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/lib\\\/Server.php(258): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/cloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/cloud\\\/...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":168}","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"C82ym37XGh1cW5KK8cMC","level":1,"time":"2018-01-02T13:25:53+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"C82ym37XGh1cW5KK8cMC","level":1,"time":"2018-01-02T13:25:54+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"kcUKzfbnwAzd5ligjFE9","level":1,"time":"2018-01-02T13:25:55+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"kcUKzfbnwAzd5ligjFE9","level":1,"time":"2018-01-02T13:25:55+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"mlNOl9RvQjWDwYQjX3w8","level":1,"time":"2018-01-02T13:25:56+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"mlNOl9RvQjWDwYQjX3w8","level":1,"time":"2018-01-02T13:25:56+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"M7GhsCl8pGyfnYoDOiHQ","level":0,"time":"2018-01-02T13:26:06+00:00","remoteAddr":"178.197.228.126","user":"--","app":"webdav","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Message\":\"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(466): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/lib\\\/Server.php(258): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/cloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/cloud\\\/...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":168}","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"M1twPEDL6DOkGzaUmJw4","level":1,"time":"2018-01-02T13:26:07+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"M1twPEDL6DOkGzaUmJw4","level":1,"time":"2018-01-02T13:26:07+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"nJ61AW2F18ZRVdhiAuUd","level":0,"time":"2018-01-02T13:26:07+00:00","remoteAddr":"178.197.228.126","user":"--","app":"webdav","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/principals\/users\/peter\/","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Message\":\"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(466): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/lib\\\/Server.php(258): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/cloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/cloud\\\/...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":168}","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"BG6kHbPASkqjIgFS5LuL","level":1,"time":"2018-01-02T13:26:07+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/principals\/users\/peter\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"BG6kHbPASkqjIgFS5LuL","level":1,"time":"2018-01-02T13:26:07+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/principals\/users\/peter\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"u0MUAtqAkIPOja5lMEc1","level":0,"time":"2018-01-02T13:26:08+00:00","remoteAddr":"178.197.228.126","user":"--","app":"webdav","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotAuthenticated\",\"Message\":\"No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured\",\"Code\":0,\"Trace\":\"#0 [internal function]: Sabre\\\\DAV\\\\Auth\\\\Plugin->beforeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#1 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#2 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(466): Sabre\\\\Event\\\\EventEmitter->emit('beforeMethod', Array)\\n#3 \\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/lib\\\/Server.php(258): Sabre\\\\DAV\\\\Server->exec()\\n#5 \\\/var\\\/www\\\/cloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(33): OCA\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/cloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/cloud\\\/...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/cloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Auth\\\/Plugin.php\",\"Line\":168}","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"e4OmabIxRDU564lEurZs","level":1,"time":"2018-01-02T13:26:08+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"e4OmabIxRDU564lEurZs","level":1,"time":"2018-01-02T13:26:08+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"PROPFIND","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"bdcI6qar5rXaq1aPz7X4","level":1,"time":"2018-01-02T13:26:09+00:00","remoteAddr":"178.197.228.126","user":"--","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login attempt: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}
{"reqId":"bdcI6qar5rXaq1aPz7X4","level":1,"time":"2018-01-02T13:26:09+00:00","remoteAddr":"178.197.228.126","user":"peter","app":"admin_audit","method":"REPORT","url":"\/cloud\/remote.php\/dav\/addressbooks\/users\/peter\/contacts\/","message":"Login successful: \"peter\"","userAgent":"iOS\/11.2.1 (15C153) dataaccessd\/1.0","version":"12.0.4.3"}

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@MorrisJobke
Copy link
Member

Could you post the nextcloud log entry, because it contains more information?

Could also be related to sabre-io/dav#952

@MorrisJobke
Copy link
Member

And #4640

@kreutpet
Copy link
Author

kreutpet commented Jan 2, 2018

i added the nexcloud log into the original post

@MorrisJobke
Copy link
Member

cc @blizzz @jospoortvliet Do you also have those issues?

@MorrisJobke
Copy link
Member

cc @georgehrke @rullzer for the DAV stuff

@blizzz
Copy link
Member

blizzz commented Jan 2, 2018

I am not using KDEPIM, sorry. Would need to setup a VM.

@jospoortvliet
Copy link
Member

I use it, in the sense that it is set up, but I don't check it... But, as it syncs, the error should be in our company logs I suppose.

@blizzz
Copy link
Member

blizzz commented Jan 2, 2018

I use it, in the sense that it is set up, but I don't check it... But, as it syncs, the error should be in our company logs I suppose.

don't see anything like it

@jospoortvliet
Copy link
Member

Looked in my private server, didn't see something like it either... And I can see my address book.

@kreutpet
Copy link
Author

kreutpet commented Jan 2, 2018

verified now on my old KDE deskptop
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

running KAddressBook Version 5.1.3
KDE Frameworks 5.18.0
Qt 5.5.1 (kompiliert gegen 5.5.1)

the error log is the same, but all contact get synchronized!
not sure if some contact information is not synchronized.

So i guess that the new version in Kubuntu 17.10 running KAdressBook 5.5.3 is the main problem or is maybe not able to deal with some responds coming from nextcloud?
I will post a bug in the kde community

@MorrisJobke
Copy link
Member

@kreutpet Maybe the problem is with a special contact. Maybe you try to export your address book, setup a separate account and import contact by contact and check when the error happens.

@kreutpet
Copy link
Author

kreutpet commented Jan 2, 2018

yes, this is a good idea and i will do this in the next days.
i have also posted the issue in the kubuntu forum

@kreutpet
Copy link
Author

kreutpet commented Jan 3, 2018

yes, this is a good idea and i will do this in the next days.
i have also posted the issue in the kubuntu forum

is this maybe also related to this message
Sabre\DAV\Exception\NotAuthenticated: No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured

@kreutpet
Copy link
Author

kreutpet commented Jan 3, 2018

i tried with a single contact. get the same error and contact is not synchronizing
i guess it could be related to the NotAuthenticated message.
Is this an issue of the client or if there something i can do in the apache configuration?

@kreutpet
Copy link
Author

kreutpet commented Jan 4, 2018

I changed now my apache configuration an added the

    RewriteEngine On
    # This makes every request go to server.php
   # RewriteRule ^/(.*)$ /server.php [L] <-- this one is not working for me

    # Output buffering needs to be off, to prevent high memory usage
    php_flag output_buffering off

    # This is also to prevent high memory usage
    php_flag always_populate_raw_post_data off

    # This is almost a given, but magic quotes is *still* on on some
    # linux distributions
    php_flag magic_quotes_gpc off

    # SabreDAV is not compatible with mbstring function overloading
    php_flag mbstring.func_overload off

still i do get the NotAuthenticated message
how should the write rule be defined in RewriteRule ^/(.*)$ /server.php [L] ?
Is it /remote.php that is should use here?

@kreutpet
Copy link
Author

kreutpet commented Jan 8, 2018

i am stucked with that issue.
Is this now an issue of:

  1. apache configuration for nexcloud https
  2. kde kaddressbook
  3. nextcloud Sabre\DAV

what can i do to trace the issue to the right root cause.

thx
peter

@blizzz
Copy link
Member

blizzz commented Jan 9, 2018

@kreutpet can you share (after anonymizing) the contact? Perhaps Jos could check whether this is reproducible.

@kreutpet
Copy link
Author

kreutpet commented Jan 14, 2018

verified again.
on new nextcloud user i added a single contact and tried to sync

in the log i do get a lot of these messages

Debug webdav Sabre\DAV\Exception\NotAuthenticated: No public access to this resource., No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured 2018-01-14T18:01:12+0100
Info admin_audit Login successful: "xxxx" 2018-01-14T18:01:11+0100
Info admin_audit Login successful: "xxxx" 2018-01-14T18:01:11+0100

the single contact does not get synced
so i guess it must be something in the apache configuration.

@kreutpet
Copy link
Author

very strange.
if i connect with a user having a single contact the contact gets not synchronized.
if i synchronize with user having multiple contact a few get synchronized.

it looks like for each contact a authentication is done. For some the authentication works and for some not.

Can this be related to the brute force protection?

@blizzz
Copy link
Member

blizzz commented Jan 17, 2018

Not if the credentials are valid

@offlinefreund
Copy link

Hi there,

i found this bug and it helped me to get around the same issue.

Thats what i did:

  1. I exported via the webfrontend the contacts from nextcloud to a vcf file.
  2. Then imported the vcf file to Kontact!! New adressbook from vcf file
  3. Deleted all contacts in nextcloud.
  4. Copied all Contacts to the (empty!) nextcloud adressbook in KDE Kontact.
  5. Then Kontact sync back to Nextcloud worked

So my conclusion is that there must be something wrong with (my very old) contacts in nextcloud, so that Kontact could not sync. Importing vcf to Kontact and resync was no problem.

Using Kubuntu17.1 with KDE Kontact 5.5.3 and nextcloud 12.0.4

Hope this provides some help.

Bye
A.

@kreutpet
Copy link
Author

many many thanks.
I followed the instruction and now the all contact are in sync.

i will try to keep an eye on the future sync of changes and new contact.

@kreutpet
Copy link
Author

kreutpet commented Jan 18, 2018

many many thanks.
I followed the instruction and now the all contact are in sync.

i will try to keep an eye on the future sync of changes and new contact.


update: the error message in the log are still coming.
Also changes in the contact made in nextcloud are synced to iphone but not to KDE.
Changes in Kontakt / KDE are not synced to nexcloud
So i guess it must be a problem in the kde

@offlinefreund
Copy link

Hi there,

i can confirm that there is still something wrong.

It seems to me that the ContactApp in Nextcloud is not working properly:

when i create a contact in KDE Kontact it is working fine. Its is synced to nextcloud and i can view it there.

The other way round it doesnt work: When i create or change a contact in the Nextcloud Contact App it isnt synced to KDE Kontact. Following Message appears when creating a contact:

`

  Sabre\DAV\Exception\UnsupportedMediaType: Validation error in vCard: The FN property must appear in the VCARD component exactly 1 time/var/www/html/nextcloud/3rdparty/sabre/dav/lib/CardDAV/Plugin.php - line 294: Sabre\CardDAV\Plugin->validateVCard('BEGIN VCARD\r\nVE...', false)[internal function] Sabre\CardDAV\Plugin->beforeWriteContent('addressbooks/us...', Object(Sabre\CardDAV\Card), 'BEGIN VCARD\r\nVE...', false)/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 1128: Sabre\Event\EventEmitter->emit('beforeWriteCont...', Array)/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 513: Sabre\DAV\Server->updateFile('addressbooks/us...', 'BEGIN VCARD\r\nVE...', NULL)[internal function] Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))/var/www/html/nextcloud/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit('method PUT', Array)/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))/var/www/html/nextcloud/apps/dav/lib/Server.php - line 258: Sabre\DAV\Server->exec()/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php - line 33: OCA\DAV\Server->exec()/var/www/html/nextcloud/remote.php - line 162: require_once('/var/www/html/n...'){main}

`
and when changing a contact this appears:

Undefined index: name at /var/www/html/nextcloud/3rdparty/sabre/dav/lib/CardDAV/Xml/Filter/AddressData.php#56

When i delete this contact its ok again.
I get the "line56" Message as soon as i change a contact within the nextcloud contact App.

So i face no problems as long as i don use the nextcloud contact app. But i don use it very often. I had to because i set up my new laptop with KDE Kontact and faced the line 56 issue.

Anything else i can test or post here to get things fixed? I am german so my written english probably isn't that good to understand. So ask if something is unclear.

Cheers
A.

@jospoortvliet jospoortvliet reopened this Jan 27, 2018
@timmmmmey
Copy link

timmmmmey commented Apr 13, 2018

I have the same error.
added
throw new \Exception( "\$element = ".print_r($element,true) ); in Line 56 of 3rdparty/sabre/dav/lib/CardDAV/Xml/Filter/AddressData.php
results in (cleared)

Array
(
[name] => {urn:ietf:params:xml:ns:carddav}allprop
[value] =>
[attributes] => Array
(
)
)

@jospoortvliet
Copy link
Member

Probably about dealing with broken VCards... There are a lot of little things that can break the vcard handling of Nextcloud, sadly - and fixing them all would be a lot of work. Help welcome :D

@nextcloud-bot nextcloud-bot added the stale Ticket or PR with no recent activity label Jun 20, 2018
@silverhook
Copy link

This bug still persist with KAddressBook 5.7.2 and Nextcloud 13.0.4

{"reqId":"fTcAQQ8gmAsBnDv3Kuld",
"level":3,
"time":"2018-07-20T11:22:59+02:00",
"remoteAddr":"192.168.88.1",
"user":"hook",
"app":"PHP",
"method":"REPORT",
"url":"\/remote.php\/dav\/addressbooks\/users\/hook\/contacts\/",
"message":"Undefined index: name at \/srv\/thatfunkyplace.wheremymonkeyis.at\/3rdparty\/sabre\/dav\/lib\/CardDAV\/Xml\/Filter\/AddressData.php#56",
"userAgent":"Mozilla\/5.0 (X11; Linux x86_64) KHTML\/5.43.0 (like Gecko) Konqueror\/5 KIO\/5.43",
"version":"13.0.4.0"}

@jospoortvliet
Copy link
Member

We have to figure out what exactly it is in the vcard that breaks the server handling. Or the local Kontact handling, of course, as vcards that work on the server don't work in Kontact.

@nextcloud-bot nextcloud-bot removed the stale Ticket or PR with no recent activity label Jul 30, 2018
@silverhook
Copy link

@jospoortvliet Any way I could help?

@jospoortvliet
Copy link
Member

@silverhook well, I don't really know where to begin myself, this is not my expertise... If you know how to fiddle in the database perhaps you can look and find differences, or even modify cards until it works to identify what the problem is. Can be anything, I mean, from an utf8 character to a unknown field... 😭

@silverhook
Copy link

@jospoortvliet By faaaaar not my expertise, but since I suffer the issue, I would be glad to help out anyone who is knowledgable.

@jospoortvliet
Copy link
Member

Sorry, I am afraid I just can't tell you what to do, other than the high level 'you have to find out what it is in the vcard that breaks it'.

I would personally start looking in the log to see what vcard it is related to, then download/extract it (they are just text files after all) and try to modify it, import it, and see if that syncs until you find out what line is problematic. Sorry, not easy and a lot of work but it would probably result in finding the cause and making it possible to fix it.

@noci2012
Copy link

noci2012 commented Aug 13, 2018

The Logs do not mentions which VCard this fails for... so pointing everyone to the logs is quite useless i think.
I think i see this error wrt. CardDAV on Android, not in KDE as such..., I use KDE but one of the accounts on my next cloud definitely does NOT and that account also gives errors.

I am not sure where the problem is.... This is the offending code:

        $result['addressDataProperties'] = array_map(function($element) {
            return $element['attributes']['name'];
        }, $elems);

So the data array $element is missing a 'name' field.... for ONE of the elements of the array $elems.
Now that is how far my PHP knowledge goes. i am not familiar wirh array_map / function.

This is in the "static function xmlDeserialize(Reader $reader) {"
So when interpreting some XML data.
Q: apearantly a XML reader object has invalid data (missing a 'name') field.

IMHO this code is overly optimistic about the data being valid (at least that the name field has been filled). (which would be a problem with Sabre) or it is a requirement that is not met in the data passed during a sync FROM nextcloud -> something else.

@noci2012
Copy link

Further reading in SABRE github learns: sabre-io/dav#1017
that this issue is fixed, so maybe a new sabre needs to be included in nextcloud.
This was the commit that solved it:
sabre-io/dav@3bc7585

@noci2012
Copy link

Request to update the sabre toolkit regularly or at least import the above commit...
(was solved in January 2018).
3.2.2 does not solve it, it is in the HEAD of 3.2
3.3.0-alpha1 also has this fix.

@MorrisJobke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants