Very long long long time to upgrade

Hi,

We’re trying to upgrade from 11.0.2 to 12.0.4. From the time I entered

sudo -u apache php /var/www/nextcloud/occ upgrade

it’s been just on 5 hours and still going. The database is very busy and I assume it’s doing something
with the oc_filecache entries. If you happen to know what it is doing please let me know -
using some basic SQL a query of oc_filecache shows 34034201 total records, if that helps.

Thanks,
Adrian

Yep, normal. Updates that touch big tables can sometimes take up to 2-3 days. Do you have 3 million files?