Magento

Magento Upgrade 1.7 to 1.9

Recently I upgraded a Magento site from 1.7 to 1.9 and recorded the steps I took to upgrade. This should work for other versions as well, but in my case it was 1.7 to 1.9.

Before the upgrade backup entire site so you can rollback if necessary.

Upgrade

  1. Visit <yoursite.com>/downloader and login with your regular admin credentials.
  2. Select “Put store in maintenance mode” in the Settings section.
  3. Click the check for upgrades button.
    1. All items that can be upgraded will display in a different color.
  4. Select items you wish to upgrade using the dropdown next to the installed version number.
  5. Click “Commit Changes”¬†button to start the upgrade.
    1. Text should begin to appear in the console as Magento is finishing the tasks.
  6. Upgrade is finished.
  7. Check the site is up and running properly.

Post Upgrade

A few minor errors occurred after the upgrade and here is how I solved them.

  • If the maintenance flag is still active remove the maintenance file by rm maintanence.flag
  • Apache was complaining that index.php and downloader/index.php were group writeable. Change permissions on the index.php and downloader/index.php to 644.
  • PHP threw an error in file app/code/core/Mage/Core/Controller/Varien/Front.php saying Call to member function rewrite() on a non-object. If you are using a cache restart the caching mechanism. E.g. sudo service memcached restart
  • Admin URL displayed a blank white page also commonly referred to as the “White Screen Of Death”. This was fixed by downloading the Magento zip file from Magento and uploading the necessary files to app/design/adminhtml/default/default and skin/adminhtml/default/default. The upgrade appeared to have deleted those files so they needed to be re-uploaded to their respective locations.
Share this Story
  • PHP Programming

    PHP Type Hinting Arrays Using The Splat Operator

    It’s possible to type hint an array (sort of) in PHP without using a Doc block. Version 5.6 added a splat ...
  • Laravel

    Laravel Upgrade Considerations and Tips

    Laravel claims estimated upgrade times upgrading version to version, but this estimation may not be true for you. Upgrades take time ...
  • PHP

    Using array_reduce to Transform Data

    First, why we might transform data? If we have raw data from a database and need to send data to an ...
  • Programming

    Selecting Your Next App Dependency

    We often turn to open source or proprietary packages for adding functionality to our apps. Here are some key points and questions to ask when selecting your next dependency.
  • Tips

    Trade-offs

    As developers we work with non-technical people and we can do a better job connecting with them. Non-technical people don’t care ...
  • Life Pro Tip Tips

    Mental Snapshots

    Think back to a time where you accomplished something you had no idea how to do or when you accomplished something ...
Load More Related Articles
  • PHP Programming

    PHP Type Hinting Arrays Using The Splat Operator

    It’s possible to type hint an array (sort of) in PHP without using a Doc block. Version 5.6 added a splat ...
  • Laravel

    Laravel Upgrade Considerations and Tips

    Laravel claims estimated upgrade times upgrading version to version, but this estimation may not be true for you. Upgrades take time ...
  • PHP

    Using array_reduce to Transform Data

    First, why we might transform data? If we have raw data from a database and need to send data to an ...
  • Programming

    Selecting Your Next App Dependency

    We often turn to open source or proprietary packages for adding functionality to our apps. Here are some key points and questions to ask when selecting your next dependency.
  • Tips

    Trade-offs

    As developers we work with non-technical people and we can do a better job connecting with them. Non-technical people don’t care ...
  • Life Pro Tip Tips

    Mental Snapshots

    Think back to a time where you accomplished something you had no idea how to do or when you accomplished something ...
Load More By Nick Escobedo
  • Magento

    Magento Upgrade 1.7 to 1.9

    Recently I upgraded a Magento site from 1.7 to 1.9 and recorded the steps I took to upgrade. This should work ...
Load More In Magento

Check Also

PHP Type Hinting Arrays Using The Splat Operator

It’s possible to type hint an array (sort ...