There was a similar issue in [Résolu] Pb installation Piwigo - #13 by fibule
The fix/workaround was to edit the settings file for piwigo:
nano /etc/yunohost/apps/piwigo/settings.yml
and replace the value for admin_pwd
with the actual admin password