2019-12-26, 12:53 PM
I'm upgrading my forum from 1.8.7 to latest. At the same time I'm upgrading the whole infrastructure (Linux, PHP, MySQL...), so I am preparing a new server and for the upgrade I intend to:
However the docs says that the upgrade must be run from the admin console.
So, is there a way to short-circuit this and run the upgrade offline (by calling the PHP adequately)? Or should I reverse-engineer the PHP and implement the same thing with direct SQL requests and shell commands?
- put the old server in R/O mode
- make a DB extract
- inject the DB extract in the new server
- copy the file data (uploads, avatars...)
- run the migration procedure
- check that everything is fine
- change the DNS records to point to the new server
However the docs says that the upgrade must be run from the admin console.
So, is there a way to short-circuit this and run the upgrade offline (by calling the PHP adequately)? Or should I reverse-engineer the PHP and implement the same thing with direct SQL requests and shell commands?