Seen in 10.7.0 RC1
I have no clear reproducer for this, but I ran by accdent into this situation multiple times:
The web ui asks for update.

The occ command does not work: BAD
occ upgrade
ownCloud is already latest version
Attempted workaround:
- in config.php switch
upgrade.disable-web' => false,
- a new error occurs:
It looks like your instance may host many files and/or users. To ensure a smooth upgrade process, please use the command line updater (occ upgrade)
This is a deadlock situation.
Evil workaround:
- hack into "lib/base.php" and force
$tooBig = false; after the ldap and user evaluation code and before the error printing.
- now the web interface allows to run the upgrade procedure. Login is possible again.
Suggested improvement:
Add a --force option to occ upgrade to try as hard as the web version would do.
Seen in 10.7.0 RC1
I have no clear reproducer for this, but I ran by accdent into this situation multiple times:
The web ui asks for update.

The occ command does not work: BAD
Attempted workaround:
upgrade.disable-web' => false,It looks like your instance may host many files and/or users. To ensure a smooth upgrade process, please use the command line updater (occ upgrade)This is a deadlock situation.
Evil workaround:
$tooBig = false;after the ldap and user evaluation code and before the error printing.Suggested improvement:
Add a --force option to
occ upgradeto try as hard as the web version would do.