Skip to content

Unable to delete User #16340

@ThomasKuehner

Description

@ThomasKuehner

Steps to reproduce

  1. add new user with a php-skript
  2. add Attribute 'address' extrakted from a csv.file in ANSI that contains a "ß" (no Problem with UTF-8)
  3. login as admin in the nextcloud webinterface

Actual behaviour

  • User dont appear in Users --> everyone
    when scrolling down: all users, who would be listed after that user are not listed and the message "An error occured during the request. Unable to proceed" appears
    in loggig appears:
    TypeError: Argument 1 passed to OC\Accounts\AccountManager::addMissingDefaultValues() must be of the type array, null given, called in /var/www/html/nextcloud/lib/private/Accounts/AccountManager.php on line 139 at /var/www/html/nextcloud/lib/private/Accounts/AccountManager.php#176
  • when clicking on a Group this user is a member of, none of the users is shown and the message "An error occured during the request. Unable to proceed" appears.
  • It is impossible to delete the user in the web interface because he is not listed.

With a php skript following oparations work:

  • Get users: shows all users and inclusive that user
  • Get groups that user is a member of
  • Add that user to a group
  • Change the Attribute 'displayname'

With a php skript following oparations do not work:

  • Disabe that user
  • Delete that user
  • Change the attribute 'address'
  • Remove that user from a group
  • Change the password of that user
    always the same log-message: TypeError: Argument 1 passed to OC\Accounts\AccountManager::addMissingDefaultValues() must be of the type array, null given, called in /var/www/html/nextcloud/lib/private/Accounts/AccountManager.php on line 139 at /var/www/html/nextcloud/lib/private/Accounts/AccountManager.php#176

Server configuration

Operating system:
Ubuntu 18-04 server

Web server:
apache2

Database:
mariadb-server

PHP version:
PHP 7.2.19

Nextcloud version: (see Nextcloud admin page)
Nextcloud 16.0.3

Updated from an older Nextcloud/ownCloud or fresh install:
fresh install

Where did you install Nextcloud from:
wget https://download.nextcloud.com/server/releases/latest.tar.bz2

List of activated apps:
calendar

Are you using encryption: yes/no
no

Is there a quick solution to get rid of this user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions