I have a multisite WP and I’m now trying to update my WP to latest version. In the WP Administration Panel, there is a Network Update page at:
- Updates > Available Updates (…/wp-admin/network/update-core.php)
There i was able to do press the [Update Now]
button. Then it updated the CODE BASE. So far ok.
Then after that i need to upgrade the DATABASE again for network, as shown in:
- Updates > Update Network (…/wp-admin/network/upgrade.php)
Then it critically FAILED. It is showing:
Warning! Problem updating http://www.example.com/site1. Your server may not be able to connect to sites running on it.
Error message: Peer certificate cannot be authenticated with known CA certificates
In this post, i won’t be asking for “how to solve this” particular problem. (I’m asking “why/how” in another post)
Now, alternatively, my another question would be:
- HOW TO UPGRADE THE WP DATABASE “MANUALLY” ? (As like we can upgrade the CODEBASE manually, shown here)
2 Answers
Visit /wp-admin/upgrade.php
on each site to manually upgrade the database e.g.
http://www.example.com/wp-admin/upgrade.php
This happens if you have a site on the WordPress network that doesn’t resolve or if you have spoofed DNS locally but not on the server – your computer knows that www.example.com points at 127.0.0.1 but your local server is still resolving www.example.com to its actual address when PHP does its CURL call.