And as I investigated in topic beside of this if you using very large LDAP for user backend you may be faced with problem that I have in my installation, upgrade/migration may stuck on processing user shared files/directories. So you will need to disable user_ldap app from CLI before you run ./occ upgrade