Nextcloud - reset admin password

sudo -u abc php7 /config/www/nextcloud/occ user:resetpassword admin

Sudo to the user abc, which is the default user in our container and the pseudonym for your UID, php7 as we’re using php7 not php5, which would be php, then the path to the occ binary, then the command as suggested from the link you posted.

2 Likes