nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
568 stars 173 forks source link

NC update from 21 to 22 all contacts lost #2525

Closed GAS85 closed 2 years ago

GAS85 commented 2 years ago

Describe the bug

After NC update from 21 to 22 all contacts lost, nothing being displayed. Nothing could be imported.

To Reproduce Steps to reproduce the behavior:

  1. Perform update from NC 21 to 22
  2. Go to contact app
  3. See, that there is no contact at all, even if /.Contacts-Backup folder is full of vcf's.
  4. Try to import from backup and see that import being disabled, because no address books exist. grafik
  5. Open Settings, Click on ... near "Concats" and Download will download 25 MB file with all contacts...

Expected behavior Contacts are listed after update.

Actual behavior Everything dropped.

Screenshots grafik

Server configuration

Operating system: Ubuntu 20.0.4

Web server: Apache/2.4.51

Database: 10.3.31-MariaDB

PHP version: 7.4.25

Nextcloud version: 22.2.3

Contacts version: 4.0.6

Updated from an older Nextcloud or fresh install: Updated

Signing status:

No errors have been found.

List of activated apps:

Enabled:
  - accessibility: 1.8.0
  - activity: 2.15.0
  - admin_audit: 1.12.0
  - audioplayer: 3.2.2
  - bruteforcesettings: 2.2.0
  - calendar: 2.3.4
  - camerarawpreviews: 0.7.13
  - checksum: 1.1.2
  - cloud_federation_api: 1.5.0
  - comments: 1.12.0
  - contacts: 4.0.6
  - contactsinteraction: 1.3.0
  - cospend: 1.4.3
  - dashboard: 7.2.0
  - data_request: 1.9.0
  - dav: 1.19.0
  - deck: 1.5.5
  - drawio: 1.0.1
  - external: 3.9.0
  - extract: 1.3.2
  - facerecognition: 0.8.3
  - federatedfilesharing: 1.12.0
  - files: 1.17.0
  - files_automatedtagging: 1.12.0
  - files_downloadactivity: 1.11.1
  - files_external: 1.13.0
  - files_mindmap: 0.0.25
  - files_pdfviewer: 2.3.1
  - files_retention: 1.11.1
  - files_rightclick: 1.1.0
  - files_sharing: 1.14.0
  - files_trashbin: 1.12.0
  - files_versions: 1.15.0
  - files_videoplayer: 1.11.0
  - firstrunwizard: 2.11.0
  - forms: 2.4.0
  - gpxedit: 0.0.14
  - gpxpod: 4.3.0
  - integration_github: 1.0.2
  - integration_gitlab: 1.0.3
  - keeweb: 0.6.6
  - logreader: 2.7.0
  - lookup_server_connector: 1.10.0
  - mail: 1.10.5
  - maps: 0.1.9
  - nextcloud_announcements: 1.11.0
  - notes: 4.2.0
  - notifications: 2.10.1
  - oauth2: 1.10.0
  - ocdownloader: 1.7.12
  - password_policy: 1.12.0
  - phonetrack: 0.6.9
  - photos: 1.4.0
  - polls: 3.3.0
  - previewgenerator: 3.2.0
  - privacy: 1.6.0
  - provisioning_api: 1.12.0
  - recognize: 1.6.10
  - recommendations: 1.1.0
  - serverinfo: 1.12.0
  - settings: 1.4.0
  - sharebymail: 1.12.0
  - side_menu: 2.0.1
  - spreed: 12.1.2
  - support: 1.5.0
  - survey_client: 1.10.0
  - systemtags: 1.12.0
  - text: 3.3.0
  - theming: 1.13.0
  - twofactor_backupcodes: 1.11.0
  - twofactor_totp: 6.1.0
  - unsplash: 1.2.3
  - updatenotification: 1.12.0
  - user_status: 1.2.0
  - video_converter: 1.0.3
  - viewer: 1.6.0
  - weather_status: 1.2.0
  - workflowengine: 2.4.0
Disabled:
  - circles
  - encryption
  - federation
  - files_accesscontrol
  - flowupload
  - gpxmotion
  - impersonate
  - integration_jira
  - radio
  - user_ldap
  - weather

Nextcloud configuration:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.sitnikov.ga",
        "dbtype": "mysql",
        "version": "22.2.3.0",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "filesystem_check_changes": 0,
        "filelocking.enabled": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 1.5
        },
        "default_phone_region": "DE",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "theme": "",
        "logfile": "\/var\/nextcloud\/data\/nextcloud.log",
        "loglevel": 0,
        "trashbin_retention_obligation": "14, auto",
        "versions_retention_obligation": "14, auto",
        "data-fingerprint": "7be51475e95ea13b254cd880319d98ec",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\Movie",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown"
        ],
        "preview_max_x": 1920,
        "preview_max_y": 1080,
        "jpeg_quality": 90,
        "auth.bruteforce.protection.enabled": true,
        "simpleSignUpLink.shown": false,
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "twofactor_enforced": true,
        "twofactor_enforced_groups": [
            "admin"
        ],
        "twofactor_enforced_excluded_groups": [],
        "has_rebuilt_cache": true,
        "updater.release.channel": "stable",
        "mail_sendmailmode": "smtp",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Logs

Nextcloud log

data/nextcloud.log

{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:30+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Repair::step: Repair step: Clean up orphan event and contact data","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:30+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Repair::info: Repair info: 0 contacts without an addressbook have been cleaned up","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:30+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Repair::info: Repair info: 0 properties without a contact have been cleaned up","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:33+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Updater::appUpgradeStarted: Updating <contactsinteraction> ...","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:33+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Updater::appUpgrade: Updated <contactsinteraction> to 1.3.0","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:34+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Updater::checkAppStoreAppBefore: Checking for update of app \"contacts\" in appstore","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:34+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Updater::checkAppStoreApp: Checked for update of app \"contacts\" in appstore","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:34+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Updater::checkAppStoreAppBefore: Checking for update of app \"contactsinteraction\" in appstore","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
{"reqId":"Pa7wrDO33DGAWcXIuegG","level":1,"time":"2021-11-19T09:19:34+00:00","remoteAddr":"xxx.xxx.xxx.xxx","user":"--","app":"updater","method":"GET","url":"/core/ajax/update.php?requesttoken=kIaRg1ZcuTtP4tnh2wueJPyj0m0MdYS6No5rcss6SqM%3D%3A3v%2FQxX0s1As4s4GMvU7rSsrsqCVcIt7wYs0IPbN1fec%3D","message":"\\OC\\Updater::checkAppStoreApp: Checked for update of app \"contactsinteraction\" in appstore","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0","version":"21.0.7.0"}
ChristophWurst commented 2 years ago

upgrade log looks fine

check oc_addressbooks for the existence of your personal address book

GAS85 commented 2 years ago

This is outcome:

 select * from `oc_addressbooks`

grafik My user name is with id 2 and synctoken 457.

Update:

Not sure how it is connected to oc_addressbookchanges, but here under synctoken 457 is mentioned vcf for another user, not my as on a first screenshot with id 2. This "user B" is even not shown in oc_addressbooks, and it is disabled.

select * from `oc_addressbookchanges` where `id` like "457"

grafik

ChristophWurst commented 2 years ago

okay. also check oc_cards WHERE addressbookid=2 to find out if your contacts are still there or not

GAS85 commented 2 years ago
select * from `oc_cards` where `addressbookid` like "2"

returns 416 entries with a valid information in carddata field like:

BEGIN:VCARD VERSION:3.0 PRODID;VALUE=TEXT:ez-vcard 0.11.2 N:....
GAS85 commented 2 years ago

I also find out that Search over contacts is working well: grafik

"Show all contacts" button brings me to this app with empty contacts pages.

I check via Browser Developer Tools and PROPFIND on remote.php/dav/addressbooks/users/ReplacedUserName/ is full of 404 errors:

<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:card="urn:ietf:params:xml:ns:carddav" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns"><d:response><d:href>/remote.php/dav/addressbooks/users/ReplacedUserName/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/></d:resourcetype><d:owner><d:href>/remote.php/dav/principals/users/ReplacedUserName/</d:href></d:owner><d:current-user-privilege-set><d:privilege><d:all/></d:privilege><d:privilege><d:read/></d:privilege><d:privilege><d:write/></d:privilege><d:privilege><d:write-properties/></d:privilege><d:privilege><d:write-content/></d:privilege><d:privilege><d:unlock/></d:privilege><d:privilege><d:bind/></d:privilege><d:privilege><d:unbind/></d:privilege><d:privilege><d:write-acl/></d:privilege><d:privilege><d:read-acl/></d:privilege><d:privilege><d:read-current-user-privilege-set/></d:privilege></d:current-user-privilege-set></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getcontenttype/><d:getetag/><d:displayname/><d:sync-token/><oc:invite/><x1:allowed-sharing-modes xmlns:x1="http://calendarserver.org/ns/"/><card:addressbook-description/><card:supported-address-data/><card:max-resource-size/><x1:getctag xmlns:x1="http://calendarserver.org/ns/"/><oc:enabled/><oc:read-only/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/addressbooks/users/ReplacedUserName/contacts/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/><card:addressbook/></d:resourcetype><d:displayname>Contacts</d:displayname><d:owner><d:href>/remote.php/dav/principals/users/ReplacedUserName/</d:href></d:owner><d:sync-token>http://sabre.io/ns/sync/461</d:sync-token><d:current-user-privilege-set><d:privilege><d:write/></d:privilege><d:privilege><d:write-properties/></d:privilege><d:privilege><d:write-content/></d:privilege><d:privilege><d:unlock/></d:privilege><d:privilege><d:bind/></d:privilege><d:privilege><d:unbind/></d:privilege><d:privilege><d:write-acl/></d:privilege><d:privilege><d:read/></d:privilege><d:privilege><d:read-acl/></d:privilege><d:privilege><d:read-current-user-privilege-set/></d:privilege></d:current-user-privilege-set><oc:invite/><card:supported-address-data><card:address-data-type content-type="text/vcard" version="3.0"/><card:address-data-type content-type="text/vcard" version="4.0"/><card:address-data-type content-type="application/vcard+json" version="4.0"/></card:supported-address-data><card:max-resource-size>10000000</card:max-resource-size><x1:getctag xmlns:x1="http://calendarserver.org/ns/">461</x1:getctag><oc:enabled>0</oc:enabled></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getcontenttype/><d:getetag/><x1:allowed-sharing-modes xmlns:x1="http://calendarserver.org/ns/"/><card:addressbook-description/><oc:read-only/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/dav/addressbooks/users/ReplacedUserName/z-app-generated--contactsinteraction--recent/</d:href><d:propstat><d:prop><d:resourcetype><d:collection/><card:addressbook/></d:resourcetype><d:displayname>Recently contacted</d:displayname><d:owner><d:href>/remote.php/dav/principals/users/ReplacedUserName/</d:href></d:owner><d:current-user-privilege-set><d:privilege><d:read/></d:privilege><d:privilege><d:read-acl/></d:privilege><d:privilege><d:read-current-user-privilege-set/></d:privilege></d:current-user-privilege-set><card:supported-address-data><card:address-data-type content-type="text/vcard" version="3.0"/><card:address-data-type content-type="text/vcard" version="4.0"/><card:address-data-type content-type="application/vcard+json" version="4.0"/></card:supported-address-data><card:max-resource-size>10000000</card:max-resource-size><x1:getctag xmlns:x1="http://calendarserver.org/ns/">http://sabre.io/ns/sync/0</x1:getctag><oc:read-only>1</oc:read-only></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getcontenttype/><d:getetag/><d:sync-token/><oc:invite/><x1:allowed-sharing-modes xmlns:x1="http://calendarserver.org/ns/"/><card:addressbook-description/><oc:enabled/></d:prop><d:status>HTTP/1.1 404 Not Found</d:status></d:propstat></d:response></d:multistatus>

and nice formatted:


<?xml version="1.0" encoding="UTF-8"?>
<d:multistatus xmlns:d="DAV:" xmlns:card="urn:ietf:params:xml:ns:carddav" xmlns:nc="http://nextcloud.org/ns" xmlns:oc="http://owncloud.org/ns" xmlns:s="http://sabredav.org/ns">
    <d:response>
        <d:href>/remote.php/dav/addressbooks/users/ReplacedUserName/</d:href>
        <d:propstat>
            <d:prop>
                <d:resourcetype>
                    <d:collection />
                </d:resourcetype>
                <d:owner>
                    <d:href>/remote.php/dav/principals/users/ReplacedUserName/</d:href>
                </d:owner>
                <d:current-user-privilege-set>
                    <d:privilege>
                        <d:all />
                    </d:privilege>
                    <d:privilege>
                        <d:read />
                    </d:privilege>
                    <d:privilege>
                        <d:write />
                    </d:privilege>
                    <d:privilege>
                        <d:write-properties />
                    </d:privilege>
                    <d:privilege>
                        <d:write-content />
                    </d:privilege>
                    <d:privilege>
                        <d:unlock />
                    </d:privilege>
                    <d:privilege>
                        <d:bind />
                    </d:privilege>
                    <d:privilege>
                        <d:unbind />
                    </d:privilege>
                    <d:privilege>
                        <d:write-acl />
                    </d:privilege>
                    <d:privilege>
                        <d:read-acl />
                    </d:privilege>
                    <d:privilege>
                        <d:read-current-user-privilege-set />
                    </d:privilege>
                </d:current-user-privilege-set>
            </d:prop>
            <d:status>HTTP/1.1 200 OK</d:status>
        </d:propstat>
        <d:propstat>
            <d:prop>
                <d:getcontenttype />
                <d:getetag />
                <d:displayname />
                <d:sync-token />
                <oc:invite />
                <x1:allowed-sharing-modes xmlns:x1="http://calendarserver.org/ns/" />
                <card:addressbook-description />
                <card:supported-address-data />
                <card:max-resource-size />
                <x1:getctag xmlns:x1="http://calendarserver.org/ns/" />
                <oc:enabled />
                <oc:read-only />
            </d:prop>
            <d:status>HTTP/1.1 404 Not Found</d:status>
        </d:propstat>
    </d:response>
    <d:response>
        <d:href>/remote.php/dav/addressbooks/users/ReplacedUserName/contacts/</d:href>
        <d:propstat>
            <d:prop>
                <d:resourcetype>
                    <d:collection />
                    <card:addressbook />
                </d:resourcetype>
                <d:displayname>Contacts</d:displayname>
                <d:owner>
                    <d:href>/remote.php/dav/principals/users/ReplacedUserName/</d:href>
                </d:owner>
                <d:sync-token>http://sabre.io/ns/sync/461</d:sync-token>
                <d:current-user-privilege-set>
                    <d:privilege>
                        <d:write />
                    </d:privilege>
                    <d:privilege>
                        <d:write-properties />
                    </d:privilege>
                    <d:privilege>
                        <d:write-content />
                    </d:privilege>
                    <d:privilege>
                        <d:unlock />
                    </d:privilege>
                    <d:privilege>
                        <d:bind />
                    </d:privilege>
                    <d:privilege>
                        <d:unbind />
                    </d:privilege>
                    <d:privilege>
                        <d:write-acl />
                    </d:privilege>
                    <d:privilege>
                        <d:read />
                    </d:privilege>
                    <d:privilege>
                        <d:read-acl />
                    </d:privilege>
                    <d:privilege>
                        <d:read-current-user-privilege-set />
                    </d:privilege>
                </d:current-user-privilege-set>
                <oc:invite />
                <card:supported-address-data>
                    <card:address-data-type content-type="text/vcard" version="3.0" />
                    <card:address-data-type content-type="text/vcard" version="4.0" />
                    <card:address-data-type content-type="application/vcard+json" version="4.0" />
                </card:supported-address-data>
                <card:max-resource-size>10000000</card:max-resource-size>
                <x1:getctag xmlns:x1="http://calendarserver.org/ns/">461</x1:getctag>
                <oc:enabled>0</oc:enabled>
            </d:prop>
            <d:status>HTTP/1.1 200 OK</d:status>
        </d:propstat>
        <d:propstat>
            <d:prop>
                <d:getcontenttype />
                <d:getetag />
                <x1:allowed-sharing-modes xmlns:x1="http://calendarserver.org/ns/" />
                <card:addressbook-description />
                <oc:read-only />
            </d:prop>
            <d:status>HTTP/1.1 404 Not Found</d:status>
        </d:propstat>
    </d:response>
    <d:response>
        <d:href>/remote.php/dav/addressbooks/users/ReplacedUserName/z-app-generated--contactsinteraction--recent/</d:href>
        <d:propstat>
            <d:prop>
                <d:resourcetype>
                    <d:collection />
                    <card:addressbook />
                </d:resourcetype>
                <d:displayname>Recently contacted</d:displayname>
                <d:owner>
                    <d:href>/remote.php/dav/principals/users/ReplacedUserName/</d:href>
                </d:owner>
                <d:current-user-privilege-set>
                    <d:privilege>
                        <d:read />
                    </d:privilege>
                    <d:privilege>
                        <d:read-acl />
                    </d:privilege>
                    <d:privilege>
                        <d:read-current-user-privilege-set />
                    </d:privilege>
                </d:current-user-privilege-set>
                <card:supported-address-data>
                    <card:address-data-type content-type="text/vcard" version="3.0" />
                    <card:address-data-type content-type="text/vcard" version="4.0" />
                    <card:address-data-type content-type="application/vcard+json" version="4.0" />
                </card:supported-address-data>
                <card:max-resource-size>10000000</card:max-resource-size>
                <x1:getctag xmlns:x1="http://calendarserver.org/ns/">http://sabre.io/ns/sync/0</x1:getctag>
                <oc:read-only>1</oc:read-only>
            </d:prop>
            <d:status>HTTP/1.1 200 OK</d:status>
        </d:propstat>
        <d:propstat>
            <d:prop>
                <d:getcontenttype />
                <d:getetag />
                <d:sync-token />
                <oc:invite />
                <x1:allowed-sharing-modes xmlns:x1="http://calendarserver.org/ns/" />
                <card:addressbook-description />
                <oc:enabled />
            </d:prop>
            <d:status>HTTP/1.1 404 Not Found</d:status>
        </d:propstat>
    </d:response>
</d:multistatus>
ChristophWurst commented 2 years ago

The CardDAV back-end is in server. Maybe you can find reports of this problem at https://github.com/nextcloud/server/issues.

GAS85 commented 2 years ago

Thanks, would like to keep this ticket open till it is cleared why it is not working, or error clear on a Server Side.

skjnldsv commented 2 years ago

Hello! I will need your browser console log to investigate this issue. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.

How to access your browser console (Click to expand) # Chrome - Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools. - Alternative method: 1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools. 2. Click the “console” tab. # Safari - Press CMD + ALT + I to open the Web Inspector. - See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.) # IE9 1. Press F12 to open the developer tools. 2. Click the “console” tab. # Firefox - Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs). - or, if Firebug is installed (recommended): 1. Press F12 to open Firebug. 2. Click on the “console” tab. # Opera 1. Press CTRL + SHIFT + I to open Dragonfly. 2. Click on the “console” tab.
GAS85 commented 2 years ago
No OC found index.js:46:12
JQMIGRATE: Migrate is installed, version 3.3.2 jquery-migrate.min.js:2:708
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:62:15
Proxying an event bus of version 1.3.0 with 2.0.0 ProxyBus.js:72:14
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 3 globals.js:62:15
Initial state loaded defaultProfileState HOME rfcProps.js:39:8
Initial state loaded localesState 
Array(750) [ {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, … ]
rfcProps.js:40:8
OCA.Search is deprecated. Please use the unified search API instead search.js:29:10
[INFO] contacts: No compatible version of circles found 
Object { app: "contacts", uid: "gas" }
ConsoleLogger.js:33:16
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:62:15
Proxying an event bus of version 1.3.0 with 2.0.0 ProxyBus.ts:17:12
Loading theming data for notification bell styling App.vue:138
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
Registering notifications container as a menu App.vue:148
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:62:15
Notifications permissions denied App.vue:370
Polling interval updated to 30000 App.vue:325
Started background fetcher as session_keepalive is enabled App.vue:204
session heartbeat polling started session-heartbeat.js:101:9
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
Got notification data App.vue:288
Polling interval updated to 30000 App.vue:325
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 4 globals.js:62:15
New notification, animating the bell icon App.vue:179
[DEBUG] unified-search: Unified Search initialized with the following providers 
Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…}, 8: {…}, 9: {…}, … }
ConsoleLogger.js:42:18
[DEBUG] contacts: Connected to dav! 
Object { app: "contacts", uid: "gas", client: {…} }
ConsoleLogger.js:29:16
skjnldsv commented 2 years ago

Is you main addressbook disabled? Have you tried enabling it? (seeing your screenshot)

GAS85 commented 2 years ago

That's embarrassing... Do not know point from which it was disabled, but it works now, simply enable it - works! You my hero! image

janvlug commented 2 years ago

That's embarrassing... Do not know point from which it was disabled, but it works now, simply enable it - works! You my hero!

Wow, I thought I lost all my contacts as well, but fortunately, I found this closed issue and read this comment. Also for me the address book was disabled. I cannot remember that I did this intentionally myself. I'm very happy that I still have my 2138 contacts!