Resetear contraseña / Reset password

Estoy intentado realizar los pasos que comentas pero no logro resetear la contraseña.
Tengo una raspberry pi4 con CASA OS donde tengo instalado Nextcloud, pero al ejecutar el comando sudo -u www-data php /var/www/nextcloud/occ user:resetpassword “usuario”, me aparece el siguiente mensaje de error: “php: command not found”
Si me pudierais ayudar a resetear la contraseña te lo agradeceria mucho.

In english:
I’m trying to follow the steps you mentioned but I can’t reset the password.
I have a raspberry pi4 with CASA OS where I have Nextcloud installed, but when I execute the command sudo -u www-data php /var/www/nextcloud/occ user:resetpassword “user”, I get the following error message: “php: command not found”
If you could help me reset the password I would greatly appreciate it.