I've noticed a strange issue on one of the sites I manage with WooCommerce database upgrades, for the last couple of releases. Here's the upgrade path the WooCommerce plugin has been through on this site:
3.4.6 -> 3.5.0* 3.5.0 -> 3.5.1 3.5.1 -> 3.5.2*
For the two upgrades marked with an asterisk, a database upgrade was required (there's nothing in my notes about a database upgrade for the middle one, so I assume one wasn't required). But for both of those updates, I didn't get a message in the WordPress dashboard inviting me to run the updater - I only knew to expect one because I had done the same update on other sites.
I found that I could log in and do the update using the CLI though:
# wp wc update Calling update function: wc_update_352_drop_download_log_fk Success: 1 updates complete. Database version is 3.5.1 # wp wc update Calling update function: wc_update_352_drop_download_log_fk Success: 1 updates complete. Database version is 3.5.1 #
As you can see here though, for the most recent update, the database version remains at 3.5.1, despite the migration apparently running fine. When I try to run the updater again, the same process happens.
What's going on here?
WP Environment Info: https://pastebin.com/raw/2RzN4kmW