Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memcache bug from 23.0.2 : plugin stop user list in admin area #928

Closed
pggj opened this issue Feb 20, 2022 · 0 comments · Fixed by #929
Closed

memcache bug from 23.0.2 : plugin stop user list in admin area #928

pggj opened this issue Feb 20, 2022 · 0 comments · Fixed by #929

Comments

@pggj
Copy link

pggj commented Feb 20, 2022

when memcache is eneable, it seams some data in cache are not good. after upgrading nextcloud from 23.0.0 to 23.0.2, i cant list user in admin area, and some users seams to not be able to login.

Error in Nextcloud log :

[no app in context] Erreur: Argument 1 passed to OCA\Circles\Service\FederatedUserService::deserializeJson() must be of the type string, bool given, called in /var/www/nextcloud/apps/circles/lib/Service/FederatedUserService.php on line 1211 in file '/var/www/nextcloud/apps/circles/vendor/artificial-owl/my-small-php-tools/lib/Traits/Nextcloud/nc22/TNC22Deserialize.php' line 111

GET /ocs/v2.php/cloud/users/details?offset=0&limit=25&search=

config to eneable memcache (occ) :

apt-get install memcached
apt-get install php-memcached
service apache2 restart
sudo -u www-data php --define apc.enable_cli=1 occ config:system:set memcache.distributed --value="\OC\Memcache\Memcached"
sudo -u www-data php --define apc.enable_cli=1 occ config:system:set memcached_servers --value="XXXXXXXmemcached_serversXXXXXXX"
sed -i "s/'XXXXXXXmemcached_serversXXXXXXX'/[['127.0.0.1',11211]]/g" /var/www/nextcloud/config/config.php
sudo -u www-data php --define apc.enable_cli=1 occ config:system:set memcache.local --value="\OC\Memcache\APCu"

tcitworld added a commit that referenced this issue Feb 21, 2022
Closes #928

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
backportbot-nextcloud bot pushed a commit that referenced this issue Feb 23, 2022
Closes #928

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
backportbot-nextcloud bot pushed a commit that referenced this issue Feb 23, 2022
Closes #928

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant