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
    Posts
    107
    Thanks
    1
    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: 270
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 1.8.1.0 stable
    Lib_LinLibertineFont 2.8.14.1 stable
    Lib_Js_TinyMCE 3.4.7.0 stable
    Lib_Js_Calendar 1.51.1.1 stable
    Lib_Phpseclib 1.5.0.0 stable
    Lib_ZF 1.11.1.0 stable
    Lib_Js_Prototype 1.8.0.0.4 stable
    Lib_ZF_Locale 1.11.1.0 stable
    Mage_All_Latest 1.8.1.0 stable
    Interface_Adminhtml_Default 1.8.1.0 stable
    Interface_Frontend_Default 1.8.1.0 stable
    Interface_Install_Default 1.8.1.0 stable
    Mage_Downloader 1.8.1.0 stable
    Mage_Centinel 1.8.1.0 stable
    Interface_Frontend_Base_Default 1.8.1.0 stable
    Phoenix_Moneybookers 1.3.2 stable
    Mage_Compiler 1.8.1.0 stable
    Magento_Mobile 1.8.1.0.23.1 stable
    Mage_Core_Adminhtml 1.8.1.0 stable
    Mage_Core_Modules 1.8.1.0 stable
    Lib_Varien 1.8.1.0 stable
    Lib_Google_Checkout 1.8.1.0 stable
    Lib_Js_Mage 1.8.1.0 stable
    Mage_Locale_en_US 1.8.1.0 stable
    Lib_Mage 1.8.1.0 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 http://connect20.magentocommerce.com/community 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 1.9.0.1 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.
    Thanks
    www.ilovemage.com

    View more threads in the same category:


  2. #2
    Junior Member Bizmagestore's Avatar
    Join Date
    Apr 2014
    Location
    India
    Posts
    494
    Thanks
    1
    Thanked 27 Times in 27 Posts

    Default

    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
    Posts
    195
    Thanks
    3
    Thanked 4 Times in 4 Posts

    Default

    nice post! thanks for sharing!

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

    Default

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

  5. #5
    Junior Member
    Join Date
    Sep 2018
    Location
    Canada
    Posts
    873
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    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

Bookmarks

Posting Permissions

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