6

At what point does the database upgrade happen? If I unzip the downloaded magento image over my current installation, will that also upgrades database changes if any?

5

The upgrade happens the first time your magento application boots. Usually this is the first http request that gets to a magento page. So basically you just need to look at a page to trigger the database update.

An alternative approach is to use the handy magerun cli tool to trigger the updates:

n98-magerun.phar sys:setup:run

I like this approach as it gives you full control over when the updates happen. You can put the site in maintenance mode so no traffic gets to magento and triggers the update when your not expecting, run the updates manually from your cli, test and then when your ready take the site out of maintenance.

  • 1
    Echoing Andrew's n98-magerun suggestion. The auto-Rb migration feature Magento uses is handy, especially if your used to coordinating DB scheme updates with code deployments...BUT occasionally (especially on high traffic sites with multiple app servers) you might trigger conflicts of multiple scripts being triggered. Mate run gives you full control and has a LOT of other awesome features. magerun.net has plenty of of helpful links and Alan Storm has a great ebook devoted entirely to it @ magento-quickies.alanstorm.com/tagged/n98magerun – Bryan 'BJ' Hoffpauir Jr. Jul 12 '15 at 5:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.