circles icon indicating copy to clipboard operation
circles copied to clipboard

Circles missing from UI after recent update

Open smartyhall opened this issue 3 years ago • 9 comments

All but one of the circles my primary account was in are missing from the UI following a minor Nextcloud update last weekend. The one remaining circle showed my account as the owner, but I wasn't a member until I clicked the "Request to join" button. Running "occ circles:memberships --all" still shows all of the missing circles and correct membership but does not restore them to the UI or correct the behavior of other apps, in particular Collectives, that depend on them. The command "occ circles"maintenance --level 5" also does not result in any improvement.

Nextcloud version : 23.0.3 Operating system and version: Ubuntu 20.04.4 LTS Apache version: Apache/2.4.41 PHP version: 7.4.3 Circles App Version: 23.1.0

smartyhall avatar Apr 01 '22 02:04 smartyhall

duplicate of #1004

ArtificialOwl avatar Apr 13 '22 15:04 ArtificialOwl

I should clarify that they are missing from the Contacts app.

smartyhall avatar Apr 15 '22 17:04 smartyhall

I observed the same when updating a raspberry pi from Nextcloud 21 all the way to 23.0.7. Not sure where on the way the circles where lost. In particular i cannot see circles that i am part of via a group. User is still a member of the group and the group is still a member of the circle. But the circle does not show up in contacts and the corresponding collectives do not show up in collectives.

azul avatar Jul 24 '22 19:07 azul

I tried removing the group in question from the circle and adding it back with no result.

No success either with

occ maintenance:repair

azul avatar Jul 26 '22 06:07 azul

If i create a new group and add it to a circle the members of that group can see the circle just fine.

It looks like after the migration the group membership is not reflected anymore in circles:

occ group:list
...
- Group
  ...
  - Azul
...

occ circles:memberships yTR3bBl7GnsYDWyN4gTLjG9M9gh4mVw
Id: Azul
Instance: nextcloudpi
Type: user
SingleId: yTR3bBl7GnsYDWyN4gTLjG9M9gh4mVw

Memberships:
(database not updated)
- 3ef02df22fb58e (Owner)
- gCpCc7KhX7UbMvI1yZU2OTbSuxNWQED (Owner)
- yTR3bBl7GnsYDWyN4gTLjG9M9gh4mVw (Owner)

Note that this does not list a single Membership as Member. For the new user the new group is listed.

azul avatar Jul 28 '22 09:07 azul

occ circles:sync did the trick for me. @smartyhall does that also fix the issue for you?

azul avatar Jul 28 '22 09:07 azul

@azul Unfortunately, my Nextcloud instance decided to choke on its own entrails during an automatic update a few weeks ago, and I haven't had the chance to try and rescue it.

smartyhall avatar Aug 12 '22 20:08 smartyhall

I'm experiencing the same problem after upgrading from Nextcloud 21 through to 24.0.4.

I've tried running:

occ circles:sync
occ circles:memberships --all
occ circles:maintenance --level 4
occ circles:maintenance --level 5

The memberships and maintenance commands output a table with my circles in them. So, it seems that they are still in the database. But they don't show up in the contacts app. And, while the Memberships column has postivie numbers, the "Updated" column has all zeros.

jmcclelland avatar Aug 13 '22 03:08 jmcclelland

This command finally did the trick for me:

occ circles:sync --migration --force

jmcclelland avatar Nov 19 '22 12:11 jmcclelland