Magento Expert Forum - Improve your Magento experience

Results 1 to 5 of 5

5 Steps to Upgrade Magento to 1.9 version

  1. #1
    Junior Member balwant's Avatar
    Join Date
    Jul 2014
    Thanked 5 Times in 5 Posts

    Default 5 Steps to Upgrade Magento to 1.9 version

    As Magento 1.9 has more advantages as more necessary we have to upgrade our system to this version. Today, Magento tutorial for beginners helps you upgrade your Magento to version 1.9 within 5 steps below:
    Name:  magento-1-8-to-1-9-upgrade.jpg
Views: 257
Size:  34.9 KB
    STEP 1: – Enabling the maintenance mode
    It is important to create a testing or a parallel development system which is as same as the existing production system. Here’s how you can create the similar one.

    cd /magento_folder
    #for example: cd /var/www/magento
    touch maintenance.flag

    Once you’re done with creation of the testing system, ensure to follow all the upgrade steps in the same.

    STEP 2- Backup of your database and directories

    Here, you need to take a complete backup of your Magento e-store’s database and directories to prevent loss of important information during the upgrade process.

    STEP 3- Ready to upgrade Magento to version 1.9
    As a step marking the initiation of Magento upgrade process, enter the following commands in the command prompt:

    cd /magento_folder
    cd /magento_folder
    rm -rf var/cache/* var/session/*
    chmod -R 777 /magento_folder
    chmod 550 ./mage
    ./mage mage-setup .
    ./mage config-set preferred_state stable
    ./mage list-installed

    On clicking “Enter” key after inserting the command: ‘./mage list-installed’ in the command prompt, the Magento modules would be displayed in the manner as shown below:

    Installed package for channel 'community' :
    Lib_Js_Ext stable
    Lib_LinLibertineFont stable
    Lib_Js_TinyMCE stable
    Lib_Js_Calendar stable
    Lib_Phpseclib stable
    Lib_ZF stable
    Lib_Js_Prototype stable
    Lib_ZF_Locale stable
    Mage_All_Latest stable
    Interface_Adminhtml_Default stable
    Interface_Frontend_Default stable
    Interface_Install_Default stable
    Mage_Downloader stable
    Mage_Centinel stable
    Interface_Frontend_Base_Default stable
    Phoenix_Moneybookers 1.3.2 stable
    Mage_Compiler stable
    Magento_Mobile stable
    Mage_Core_Adminhtml stable
    Mage_Core_Modules stable
    Lib_Varien stable
    Lib_Google_Checkout stable
    Lib_Js_Mage stable
    Mage_Locale_en_US stable
    Lib_Mage stable

    Under rare situations wherein the modules are not listed as per the above format, you may use the below command to initiate the upgrade process:
    ./mage install Mage_All_Latest –force

    Once your Magento modules get listed in the desired manner, opt for using the following commands:
    ./mage list-upgrades
    ./mage upgrade-all

    With the completion of the upgrade process, you’ll view a list of modules with tags viz: “already installed” and “package upgraded”. Here, you need to make sure that your permissions are set back to normal. For this, you need to enter the following commands in the command prompt:

    php shell/indexer.php reindexall
    chmod -R 644 ./*
    find . -type d -exec chmod 755 {} \;
    chmod 550 ./mage

    STEP 4- Compatibility your store with third-party extensions

    Prior to migrating your Magento powered e-store to the all-new version, make it a point to check for the compatibility of different third-party extensions on your e-commerce website.

    STEP 5- Go online with Magento website version 1.9
    Remove any security flags and making the site available for the general public:

    cd /magento_folder
    rm -f maintenance.flag

    Enjoy, Hope this Magento tutorial help you to have up-to-date magento system.

    View more threads in the same category:

  2. #2
    Junior Member Bizmagestore's Avatar
    Join Date
    Apr 2014
    Thanked 27 Times in 27 Posts


    Very important steps you have shared here which will help to many magento users. By these steps any magento users can easily upgrade it.

  3. #3
    Junior Member
    Join Date
    Jan 2015
    Thanked 4 Times in 4 Posts


    nice post! thanks for sharing!

  4. #4
    Junior Member
    Join Date
    Aug 2016
    Thanked 2 Times in 2 Posts


    Wonderful post, thanks for sharing this kind of information.It's really helpful for new Learner.

  5. #5
    Junior Member
    Join Date
    Sep 2018
    Thanked 1 Time in 1 Post


    1) Know what are you facing with:
    2) Backup your files.
    3) Backup your database.
    4) Copy those files to the new location.
    5) Now it is time to import database into new created one:
    a) Extract my_database_name.sql.gz.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts