# Nextcloud upgrade from 32.0.5~ynh1 to 32.0.6~ynh1 fails

**URL:** <https://forum.yunohost.org/t/nextcloud-upgrade-from-32-0-5-ynh1-to-32-0-6-ynh1-fails/41678>\
**Category:** Support apps\
**Tags:** nextcloud, english\
**Created:** [February 25, 2026, 4:45pm UTC](https://forum.yunohost.org/t/nextcloud-upgrade-from-32-0-5-ynh1-to-32-0-6-ynh1-fails/41678 "2026-02-25T16:45:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dazu](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/d/b5a626/32.png) [@dazu](https://forum.yunohost.org/u/dazu)\
**Post date:** [February 26, 2026, 12:57pm UTC](https://forum.yunohost.org/t/nextcloud-upgrade-from-32-0-5-ynh1-to-32-0-6-ynh1-fails/41678/4 "2026-02-26T12:57:12Z")

</div>

So, a closer look into the upgrade script revealed, that my situation (having ldap config without prefix used to be normal) had already been contemplated by alexAubin, thus modifying the setting `ldap_config_prefix` from `ldap_config_prefix: s02` to `ldap_config_prefix: ''` was sufficient to take advantage of the upgrade logic and smoothly transition to 32.0.6!

```auto
# Before NCv32, Yunohost was not using any prefix for the LDAP config.
# This is now mandatory so we need to create a new config with a prefix.
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

```

---

_[View the full topic](https://forum.yunohost.org/t/nextcloud-upgrade-from-32-0-5-ynh1-to-32-0-6-ynh1-fails/41678)._
