circles icon indicating copy to clipboard operation
circles copied to clipboard

members don't want to add, they dissappaer

Open Stephanisk opened this issue 5 years ago • 7 comments

Fresh install of nextcloud. Update to 20.0.6

Circles didn't seem to be present in the nextcloud installation. I found that very strange, went looking in the apps folder and couldn't find circles there.

So Downloaded from github - version 0.20.6 - placed in folder nextcloud/apps

run occ app:install circles command. Response, circles already installed run occ:enable circles. Response circles enabled.

root@nextcloudpi:/var/www/nextcloud# sudo -u www-data php occ app:check-code circles Analysing /var/www/nextcloud/apps/circles/files/list.php 2 errors line 3: OCP\User - Static method of deprecated class must not be called line 3: OCP\User::checkLoggedIn - Method of deprecated class must not be called Analysing /var/www/nextcloud/apps/circles/lib/GlobalScale/AGlobalScaleEvent.php 2 errors line 255: != - is discouraged line 256: != - is discouraged App is not compliant root@nextcloudpi:/var/www/nextcloud#

Would be nice if you would have a solution. For the moment we can not use the circles app.

Stephanisk avatar Jan 29 '21 22:01 Stephanisk

i have the same error: result: i can only add one user to the privat group(and the group owner). the last added user overwrite the user where is already in the group. i have nc 20.0.6.1. and circles 20.6. on ubuntu 18.04

also error messages:

sudo -u www-data php /var/www/html/occ circles:test

  • GET request on https://nextcloud.localdomain/index.php/csrftoken: 301

in nextcloud.log: "message":"issue while useClient(): GuzzleHttp\Exception\RequestException; cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html); 0","userAgent":"--","version":"20.0.6.1"}

i have test add cert in php.in : no success add cert to system wide certs: no success

sudo -u www-data php /var/www/html/occ app:check-code circles Analysing /var/www/html/custom_apps/circles/files/list.php 2 errors line 3: OCP\User - Static method of deprecated class must not be called line 3: OCP\User::checkLoggedIn - Method of deprecated class must not be called Analysing /var/www/html/custom_apps/circles/lib/GlobalScale/AGlobalScaleEvent.php 2 errors line 255: != - is discouraged line 256: != - is discouraged App is not compliant

thomaselsaesser avatar Feb 23 '21 07:02 thomaselsaesser

Exactly the same issue here: nc 20.0.8 / circles 0.20.7 / on Linux 4.4.59+ x86_64

Is there already a fix for that?

mextex avatar Mar 24 '21 08:03 mextex

I'm observing the same on a NextCloudPi 20 with circles 0.20.7. Even the first user only shows up in the ui but does not actually get added. Reloading the circle has the user disappearing.

This is showing up in the logs:

daita\MySmallPhpTools\Exceptions\RequestNetworkException: 
    /var/www/nextcloud/apps/circles/lib/Service/GlobalScaleService.php - line 146:    OCA\Circles\Service\GlobalScaleService->doRequest(daita\MySmal ... {})
    /var/www/nextcloud/apps/circles/lib/Service/GSUpstreamService.php - line 145:    OCA\Circles\Service\GlobalScaleService->asyncBroadcast(OCA\Circles\ ... {})
    /var/www/nextcloud/apps/circles/lib/Service/MembersService.php - line 216:    OCA\Circles\Service\GSUpstreamService->newEvent(OCA\Circles\ ... {})
    /var/www/nextcloud/apps/circles/lib/Service/MembersService.php - line 181:    OCA\Circles\Service\MembersService->addSingleMember(OCA\Circles\Model\Circle {}, "Alice", 1, "", false)
    /var/www/nextcloud/apps/circles/lib/Controller/MembersController.php - line 52:    OCA\Circles\Service\MembersService->addMember("3ef02df22fb58e", "Alice", 1, "")
    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 169:    OCA\Circles\Controller\MembersController->addMember("3ef02df22fb58e", "Alice", "1", "")
    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:    OC\AppFramework\Http\Dispatcher->executeController(OCA\Circles\ ... {}, "addMember")
    /var/www/nextcloud/lib/private/AppFramework/App.php - line 152:    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Circles\ ... {}, "addMember")
    /var/www/nextcloud/lib/private/Route/Router.php - line 309:    OC\AppFramework\App::main("OCA\\Circle ... r", "addMember", OC\AppFramew ... {}, { uniqueId: ... "})
    /var/www/nextcloud/lib/base.php - line 1008:    OC\Route\Router->match("/apps/circl ... r")
    /var/www/nextcloud/index.php - line 37:    OC::handleRequest()

azul avatar Mar 26 '21 14:03 azul

Failed to reproduce this in nextcloud-docker-dev environment though 🤔

azul avatar Mar 26 '21 23:03 azul

Same issue, went through possible solutions with issues mentioned here, but without success. NC 20.0.6.1. and circles 20.6. on ubuntu 20.04.02 LTS Received exactly same behaviour as previous posts.

Spent already too much time trying to solve this issue. No success.

spyrexsec avatar Mar 31 '21 14:03 spyrexsec

An update to NC 20.0.9 does not solve the problem by the way: Still the same issues.

mextex avatar Apr 19 '21 10:04 mextex

Hi, can this help https://github.com/nextcloud/circles/issues/574#issuecomment-823750845

aleadco avatar Apr 21 '21 03:04 aleadco