Skip to content

command line occ add user group issue #20663

@itmands

Description

@itmands

Having a problem when adding a user via command line
command 'occ user:add --password-from-env --display-name="name" --group="group1" new_uid'

When the command is run to add a user and the group does not exists, it works perfectly.
When the command is run to add a user and the group exists, but has no shares, it works perfectly.
When the command is run to add a user and the group exists, but has files / folders shared to the group it adds the user, but exits with error

PHP Fatal error: Call to a member function file_exists() on null in /var/www/owncloud/lib/private/files/filesystem.php on line 688

User is created, but not added to any groups

This is running on Debian 7.9 and php 5.6. I have tested both OC 8.1.4 and 8.2.1

Both fail with the same error.

Thoughts?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions