Nextcloud version: 20.0.0
Operating system and version: Ubuntu 20.04
Server version: Apache/2.4.41 (Ubuntu)
Server built: 2020-08-12T19:46:17
PHP Version: 7.4.3 (cli) (built: May 26 2020 12:24:22) ( NTS )
Zend Engine v3.4.0, Copyright © Zend Technologies
If you want to delete existing entries in the “Group Admin for” field for an authorization group, the following error occurs when you click on the checkbox.
Directly on the page the error “An error occured during the request. Unable to proceed” is displayed.
Steps
- Adding the group “HSK-A” in “Group Admin for”
- After clicking on the check mark at the group “HSK-A” the error occurs and the group is not deleted from the field.
The output of your config.php file in /var/www/nextcloud/config:
$CONFIG = array (
‘instanceid’ => ‘xxxxxx’,
‘passwordsalt’ => ‘xxxxxx’,
‘secret’ => ‘xxxxx’,
‘trusted_domains’ =>
array (
0 => ‘scu-cloud.de’,
),
‘datadirectory’ => ‘/var/www/nextcloud/data’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘20.0.0.9’,
‘overwrite.cli.url’ => ‘http://scu-cloud.de’,
‘dbname’ => ‘xxxxxxx’,
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘mysql.utf8mb4’ => true,
‘dbuser’ => ‘xxxxxx’,
‘dbpassword’ => ‘xxxxxx’,
‘installed’ => true,
‘mail_from_address’ => ‘xxxx’,
‘mail_smtpmode’ => ‘smtp’,
‘mail_sendmailmode’ => ‘smtp’,
‘mail_domain’ => ‘xxxxxx’,
‘mail_smtpauthtype’ => ‘LOGIN’,
‘mail_smtpauth’ => 1,
‘mail_smtphost’ => ‘xxxxx’,
‘mail_smtpname’ => ‘xxxxx’,
‘mail_smtppassword’ => ‘xxxxx’,
‘mail_smtpport’ => ‘25’,
‘mail_smtpsecure’ => ‘tls’,
);
This error appears in the log:
Exception: Argument 2 passed to OCA\Provisioning_API\Controller\UsersController::removeSubAdmin() must be of the type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 169
/var/www/nextcloud/lib/private/AppFramework/App.php - line 152:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/Route/Router.php - line 308:
OC\AppFramework\App::main()
/var/www/nextcloud/ocs/v1.php - line 88:
OC\Route\Router->match()
/var/www/nextcloud/ocs/v2.php - line 24:
require_once("/var/www/nextcloud/ocs/v1.php")
Caused by TypeError: Argument 2 passed to OCA\Provisioning_API\Controller\UsersController::removeSubAdmin() must be of the type string, null given, called in /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php on line 169
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 169:
OCA\Provisioning_API\Controller\UsersController->removeSubAdmin()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/nextcloud/lib/private/AppFramework/App.php - line 152:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/Route/Router.php - line 308:
OC\AppFramework\App::main()
/var/www/nextcloud/ocs/v1.php - line 88:
OC\Route\Router->match()
/var/www/nextcloud/ocs/v2.php - line 24:
require_once("/var/www/nextcloud/ocs/v1.php")
Can you help me?
Thank you
Greets Mic