Members (users) not shown correctly in Team
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
- Create a team
- add members (either internal or guest users)
- reload the page
Expected behaviour
All members are listed.
Actual behaviour
Only the owner, teams and I guess groups are listed.
Server configuration
Company instance
Browser
Browser name: Zen
Browser version: 1.17.12b (Firefox 145.0.2) (64-Bit)
Operating system: Linux Mint
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
admin, alice, and bob are part of the cercleDeTest. But clicking on the Team shows only one member.
https://github.com/user-attachments/assets/e68f9b0f-b075-466c-aab3-7c1cda5c13ad
On my instance (NC 31.0.12, circles 31.0) as long as NOT selected the number of members behind a circle/team is correct, but if I click on a circle, the number changes to 1 and I see only myself as member. The XHR Requests contains also only me as member.
"ocs": {
"meta": {
"status": "ok",
"statuscode": 200,
"message": "OK"
},
"data": [
{
"id": "1Hs****",
"circleId": "SPv****",
"singleId": "Mq9****",
"userId": "admin",
"userType": 1,
"instance": "****",
"local": true,
"level": 1,
"status": "Member",
"displayName": "Alex****",
"displayUpdate": 1765799180,
"notes": {
"invitedBy": {
"id": "xfA****",
"userId": "u****",
"userType": 1,
"displayName": "V****",
"instance": "****",
"basedOn": {
"id": "xfAw****",
"name": "user:u****",
"displayName": "V****",
"sanitizedName": "",
"source": 1,
"population": 0,
"config": 1,
"description": "",
"url": "/apps/contacts/direct/circle/xfA****",
"creation": 1731398118,
"initiator": null
}
}
},
"contactId": "",
"contactMeta": "",
"joined": 1765799180,
"invitedBy": {
"id": "xfA****",
"userId": "u****",
"userType": 1,
"displayName": "V****",
"instance": "****",
"basedOn": {
"id": "xfA****",
"name": "user:u****",
"displayName": "V****",
"sanitizedName": "",
"source": 1,
"population": 0,
"config": 1,
"description": "",
"url": "/apps/contacts/direct/circle/xfA****",
"creation": 1731398118,
"initiator": null
}
},
"basedOn": {
"id": "Mq9****",
"name": "user:admin:Mq9****",
"displayName": "Alex****",
"sanitizedName": "",
"source": 1,
"population": 0,
"config": 1,
"description": "",
"url": "/apps/contacts/direct/circle/Mq9****",
"creation": 1731070038,
"initiator": null,
"owner": {
"id": "Mq9****",
"circleId": "Mq9****",
"singleId": "Mq9****",
"userId": "admin",
"userType": 1,
"instance": "****",
"local": true,
"level": 9,
"status": "Member",
"displayName": "Alex****",
"displayUpdate": 1765799180,
"notes": [],
"contactId": "",
"contactMeta": "",
"joined": 1731070038
}
}
}
]
}
}
Edit:
occ circles:members:list <id> also shows only 1 member. But in the Database all members are there (select count(*) from oc_circles_member where circle_id='SPvK***' => 10)
I have the same issue. We had an old owncloud instance named https://system1.domain.ca/. We installed a new Nextcloud instance with version 32.0.3, the Nextcloud instance was originally referred to as https://system2.domain.ca/. We created Teams (circles) and added members. Everything was working fine until our migration. We decommissioned the old Owncloud instance and changed the url for the Nextcloud instance from https://system2.domain.ca/ to https://system1.domain.ca/ After this change the Teams shows initially the number of original members, but if we click on the Teams, the members are not shown and the number of members changes to 1. Also the members are not able to reach their shared resources.
I diff'ed the old and new version and found the error is caused by the 2 new lines in the file `lib/Db/CoreQueryBuilder.php" 819/820 added in the last update. Commenting out these 2 lines fixes the problem. But I can't find anything except the commit.
https://github.com/nextcloud/circles/commit/56d978d6eaf000baac2d4347eff64adfa804e650
I diff'ed the old and new version and found the error is caused by the 2 new lines in the file `lib/Db/CoreQueryBuilder.php" 819/820 added in the last update. Commenting out these 2 lines fixes the problem. But I can't find anything except the commit.
I can confirm the issue. (NC 32.0.3 and Teams 32.0.0)
Thanks @alx-tuilmenau, your quick fix seems to work. The Lines are 802 and 803 though.
@jodergrosse sorry, i used the line numbers from stable31 (because i'm still on NC 31), but linked to master...
This issue appeared for us when I upgraded from NC 32.0.2 to NC 32.0.3. I reverted to NC 32.0.2 from our backups and the issue is gone.
For us also this issue appeared for us when we upgraded from NC 32.0.2 to NC 32.0.3. Thanks @alx-tuilmenau, your quick fix works for me.