Address book missing in Contacts app

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.6
  • Operating system and version (e.g., Ubuntu 24.04):
    • Windows 11
  • Web server and version (e.g, Apache 2.4.25):
    • Apache2.4.66
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • Unknown
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • Didnt check this before
  • When did this problem seem to first start?
    • Saw it today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • replace me
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Cloudflare : not - mod security : tested with or without same effect

Summary of the issue you are facing:

When getting the adressebooks list from occ commands I can see an all my address books. I can sync them from DavX5 on Android and from em Client on Windows without any issue. If I check all existing address books from Contacts App on web one of my address book is missing.

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

  1. Check account address books from cli :

    $ php occ dav:list-addressbooks raoul
    
  2. +-------------+-------------+------------------------+-----------------+-------------------+----------+
    | Database ID | URI         | Displayname            | Owner principal | Owner displayname | Writable |
    +-------------+-------------+------------------------+-----------------+-------------------+----------+
    | anne-sylvie | Anne-Sylvie | principals/users/raoul | Raoul           |  ✓                |          |
    | contacts    | Raoul       | principals/users/raoul | Raoul           |  ✓                |          |
    | famille     | Famille     | principals/users/raoul | Raoul           |  ✓                |          |
    | partages    | Partagés    | principals/users/raoul | Raoul           |  ✓                |          |
    +-------------+-------------+------------------------+-----------------+-------------------+----------+
    

  3. See the presence of all address books in phpmyadmin and all are there in oc_addressbooks table :

  4. Go to Contacts app on my nextcloud site and try to select the address books settings to try to see all my configured address books and see that on is missing.

The address book Anne-Sylvie is missing.

Log entries

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.

No log entry

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.

addressbooks.js:424 TypeError: Cannot read properties of undefined (reading 'find')
    at index.mjs:1550:60
    at Array.forEach (<anonymous>)
    at Proxy._handleMultiStatusResponse (index.mjs:1533:35)
    at Proxy.addressbookQuery (index.mjs:2573:18)

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