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

Regarding Magento 1.3 to 1.7 upgradation
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Hi All,

I am using version 1.3.2.3 & would like to upgrade to 1.7 the latest one.
I ran 2 commands those worked very well :-
chmod -R 777 lib/PEAR
./pear mage-setup

But now when I am running the following command then it gives error.
./pear upgrade -f magento-core/Mage_All_Latest-stable

SECURITY ERROR: package in channel \"connect.magentocommerce.com/core\" retrieved another channel\’s name for download! (\"pear.php.net\")
Cannot initialize \’channel://connect.magentocommerce.com/core/Mage_All_Latest-stable\’, invalid or missing package file
Package \"channel://connect.magentocommerce.com/core/Mage_All_Latest-stable\" is not valid
upgrade failed

Can anyone help? Email - kaushal.acharya@intesols.com.au

Thanks
Kaushal

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagenX
Enthusiast
 
Total Posts:  791
Joined:  2008-05-26
Dublin
 

hi
do you have this file in magento root?

./mage

thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Thank you MagenX for your reply smile

And really sorry for the late reply from my side.

No I do not have that file in root so what should I do next?

Thanks
Kaushal

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Dear MagenX,

Any solution please?

Thanks
Kaushal

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Any suggestion on this guys?

Thanks
Kaushal

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Mentor
 
Avatar
Total Posts:  1158
Joined:  2008-04-24
 

Did you forgot the “.” (dot) at the end of the following command?

./pear mage-setup .

This will initialize pear in the current directory.

Then run

./pear -f upgrade magento-core/Mage_All_Latest-stable

Follow this guide for complete tutorial on upgrade of Magento through SSH.

Basically, when upgrading from a version old than 1.4.1 you need to do the upgrade in two steps. First to version 1.4.2, which includes the new “mage” downloader and a new database schema, then you can upgrade to the latest.

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Thanks Sindre for you reply smile

I am going to follow your instructions & will quickly get back to you.

Really.......thanks Sindre smile

Thanks
Kaushal

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Dear Sindre,

Now it is giving the following output :-

# ./pear -f upgrade magento-core/Mage_All_Latest-stable
Console_Getopt: unrecognized option—f
Commands:
build Build an Extension From C Source
bundle Unpacks a Pecl Package
channel-add Add a Channel
channel-alias Specify an alias to a channel name
channel-delete Remove a Channel From the List
channel-discover Initialize a Channel from its server
channel-info Retrieve Information on a Channel
channel-update Update an Existing Channel
clear-cache Clear Web Services Cache
config-create Create a Default configuration file
config-get Show One Setting
config-help Show Information About Setting
config-set Change Setting
config-show Show All Settings
convert Convert a package.xml 1.0 to package.xml 2.0 format
cvsdiff Run a “cvs diff” for all files in a package
cvstag Set CVS Release Tag
download Download Package
download-all Downloads each available package from the default channel
info Display information about a package
install Install Package
list List Installed Packages In The Default Channel
list-all List All Packages
list-categories List All Categories
list-category List All Packages of a Category
list-channels List Available Channels
list-files List Files In Installed Package
list-packages List All Packages of a Channel
list-upgrades List Available Upgrades
login Connects and authenticates to remote server
logout Logs out from the remote server
mage-package Build Magento Package
makerpm Builds an RPM spec file from a PEAR package
package Build Package
package-dependencies Show package dependencies
package-validate Validate Package Consistency
pickle Build PECL Package
remote-info Information About Remote Packages
remote-install Install Package
remote-list List Remote Packages
remote-uninstall Un-install Package
remote-upgrade Upgrade Package
remote-upgrade-all Upgrade All Packages
run-scripts Run Post-Install Scripts bundled with a package
run-tests Run Regression Tests
search Search remote package database
shell-test Shell Script Test
sign Sign a package distribution file
uninstall Un-install Package
update-channels Update the Channel List
upgrade Upgrade Package
upgrade-all Upgrade All Packages
Usage: pear [options] command [command-options] <parameters>
Type “pear help options” to list all options.
Type “pear help shortcuts” to list all command shortcuts.
Type “pear help <command>” to get the help for the specified command.

Do you have any idea please?

Thanks
Kaushal

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Mentor
 
Avatar
Total Posts:  1158
Joined:  2008-04-24
 

Try to remove the “-f” flag

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Thanks Sindre smile

But again getting the following error

# ./pear upgrade magento-core/Mage_All_Latest-stable
SECURITY ERROR: package in channel “connect.magentocommerce.com/core” retrieved another channel’s name for download! ("pear.php.net")
Cannot initialize ‘channel://connect.magentocommerce.com/core/Mage_All_Latest-stable’, invalid or missing package file
Package “channel://connect.magentocommerce.com/core/Mage_All_Latest-stable” is not valid
upgrade failed

Can you please suggest further something?

Thanks
Kaushal

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Mentor
 
Avatar
Total Posts:  1158
Joined:  2008-04-24
 

Sorry, I have never seen that error before and a quick google search did not return much either. It could be a server related problem. Are you hosted on a dedicated server?

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Dear Sindre no problem for that smile

Ya me too.....tried finding hard but no where I got this error :(

But it’s ok....probably I will use that Upgradation Service but firstly I would have liked to do that

Any ways Sindre......I am really thankful to you that you took time & helped me smile

Thanks
Kaushal

 
Magento Community Magento Community
Magento Community
Magento Community
 
zigojacko
Jr. Member
 
Total Posts:  13
Joined:  2010-09-05
 
kaushal_kk - 18 July 2013 11:56 PM

Thanks Sindre smile

But again getting the following error

# ./pear upgrade magento-core/Mage_All_Latest-stable
SECURITY ERROR: package in channel “connect.magentocommerce.com/core” retrieved another channel’s name for download! ("pear.php.net")
Cannot initialize ‘channel://connect.magentocommerce.com/core/Mage_All_Latest-stable’, invalid or missing package file
Package “channel://connect.magentocommerce.com/core/Mage_All_Latest-stable” is not valid
upgrade failed

Can you please suggest further something?

Thanks
Kaushal

This should allow you to proceed:-

./pear upgrade -f magento-core/Mage_All_Latest-stable
 
Magento Community Magento Community
Magento Community
Magento Community
 
kaushal_kk
Sr. Member
 
Total Posts:  83
Joined:  2011-06-28
 

Hi Zigojacko,

Thanks for looking into this issue smile
But as this issue came early, it was solved by some experienced person so it’s resolved smile

But anyways thanks for your suggestion, I will keep your suggestion in my important record keeping file & will implement when this type of tasks come smile

Thanks again Zigojacko

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