[wp-trac] [WordPress Trac] #54936: db_version mismatch after update to 5.9

WordPress Trac noreply at wordpress.org
Wed Jul 20 16:12:36 UTC 2022


#54936: db_version mismatch after update to 5.9
-------------------------------+------------------------------
 Reporter:  mtruglio           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Upgrade/Install    |     Version:  5.9
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by pixolin):

 Replying to [comment:2 mtruglio]:

 > Everything I experienced with these sites worked exactly as you
 describe, except instead of a 302 to "wp-admin/upgrade.php" I get a 302 to
 "/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2Fabout.php%3Fupdated"
 which then responds 404.

 Similar issue here after updating from WordPress 5.9.1 to 6.0.1.

 In a plain vanilla test installation I am forwarded to `https://wp.test
 /wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2Findex.php` and get a
 `403 Forbidden` error in the browser. Database field `db_version` shows
 `51917`, which according to
 https://core.trac.wordpress.org/browser/tags/5.9.1/src/wp-
 includes/version.php is the db version number of 5.9.1. The field isn't
 changed during the upgrade process.

 An attempt to access the backend fails with another 403 error.

 After changing the `db_version` manually to `53496`, I get full access to
 the backend.

 A user reported [another issue](https://de.wordpress.org/support/topic
 /keinen-zugriff-auf-das-dashboard/) where changing the `db_version`
 manually solved the problem of missing access.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54936#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list