Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
How To Upgrade Magento from 1.4. version to Magento 1.5 and 1.6? 
 
MagenX
Enthusiast
 
Total Posts:  791
Joined:  2008-05-26
Dublin
 

Database structure has major changes from 1.4.1.1 to 1.4.2 so you need to upgrade first to 1.4.2 then you can upgrade to 1.7.0.2 directly.

I like comand line so i usually upgrade the system by command line, this is my procedure:

substitute file downloader/pearlib/php/Archive/Tar.php with the patched version (it has a bug): http://www.mediafire.com/?35no55xuoeek20a

Prepare for Magento upgrade

Lets imaging that you have Magento 1.4.1.1. web store and you need to upgrade it to 1.5. or 1.6 version. First of all it is highly recommended to backup your live store files and database.

Next you need to get SSH access from your hosting provider and connect to your server via SSH protocol. After connection via SSH go to your store folder and execute these commands:

1 – Change permissions on lib/pear folder to writable (recursively):

chmod -R 777 lib/PEAR
2 – Execute this command to prepare Magento for upgrade:

./pear mage-setup
Most likely you will see this result after command execution:

Channel â€œconnect.magentocommerce.com/core” is already initialized
Upgrade from Magento 1.4.1.x to Magento 1.4.2.0

This step is necessary even if you upgrade your Magento store to 1.5 or 1.6 versions.

3 – Execute Magento upgrade command:

./pear upgrade -f magento-core/Mage_All_Latest-stable
Output of the command will show you what core packages were upgraded:

…

upgrade okchannel://connect.magentocommerce.com/core/Mage_Centinel-1.4.2.0
upgrade okchannel://connect.magentocommerce.com/core/Interface_Frontend_Base_Default-1.4.2.0
upgrade okchannel://connect.magentocommerce.com/core/Phoenix_Moneybookers-1.2.3
upgrade okchannel://connect.magentocommerce.com/core/Find_Feed-1.0.7
upgrade okchannel://connect.magentocommerce.com/core/Interface_Adminhtml_Default-1.4.2.0
4 – When this part of the upgrade will be complete, enter these commands:

chmod 550 ./mage
./mage mage-setup .
You will see this result after command execution:

Successfully added: http://connect20.magentocommerce.com/community
It means that Magento connect 2.0 channel was added to the channels list successfully.

5 – Next, enter this command:

./mage sync
The result will be:

…

Successfully addedcommunity/Mage_Locale_en_US-1.4.2.0
Successfully added
community/Interface_Install_Default-1.4.2.0
Successfully added
community/Phoenix_Moneybookers-1.2.3
Successfully added
community/Mage_Downloader-1.5.0.0
Successfully added
community/Lib_Google_Checkout-1.4.2.0
Upgrade to Magento 1.4.2.0 is complete and now you can proceed with upgrade to Magento 1.5.1.0 or 1.6.0.0 version.

empty var/cache & var/session folder empty browser cache

visit your website to trigger the update

Update time 15min

------------------------------------------------------------------------------------------

Upgrade from Magento 1.4.2.0 to Magento 1.5.10 or Magento 1.6.0.0

Now you can upgrade your store to version 1.5 or 1.6.

Before proceeding with this part of Magento upgrade, it is very important to see to what version Magento upgrade scripts will upgrade your store. Enter this command to check this:

./mage list-upgrades
If you will see this result:

Updates for community:
Mage_All_Latest1.4.2.1 => 1.6.0.0
Lib_Js_Mage
1.4.2.0 => 1.6.0.0
Lib_Varien
1.4.2.0 => 1.6.0.0
Lib_Phpseclib
1.4.2.0 => 1.5.0.0
It means that your Magento will be upgraded to version 1.6.0.0. If it is not what you need you can change upgrade channel to “stable” and upgrade your Magento to version 1.5.1.0.

6 – Enter this command to change the upgrade channel to stable:

./mage config-set preferred_state stable
or
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
After this the “./mage list-upgrades” command will show you this result:

Updates for community:
Mage_All_Latest1.4.2.1 => 1.5.1.0.1
Lib_Js_Mage
1.4.2.0 => 1.5.1.0
Lib_Varien
1.4.2.0 => 1.5.1.0
Lib_Phpseclib
1.4.2.0 => 1.5.0.0
Mage_Core_Adminhtml
1.4.2.0 => 1.5.1.0
Mage_Core_Modules
1.4.2.0 => 1.5.1.0
7 – After channel selection you can upgrade your Magento to 1.5.1.0 (or to Magento 1.6.0.0) using this command:

./mage upgrade-all â€“force
You will see upgraded packages on your screen:

…

Package upgradedcommunity/Mage_Locale_en_US 1.6.0.0
Package upgraded
community/Lib_Mage 1.6.0.0
Package upgraded
community/Lib_ZF 1.11.1.0
Package upgraded
community/Lib_Js_Prototype 1.7.0.0.1
Package upgraded
community/Lib_ZF_Locale 1.11.1.0
Now the upgrade is complete and you can execute database upgrade visiting your Magento store in your browser. If everything was upgraded correctly, you will see upgraded store in your browser.

You can check version of your store in the footer of Magento administration panel.

empty var/cache & var/session folder empty browser cache

visit your website to trigger the update

Update time 60min depend on your hardware

This works for many of my customer.

I hope this can help you

I’m a Freelancer if you need help.

bye

http://stackoverflow.com/questions/11662347/how-to-upgrade-magento-1-4-1-1-to-1-7-0-2/11687085#11687085
 
Magento Community Magento Community
Magento Community
Magento Community
 
evenos_benedict
Jr. Member
 
Total Posts:  3
Joined:  2012-03-13
 

There is a german Howto for the Upgrade:

http://www.evenos.de/blog/post/25/2013/04/10.html

Hope that helps!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Alexandrovici
Jr. Member
 
Total Posts:  7
Joined:  2010-03-07
 

Hello
I have solved the issue of 500 error after the update by updating the owner and group permission using chown command
For me i ussed chown -R 500:500 /test2/
Where 500:500 was my user and group and test2 was the directory were magento was installed
Hope that this will help you too

 
Magento Community Magento Community
Magento Community
Magento Community
 
jillcoy
Jr. Member
 
Total Posts:  1
Joined:  2013-05-12
 

From my experience, I’d suggest cleaning out the database first.

The log files don’t need to be in there anymore and you might as well clean them out before doing an upgrade to speed everything up.

When I did this, the size of the database dropped from 900 mB to 200 mB.

Nexcess does a good job showing you how to do this:
docs.nexcess.net/magento-database-maintenance

 
Magento Community Magento Community
Magento Community
Magento Community
 
brianb421
Sr. Member
 
Total Posts:  196
Joined:  2009-04-23
 
jillcoy - 12 May 2013 06:16 PM

From my experience, I’d suggest cleaning out the database first.

I agree. When we did this, the size of the database dropped significantly. And the site appeared to run faster too.

 
Magento Community Magento Community
Magento Community
Magento Community
 
famouscarol
Jr. Member
 
Total Posts:  1
Joined:  2013-05-12
 

I’ve been working on the site and found with Magento 1.5 and above, you can tell it to clean the database automatically.
But for some reason, it’s not turned on my default:

In Admin, go to System - Configuration.
Select Log Cleaning and Save Log, Days: 15

Then save.

We did this and it worked great.

Hope that helps!
- famous love poems

 
Magento Community Magento Community
Magento Community
Magento Community
 
adeguardado
Jr. Member
 
Total Posts:  2
Joined:  2013-11-20
 

I really appreciate the information you have provided in this article. Thanks a lot! Very nice!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jase007
Guru
 
Total Posts:  388
Joined:  2013-11-05
 

Hi,

Check this thread to upgrade Magento 1.4 to 1.5 http://www.njcmedia.com/2011/02/upgrade-magento-community-from-1-4-to-1-5-via-ssh/

Thanks

iLoveMage

 
Magento Community Magento Community
Magento Community
Magento Community
 
xvip87
Jr. Member
 
Total Posts:  5
Joined:  2013-11-03
 

link http://stackoverflow.com/questions/11662347/how-to-upgrade-magento-1-4-1-1-to-1-7-0-2/11687085#11687085 is fine , thank !

 
Magento Community Magento Community
Magento Community
Magento Community
 
Martinly
Sr. Member
 
Total Posts:  90
Joined:  2013-11-10
 

Look like the tutorial helpful to you: Upgrade Magento 1.6

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2