Ошибка при удалении пользователя из группы через web-интерфейс / Error when deleting a user from a group via the web interface

NC20 Docker

Добавляю пользвателя в группу через web-интерфейс - всё ОК.
Пробую удалить пользователя из группы через web-интерфейс - ошибка.

{"reqId":"W7uuLrSop3uQ2eucXU5p","level":3,"time":"2020-10-15T13:44:23+00:00","remoteAddr":"10.10.0.14","user":"admin","app":"no app in context","method":"DELETE","url":"/ocs/v2.php/cloud/users/test_user/groups","message":{"Exception":"Exception","Message":"Argument 2 passed to OCA\\Provisioning_API\\Controller\\UsersController::removeFromGroup() must be of the type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 169","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"removeFromGroup"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Provisioning_API\\Controller\\UsersController","removeFromGroup",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"userId":"test_user","_route":"ocs.provisioning_api.Users.removeFromGroup"}]},{"file":"/var/www/html/ocs/v1.php","line":88,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/cloud/users/test_user/groups"]},{"file":"/var/www/html/ocs/v2.php","line":24,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"TypeError","Message":"Argument 2 passed to OCA\\Provisioning_API\\Controller\\UsersController::removeFromGroup() must be of the type string, null given, called in /var/www/html/lib/private/AppFramework/Http/Dispatcher.php on line 169","Code":0,"Trace":[{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":169,"function":"removeFromGroup","class":"OCA\\Provisioning_API\\Controller\\UsersController","type":"->","args":["test_user",null]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"removeFromGroup"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":152,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"removeFromGroup"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":308,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Provisioning_API\\Controller\\UsersController","removeFromGroup",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"action":null,"userId":"test_user","_route":"ocs.provisioning_api.Users.removeFromGroup"}]},{"file":"/var/www/html/ocs/v1.php","line":88,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/cloud/users/test_user/groups"]},{"file":"/var/www/html/ocs/v2.php","line":24,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/apps/provisioning_api/lib/Controller/UsersController.php","Line":802},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0","version":"20.0.0.9","id":"5f88528219298"}

Удаление через occ group:removeuser проходить нормально.

I think if you change your subject to english like: “Error when deleting a user from a group via the web interface” you might get more replies. Never underestimate what google translate can do for you…

Thank you! Added English to subject

Based on the change notes of v20.0.1 the problem " [stable20] Fix the user remove from group in U" should have been fixed:

I met the same problem yesterday, I checked the log, it’s same as Tinctura_Ginseng’s, it’s NC20 Docker.

I just upgraded to 20.0.1, it was fixed!

1 Like