nextcloud / circles

👪 Create groups with other users on a Nextcloud instance and share with them
GNU Affero General Public License v3.0
148 stars 48 forks source link

impossible to remove a member from a circle #1219

Open punkyard opened 2 years ago

punkyard commented 2 years ago

Hi, I was suggested to 'link back' here from nextcloud forum.

so, let me put it down: in circles, once a member has been added to a circle by the owner, it's impossible to remove this member. same thing for user groups or circles added to another circle. also circles can't be deleted. Once deleted, the page refreshed, the user or the circle are back in the list.

It's also impossible for a member to leave a group (error pop-up: impossible to leave the circle 'circlename')

This is on NC 24.0.7, Circles 24.0.1 ubuntu 22.04 apache2 maridb php8.1 safari and brave

Logging in NC:

[] Error: OCA\Circles\Tools\Exceptions\RequestNetworkException: at <>

  1. /home/apps/circles/lib/Service/FederatedEventService.php line 428 OCA\Circles\Service\FederatedEventService->doRequest()
  2. /home/apps/circles/lib/Service/FederatedEventService.php line 182 OCA\Circles\Service\FederatedEventService->initBroadcast()
  3. /home/apps/circles/lib/Service/CircleService.php line 489 OCA\Circles\Service\FederatedEventService->newEvent()
  4. /home/apps/circles/lib/Controller/LocalController.php line 326 OCA\Circles\Service\CircleService->circleLeave()
  5. /home/lib/private/AppFramework/Http/Dispatcher.php line 225 OCA\Circles\Controller\LocalController->circleLeave()
  6. /home/lib/private/AppFramework/Http/Dispatcher.php line 133 OC\AppFramework\Http\Dispatcher->executeController()
  7. /home/lib/private/AppFramework/App.php line 172 OC\AppFramework\Http\Dispatcher->dispatch()
  8. /home/lib/private/Route/Router.php line 298 OC\AppFramework\App::main()
  9. /home/ocs/v1.php line 62 OC\Route\Router->match()
  10. /home/ocs/v2.php line 23 require_once("/home/eve/web/l ... p")

PUT /ocs/v2.php/apps/circles/circles/7waqwsch2WN5melHT5E8aXCqU7YYEC8/leave from 2a02:8440:4340:aced:e9a4:a25d:b0:26aa by lerez0 at 2022-11-20T17:36:40+00:00

[] Error: OCA\Circles\Tools\Exceptions\RequestNetworkException: at <>

  1. /home/apps/circles/lib/Service/FederatedEventService.php line 428 OCA\Circles\Service\FederatedEventService->doRequest()
  2. /home/apps/circles/lib/Service/FederatedEventService.php line 182 OCA\Circles\Service\FederatedEventService->initBroadcast()
  3. /home/apps/circles/lib/Service/CircleService.php line 489 OCA\Circles\Service\FederatedEventService->newEvent()
  4. /home/apps/circles/lib/Controller/LocalController.php line 326 OCA\Circles\Service\CircleService->circleLeave()
  5. /home/lib/private/AppFramework/Http/Dispatcher.php line 225 OCA\Circles\Controller\LocalController->circleLeave()
  6. /home/lib/private/AppFramework/Http/Dispatcher.php line 133 OC\AppFramework\Http\Dispatcher->executeController()
  7. /home/lib/private/AppFramework/App.php line 172 OC\AppFramework\Http\Dispatcher->dispatch()
  8. /home/lib/private/Route/Router.php line 298 OC\AppFramework\App::main()
  9. /home/ocs/v1.php line 62 OC\Route\Router->match()
  10. /home/ocs/v2.php line 23 require_once("/home/l ... p")

PUT /ocs/v2.php/apps/circles/circles/7waqwsch2WN5melHT5E8aXCqU7YYEC8/leave from 2a02:8440:4340:aced:e9a4:a25d:b0:26aa by lerez0 at 2022-11-20T17:36:40+00:00

THANKS a lot if you can help

punkyard commented 2 years ago

hi should i provide more logs?

punkyard commented 2 years ago

I havent found any way to make this situation progress. Please, can one help? thanks

punkyard commented 2 years ago

Hi, no solution so far. Can't find out the loopback address that should be right. I've tried many different ones .. Helper guidance would be more than welcomed

punkyard commented 1 year ago

could anyone give me a clue? please

punkyard commented 1 year ago

hi

so far, i’ve checked /etc/hosts: 127.0.0.1 domain.net sub.domain.net

my config.php:

<?php $CONFIG = array (
‘passwordsalt’ => ‘PassW’,
‘secret’ => ‘SecretCode’,
‘trusted_domains’ => array (
0 => ‘localhost’,
1 => ‘sub.domain.net’,
2 => ‘123.012.234.56’,
3 => ‘127.0.0.1’, ),
‘datadirectory’ => ‘/home/sub.domain.net/datas’, (non public)
‘skeletondirectory’ => ‘/home/sub.domain.net/datas/skeleton’, (non public)
‘dbtype’ => ‘mysql’, ‘version’ => ‘25.0.2.3’,
‘overwrite.cli.url’ => ‘https://localhost’, 
…

Please, can one help and share any lead on this topic? I’m stuck with:

In CirclesCheck.php line 264:
Your Circles App is not fully configured.

thanks a lot

mejo- commented 1 year ago

Hey @punkyard, thanks for your feedback. I fail to reproduce your issue. In the Contacts app I'm able to add and remove members from a circle where I'm admin. Also, I'm able to leave circles where I'm normal member.

But since you see an error in the backend, indeed something seems to do sideways on your instance. RequestNetworkException sounds like the requests from the Circles app backend fail.

Could you please share the output of php occ config:list -- circles?

punkyard commented 1 year ago

hi @mejo- thank you so much for your concern.

here is the output:

{
    "apps": {
        "circles": {
            "enabled": "yes",
            "installed_version": "25.0.0",
            "loopback_tmp_id": "",
            "loopback_tmp_path": "",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1673377201,\"2\":1673378702,\"1\":1673378702}",
            "migration_22": "1",
            "migration_run": "0",
            "test_nc_base": "",
            "types": "filesystem,dav"
        }
    }
}

I'm also acting as admin, and i've tried with many different users with the same results each time: when quitting a circle, actions are cancelled after reload, as if nothing had been tried.

max-nextcloud commented 1 year ago

I saw quite some similar errors in a CI run failure here: https://github.com/nextcloud/collectives/actions/runs/6177381953?pr=878 (see the stable25 log artifact).