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

Cannot update 1.4.11 to 1.5 via SSH
 
twick100
Member
 
Total Posts:  42
Joined:  2009-07-15
 

I am trying to run ./pear upgrade-all I get the following error.  (Which my explain why I see no packages to update in MCM

Error getting channel info from connect.magentocommerce.com/community: Invalid xml downloaded from “http://connect.magentocommerce.com/community/Chiara_PEAR_Server_REST/p/packages.xml”: XML Error: ‘not well-formed (invalid token)’ on line ‘187’
Nothing to upgrade-all

 
Magento Community Magento Community
Magento Community
Magento Community
 
faye1984s
Jr. Member
 
Total Posts:  11
Joined:  2010-05-15
 

See Post by Veracious from here:

http://www.magentocommerce.com/boards/main.php/viewthread/219720/#t300746

I upgraded from ver 1.4.0.0 to 1.5.0.1 without problems.

Good Luck.

 
Magento Community Magento Community
Magento Community
Magento Community
 
twick100
Member
 
Total Posts:  42
Joined:  2009-07-15
 

Thanks for the reply.  When I try the command ./mage channel-add connect20.magentocommerce.com/community
it says no file or directory.  Where should I be at when running it?

I think the problem is, I cannot update via the pear command which lets me use the mage commands.  So that solution will not work until this issue is fixed.

 
Magento Community Magento Community
Magento Community
Magento Community
 
faye1984s
Jr. Member
 
Total Posts:  11
Joined:  2010-05-15
 

Here’s the steps that I followed:

you can upload a copy of magento to the site via ftp or quicker and easier just use wget command:
1. navigate to the root of your website (i.e.: www or public_html)

wget http://www.magentocommerce.com/downloads/assets/1.5.0.1/magento-1.5.0.1.tar.gz

Then extract it:

tar -zxvf magento-1.5.0.1.tar.gz

Now you are done if you have magento in a folder called magento.  If you do not have your magento site in a folder called magento (i.e: on the root of your website like i do) then you have to do a little bit more.  Do this this to move the freshly extracted files to the correct directory (please replace ‘/home/pathYourPathMageIsIn/public_html’ with the location of your magento index.php):

cd magento cp -rf * /home/pathYourPathMageIsIn/public_html

Depending on your build of linux (centos, FC, etc which use an alias for cp). you may need to disable the alias on the cp command first.  To do so type this command before using the above cp command:

unalias cp

then do the above mentioned copy command to get the files in the correct directory.  You can use the move command instead but this was how i went about it.  now to delete the unneeded copy do this:

cd ../
rm -rf magento

The steps above were posted by Veracious on this forum:
http://www.magentocommerce.com/boards/main.php/viewthread/219720/#t300746

I have successfully updated 3 of my magento websites with these steps withou crashing my sites.

Once you finish these steps. Check your php.ini permission, flush cache, log out and back in, then you should be updated.

 
Magento Community Magento Community
Magento Community
Magento Community
 
ladle
Sr. Member
 
Avatar
Total Posts:  173
Joined:  2009-06-11
 

Open the upgrade pdf in this thread http://www.magentocommerce.com/boards/viewthread/220995/

Follow instructions for upgrading via ssh

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top