I need to upgrade magento to the latest version what is the right way to upgrade magento to the latest version?

overwrite old files with new files?

fresh installation?

or use the connect manager?

1 Answer 1


Roadmap from magento

Magento recommends you upgrade your installation using the following guidelines in a development or test environment, separate from your existing production environment:

  1. Install Magento in a different directory:

Recommended. Set up a new system (that is, another host) on which to install Magento.

The system should be identical to, if not better than, your current system.

The new system must meet the Magento system requirements.

Or install Magento in a new, empty root installation directory on the same server.

  1. In your current production environment:

Back up your Magento database.

Archive the file system.

This includes the media directory and subdirectories; all extensions and customizations; and all custom themes.

  1. In the development or test environment:

Create a new, empty database instance.

Import the production database tables into the development database instance.

Copy your production media directory, extensions, themes, and other customizations to the development system.

Copy local.xml to [your Magento install dir]/app/etc and edit it if necessary to reference the production database instance.

In a web browser, go to your development system base URL.

Wait for upgrade scripts to run.

Verify the development system is now identical to the production system.

If not, fix issues, retest, and upgrade again.

  1. Test the development system thoroughly, including:

Verify all extensions, themes, and customizations work.

Place orders using all webstores and all payment methods.

More detailed, with pre-and post-upgrade tasks

  • 1
    Also, don't use Magento Connect.
    – MW Millar
    Commented Jul 7, 2015 at 19:06
  • Learned that one long ago. Magento Connect is really good at doing partial installs, often leaving out important pieces that cause quite a mess. You're better off downloading the full install tar file and extracting it into your intended Magento installation location. That way you know you've got it all. Commented Jul 7, 2015 at 23:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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