Liquidsmoke
New Member
Hello all o/
Noob question here.
I have setup a Nextcloud instance on my ubuntu server, and i now seem to have lost my password to nextcloud.
Looking at the documentation in nextcloud i found this occ command to reset the password:
sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin
I then ran this command (my user name is bro)
bro@esterbro:~$ sudo -u www-data php /var/www/nextcloud/occ user:resetpassword bro
[sudo] password for bro:
sudo: php: command not found
Am i using the command wrong ?
Noob question here.
I have setup a Nextcloud instance on my ubuntu server, and i now seem to have lost my password to nextcloud.
Looking at the documentation in nextcloud i found this occ command to reset the password:
sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin
I then ran this command (my user name is bro)
bro@esterbro:~$ sudo -u www-data php /var/www/nextcloud/occ user:resetpassword bro
[sudo] password for bro:
sudo: php: command not found
Am i using the command wrong ?