Reset admin password in nextcloud | TrueNAS Community
www.truenas.com › community › threadsApr 16, 2018 · ssh <username>@<freenas_ip_address> sudo su - su -m www -c 'php /usr/local/www/nextcloud/occ user:resetpassword <PUT YOUR ADMIN USER NAME IN HERE>' The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see http://php.net/manual/en/book.pcntl.php Enter a new password: Confirm the new password: Successfully reset password for nc_admin
Resetting a user password — Nextcloud latest Administration ...
docs.nextcloud.com › reset_user_passwordResetting a user password . Resetting a user password. The Nextcloud login screen displays a Wrong password. Reset it? message after a user enters an incorrect password, and then Nextcloud automatically resets their password. However, if you are using a read-only authentication backend such as LDAP or Active Directory, this will not work. In this case you may specify a custom URL in your config.php file to direct your user to a server than can handle an automatic reset: