Closed GAS85 closed 2 years ago
upgrade log looks fine
check oc_addressbooks
for the existence of your personal address book
This is outcome:
select * from `oc_addressbooks`
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"
okay. also check oc_cards WHERE addressbookid=2
to find out if your contacts are still there or not
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:....
I also find out that Search over contacts is working well:
"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>
The CardDAV back-end is in server. Maybe you can find reports of this problem at https://github.com/nextcloud/server/issues.
Thanks, would like to keep this ticket open till it is cleared why it is not working, or error clear on a Server Side.
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.
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
Is you main addressbook disabled? Have you tried enabling it? (seeing your screenshot)
That's embarrassing... Do not know point from which it was disabled, but it works now, simply enable it - works! You my hero!
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!
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:
/.Contacts-Backup
folder is full of vcf's....
near "Concats" and Download will download 25 MB file with all contacts...Expected behavior Contacts are listed after update.
Actual behavior Everything dropped.
Screenshots
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:
List of activated apps:
Nextcloud configuration:
Logs
Nextcloud log
data/nextcloud.log