Nextcloud upgrade from 32.0.6~ynh1 to 33.0.2~ynh1 fails

So you have the same issue as explain here

You need have a prefix for LDAP config…

try a shell in nextcloud

yunohost app shell nextcloud

and then then copy-paste this bloc


if [ "$ldap_config_prefix" = "" ]
then
    ldap_config_prefix=$(exec_occ ldap:create-empty-config --only-print-prefix)
    ynh_app_setting_set --key=ldap_config_prefix --value="$ldap_config_prefix"
fi