Nextcloud version (eg, 12.0.2): 17.0.2.
Operating system and version (eg, Ubuntu 17.04): Ubuntu Server 18.04 LTS
Apache or nginx version (eg, Apache 2.4.25): nginx
PHP version (eg, 7.1): 7.2
The issue you are facing:
I want to create a new user in my Nextcloud instance and copy the files directly into their directory.
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
- sudo -u www-data php /var/www/nextcloud/occ user:add --display-name=“Guido van Harten” --group=“Home” guido
- cp -R /var/nextcloud_data/guido/files
I think the user has to activate his account before I can copy files to their data directory.
Is there a command to activate their account?