Is production: true
#migrated #nextcloud

Title: Reset nextcloud password in docker environment

Created: 12 Oct 2019 Modified: 12 Oct 2019

Description: You can reset the admin user password of nextcloud by flowing this guideline



The local occ command can be used for changing the password for any user.

Below are the docker version code, where the ref link doesn’t mentioned:

sudo docker exec -it -u www-data {container name} php {nextcloud location}/occ user:resetpassword {user}
``

[[Legacy Link]](https://xeth0102.atlassian.net/wiki/spaces/DW/blog/2019/10/12/257392644/Reset+nextcloud+password+in+docker+environment)