Categories: Magento Tutorials

How to Upgrade Magento 1.7 to Magento 1.9

Disclaimer: Magenticians does not necessarily agree with the views expressed in this guest post. They are presented to bring to light all diverse views in the Magento and general ecommerce community.

Let’s say you have an old Magento v1.7 store and you need to upgrade it to the latest Magento 1.9.x version. First and the most important, highly recommended step is to backup your live store files and database and disable the following options via Admin Panel of your store:
    • Magento Compilation from System > Tools > Compilation > Disable
    • Magento Cache from System > Cache Management > Select All > Action: Disable > Submit
Now we are safe and ready to perform the upgrade on the old version. Download latest magento v1.9.x from https://www.magentocommerce.com/download and perform the following steps:
    • Remove all files and folders from your Magento v1.7 directory (make sure to keep your backup in a safe place) and place all files and folders from Magento v1.9.x package.
    • Open your favorite web browser, go to your link. You will be asked to install fresh Magento v1.9.x store but don’t worry, keep going and when you will reach to the Configuration page. Fill it up with the same information you used for your previous Magento v1.7 store which includes SQL DB Server Hostname, SQL DB Name, SQL Server Username, SQL Server Password, Base URL and Admin Path.
  • Once you finish the installation, do not visit frontend or backend page. From your Magento v1.7 files and folders backup, copy and merge following files and folders into your new Magento v1.9.x store directory:
      • Community Folder: ROOT > app > code > community
      • Local Folder: ROOT > app > code > local
      • Media Folder in Root Directory: ROOT > media
      • Your Theme Folder: ROOT > app > design > frontend > default (package name) > “your_theme” (If you are using “default” package for your theme then just copy theme folder otherwise you need to copy the whole package which includes your theme folder)
      • Skin Folder in Root Directory: ROOT > skin
      • Module’s Custom XML Files: ROOT > app > etc > modules > “your_custom_XML_files”
      • Admin Theme Folder: ROOT > app > design > adminhtml > default
      • Custom JS Folder: ROOT > app > js
    • Now finally delete everything from ROOT > var > cache and from ROOT > var > sessions to clear all sessions and cache.
That’s all, we have successfully updated our Magento v1.7 store to latest Magento v1.9.x store. Open your web browser, test each and everything in your store and also verify the version upgrade from Admin Panel.
Fayyaz Khattak

Fayyaz is a Magento Community Manager at Cloudways - A Managed Magento Hosting Platform. He contributes as a Guest Author at Magenticians to share his knowledge with the Magento Community. Fayyaz is a food lover and enjoys driving.

View Comments

  • Couple of things i had to amend from this tutorial:
    1. copy packages from original magento /var/packages to upgraded location. This will ensure custom packages show in Connect Manager
    2. copy from upgrade files /app/design/adminhtml/default/ back to the root after the tutorial steps. My product image uploads and visual of available images didn't work before doing this.

  • Hi
    I've a question
    We try the methode but unsuccessfuly because we need to upgrade recent data
    Let me explain
    1/ We migrate from 1.7 to 1.9
    2/ We do some customization (new theme, new modules..)
    3/ We need to upgrade recente data (data collected between the point 1 and until point 2 is done
    Then we have errors
    Any idea?

  • Hi, I tried to upgrade magneto ver. 1.7 to 1.9 as per followed this tutorial but I have getting this my sql error
    Error in file: "/httpdocs/app/code/core/Mage/Log/sql/log_setup/mysql4-upgrade-1.6.0.0-1.6.1.0.php" - SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'PRIMARY'; check that column/key exists

    Can you help me in resolving that error?

Share
Published by
Fayyaz Khattak

Recent Posts

Building Employee Trust and Dedication – A Complete Guide

In the highly competitive modern workplace, trust, and employee loyalty are crucial factors for long-term… Read More

3 months ago

12 Winning Strategies for Small Businesses Marketing

In the ever-evolving world of small business developing and implementing effective marketing strategies is critical to… Read More

3 months ago

Top 10 App Development Companies in Dubai 2024

With one of the highest internet penetration rates, the UAE has set out to revolutionize… Read More

3 months ago

Transforming Industries: How Amazons GPT44X is Revolutionizing AI Technology

Artificial Intelligence (AI) has been continually evolving, leading to remarkable advancements in various industries. Among… Read More

8 months ago

Top Magento 2 Extensions for 2023

Extensions, extensions and lots of extensions. We all love extensions, don’t we? After all, extensions… Read More

11 months ago

Unleashing the Power of Software Testing: Cooperating with a Testing Firm

Software quality is crucial to a firm's success across industries in the quickly changing digital… Read More

11 months ago