Multi-site upgrade to 4.X didn’t update all sites
-
We run a multi-site WordPress install containing 15 sites and when Download Monitor was upgraded to he 4.X release, it only updated the DB with the three ALTER TABLE changes in src/UpgradeManager.php on anout half the sites, which meant I had to around all the sites without the 3 DB changes and manually run ALTER TABLE commands ??
It should be noted that the parent site (i.e. without the site number in the table name) always got updated correctly and there wasn’t a pattern in which sub-sites got updated or not (e.g. dev vs. UAT vs. live for us had different sites not updated between them).
Looking at the plugin code, it won’t run the upgrade code if it thinks the version is at 4.0.0 or later, so maybe there’s some issue with that check on multi-site installs?
- The topic ‘Multi-site upgrade to 4.X didn’t update all sites’ is closed to new replies.