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