Contacts will not display in Web, but DAVx5 syncing still happening on Android

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 10 (31.0.7)
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 22.04
  • Web server and version (e.g, Apache 2.4.25):
    • Apache version 2.4.52
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • n/a
  • PHP version (e.g, 8.3):
    • n/a
  • Is this the first time you’ve seen this error? (Yes / No):
    • YES
  • When did this problem seem to first start?
    • This month (sometime after my last monthly manual backup July 1st
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • VPS at Hostinger
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • NO

Summary of the issue you are facing:

I noticed that on the web page for my Nextcloud, there are no contacts (standard Contacts App v7.2.3). If I look at the Contacts settings (bottom left corner), I see there is no address book. However, my Android phone is still syncing contacts via DAVx5, and when I make an edit to a contact on my phone, I see the change in the Nextcloud “Activities” tab as if the contacts change was properly edited on the server.

It almost seems as if the contacts database (address book) is still there, somewhere, but will not be displayed on the web due to a corruption or file problem.

Steps to replicate it (hint: details matter!):

I made a backup vcs file of all my contacts on android and then imported that as a new address book in Nextcloud. The import said there were 10 errors (but didn’t tell me what or how to investigate), but otherwise the import looked successful. I was able to interact and make edits on the web and the address book synced with my phone. HOWEVER, as soon as I refresh the Nextcloud Contacts web page or revisit it, all the entries and the address book are GONE!

Log entries

There are no log entries related to Contacts. There are only three errors regarding the Deck.

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Warning
cron
QueryNotFoundException
Could not resolve OCA\Deck\Cron\SessionsCleanup! Class “OCA\Deck\Cron\SessionsCleanup” does not exist

Jul 30, 2025, 11:01:10 AM

Warning
cron
QueryNotFoundException
Could not resolve OCA\Deck\Cron\CardDescriptionActivity! Class “OCA\Deck\Cron\CardDescriptionActivity” does not exist

Jul 30, 2025, 11:01:10 AM

Warning
cron
QueryNotFoundException
Could not resolve OCA\Deck\Cron\ScheduledNotifications! Class “OCA\Deck\Cron\ScheduledNotifications” does not exist

Jul 30, 2025, 11:01:10 AM

No older log entries available

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

I can repeat this behavior on two separate web browsers.

VPS at Hostinger

Your provider appears to use mod_security by default. That would be my first guess at a culprit:

Your browser inspector may still be informative.

Thank you, but mod_security was not enabled, so the problem remains.

It seems like a corrupt contact database or some type of incompatibility. If I create a new address book and manual create a simple entry. It works and persists.

Is there a way to inspect or repair the original contact database? It is obviously still stored somewhere in order for DAVx5 to connect and sync with it.

Is there a limit to the size of the address book?

I did the following:
Re-imported my backup… before refreshing the page, I exported each contact group as a file.
Then after the data auto disappears I created TWO new address books. I imported some groups to one book and the rest to the other. Seems to be working now.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.