nextcloud / nextcloud/circles

Teams don't see all users added

Open
#2,304 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug needs info
Dominant language
JavaScript
Stars
177
Forks
68
Avg merge
2d 22h
Merged PRs (30d)
60

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Create Teams and add them to Teamsfolders (groupfolders)
  2. Add accounts in the Team
  3. When to Contacts => click on the Team to see the users added only the owner is present
Expected behaviour

See all the users in a Team and manage them

Actual behaviour

This worked few days ago, since few days there we only the owner in the Team, on command line also, the users added before on the teams are no more present

Server configuration

Web server: Apache

Database: PostgreSQL

PHP version: 8.3

Nextcloud version: 31.0.12

List of activated apps
Enabled:
  - activity: 4.0.0
  - announcementcenter: 7.2.2
  - app_api: 5.0.2
  - bruteforcesettings: 4.0.0
  - calendar: 5.5.9
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - collectives: 3.4.0
  - comments: 1.21.0
  - contacts: 7.3.11
  - contactsinteraction: 1.12.1
  - cospend: 3.1.6
  - dashboard: 7.11.0
  - data_request: 3.0.0
  - dav: 1.33.0
  - deck: 1.15.5
  - drawio: 3.1.2
  - event_update_notification: 2.7.0
  - external: 6.0.2
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_downloadlimit: 4.0.0
  - files_external: 1.23.0
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.2
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - forms: 5.2.3
  - groupfolders: 19.1.13
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - memories: 7.7.0
  - news: 27.2.0
  - nextcloud_announcements: 3.0.0
  - notes: 4.12.4
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - ownpad: 0.13.2
  - password_policy: 3.0.0
  - passwords: 2025.12.10
  - photos: 4.0.0
  - previewgenerator: 5.11.0
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - recommendations: 4.0.0
  - registration: 2.8.0
  - related_resources: 2.0.0
  - richdocuments: 8.7.7
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - socialsharing_email: 4.0.1
  - spreed: 21.1.7
  - support: 3.0.0
  - tables: 1.0.2
  - tasks: 0.17.1
  - text: 5.0.2
  - theming: 2.6.1
  - theming_customcss: 1.19.0
  - twofactor_backupcodes: 1.20.0
  - updatenotification: 1.21.0
  - user_migration: 8.0.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - whiteboard: 1.5.0
  - workflowengine: 2.13.0
Disabled:
  - admin_audit: 1.21.0
  - encryption: 2.19.0
  - firstrunwizard: 4.0.0 (installed 4.0.0)
  - firstrunwizard_numericloud: 6.0.0-dev.0 (installed 6.0.0-dev.0)
  - survey_client: 3.0.0 (installed 1.3.0)
  - suspicious_login: 9.0.1
  - systemtags: 1.21.1 (installed 1.9.0)
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0 (installed 4.1.3)
  - user_ldap: 1.22.0
Enabled: - activity: 4.0.0 - announcementcenter: 7.2.2 - app_api: 5.0.2 - bruteforcesettings: 4.0.0 - calendar: 5.5.9 - circles: 31.0.0 - cloud_federation_api: 1.14.0 - collectives: 3.4.0 - comments: 1.21.0 - contacts: 7.3.11 - contactsinteraction: 1.12.1 - cospend: 3.1.6 - dashboard: 7.11.0 - data_request: 3.0.0 - dav: 1.33.0 - deck: 1.15.5 - drawio: 3.1.2 - event_update_notification: 2.7.0 - external: 6.0.2 - federatedfilesharing: 1.21.0 - federation: 1.21.0 - files: 2.3.1 - files_downloadlimit: 4.0.0 - files_external: 1.23.0 - files_pdfviewer: 4.0.0 - files_reminders: 1.4.0 - files_sharing: 1.23.2 - files_trashbin: 1.21.0 - files_versions: 1.24.0 - forms: 5.2.3 - groupfolders: 19.1.13 - logreader: 4.0.0 - lookup_server_connector: 1.19.0 - memories: 7.7.0 - news: 27.2.0 - nextcloud_announcements: 3.0.0 - notes: 4.12.4 - notifications: 4.0.0 - oauth2: 1.19.1 - ownpad: 0.13.2 - password_policy: 3.0.0 - passwords: 2025.12.10 - photos: 4.0.0 - previewgenerator: 5.11.0 - privacy: 3.0.0 - profile: 1.0.0 - provisioning_api: 1.21.0 - recommendations: 4.0.0 - registration: 2.8.0 - related_resources: 2.0.0 - richdocuments: 8.7.7 - serverinfo: 3.0.0 - settings: 1.14.0 - sharebymail: 1.21.0 - socialsharing_email: 4.0.1 - spreed: 21.1.7 - support: 3.0.0 - tables: 1.0.2 - tasks: 0.17.1 - text: 5.0.2 - theming: 2.6.1 - theming_customcss: 1.19.0 - twofactor_backupcodes: 1.20.0 - updatenotification: 1.21.0 - user_migration: 8.0.0 - user_status: 1.11.0 - viewer: 4.0.0 - weather_status: 1.11.0 - webhook_listeners: 1.2.0 - whiteboard: 1.5.0 - workflowengine: 2.13.0 Disabled: - admin_audit: 1.21.0 - encryption: 2.19.0 - firstrunwizard: 4.0.0 (installed 4.0.0) - firstrunwizard_numericloud: 6.0.0-dev.0 (installed 6.0.0-dev.0) - survey_client: 3.0.0 (installed 1.3.0) - suspicious_login: 9.0.1 - systemtags: 1.21.1 (installed 1.9.0) - twofactor_nextcloud_notification: 5.0.0 - twofactor_totp: 13.0.0-dev.0 (installed 4.1.3) - user_ldap: 1.22.0
Nextcloud configuration
{
    "system": {
        "default_language": "fr",
        "default_locale": "fr_FR",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "openssl": {
            "config": "\/etc\/ssl\/openssl.cnf"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "31.0.12.3",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "maintenance_window_start": 19,
        "updater.release.channel": "stable",
        "theme": "",
        "loglevel": 2,
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\Illustrator",
            "OC\\Preview\\Movie",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOffice2007",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PDF",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\Postscript",
            "OC\\Preview\\StarOffice",
            "OC\\Preview\\SVG",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Font"
        ],
        "data-fingerprint": "6f3b13797c18399246522fc5f2aff531",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/nmcd-nxc-pp.numc.eu",
        "trusted_domains": [
            "nmcd-nxc-pp.numc.eu"
        ],
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "1026",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": false,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "share_folder": "\/_Partages_re\u00e7us_des_autres_utilisateurs\/",
        "skeletondirectory": "data\/__Dossier-generique_des_nouveaux_utilisateurs",
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "memories.db.triggers.fcu": true,
        "mail_smtpsecure": "",
        "knowledgebaseenabled": true,
        "knowledgebase.embedded": true,
        "trashbin_retention_obligation": "auto, 9O",
        "defaultapp": ""
    }
}

Browser

Browser name: Firefox…

Browser version: 124/125/…

Operating system: Debian

php occ logs

an example of a Team must have 11 users

php occ circles:manage:list
| QZ4D97IhKvO75hlB9hlpRJrRM35T8Y3 | Team-example          | ["O","JR"]             | Team   | ownerteam@example.tld          |          | 11/-1 (11) |

php occ circles:members:list CJ6bd3YaS1hT7GTAdnTHzIKlWGueofh
+---------------------------------+--------------------+---------------------------------+---------------------------------+------+-------------------+-----------------------------+-------+------------------+
| Circle Id                       | Circle Name        | Member Id                       | Single Id                       | Type | Source            | Username                    | Level | Invited By       |
+---------------------------------+--------------------+---------------------------------+---------------------------------+------+-------------------+-----------------------------+-------+------------------+
| CJ6bd3YaS1hT7GTAdnTHzIKlWGueofh | Membres Réseau AMU | aCqxA1SvcZVJcXEFT1VSWLFnp4MGgS4 | ao8wLYYQmhASlBbCZvT3iN7T2goURZe | user | Nextcloud Account | userowner@exemplel.com | Owner | AdminInstance |
+---------------------------------+--------------------+---------------------------------+---------------------------------+------+-------------------+-----------------------------+-------+------------------+

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 team membership discrepancy through Contacts and the php occ circles:manage:list and php occ circles:members:list commands shown in the report. Compare the reported count of 11 users with the single member returned by the command, then trace the relevant circles membership entry points. Done means existing team members appear in Contacts and are returned by the CLI listing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php, postgresql
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.