nextcloud / nextcloud/contacts

Contacts do not show in web app for all users any more

Open
#3,253 18 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: contacts
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Describe the bug

I assume since the last version of contacts got installed, the contacts app is empty for all users. DAVx seems to synronize without errors, so I must assume that the contacts are still stored in the DB but the web app cannot read the information.

https://sub.exampel.com/apps/contacts/Alle%20Kontakte

image

Steps to reproduce
  1. Go to Contacts
  2. Empty
Expected behavior

I should see my few hundred contacts and groups

Actual behavior

empty contact list, except the circles nothing shows up

Contact version

5.1.0

Operating system

NCP (https://hub.docker.com/r/ownyourbits/nextcloudpi)

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database

MariaDB

Additional info

This is what I see in the docker log when opening the contacts app, even though it makes no sense because everything else works.

2023-02-27 13:22:59 650 [Warning] Aborted connection 650 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)

2023-02-27 13:22:59 651 [Warning] Aborted connection 651 to db: 'nextcloud' user: 'ncadmin' host: 'localhost' (Got an error reading communication packets)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the empty Contacts web app described in the issue and inspect the reported MariaDB Docker log warnings while opening Contacts. Compare the web app with DAVx synchronization and determine whether contacts and groups are still stored; done means the expected contacts and groups appear for all users without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, javascript, mariadb, php
Domain
backend, database, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.