I am very new to Magento and new to the upgrade. I have been trying to upgrade Magento 1.7.2 to 1.9.2 via SSH. I've created a localhost stage website before I go live but getting many errors. Starting with:

$ ./mage mage-setup 

when I try ./mage sync or any other function I get:

Please initialize Magento Connect installer by running: ./mage mage-setup

Please Help, Thank you in advance...

  • any solution on this? Apr 9, 2019 at 12:29

1 Answer 1


On initial call, ./mage mage-setup should result in output like

Running initial setup...
Successfully added: http://connect20.magentocommerce.com/community

An entry for the community channel should then be present in ./downloader/connect.cfg. If given file remains unaltered, check if your SSH user has sufficient permissions.

  • Here is the only error I got from it: [link] ./downloader/connect.cfg: line 1: syntax error near unexpected token `}
    – KarenR
    Apr 11, 2016 at 16:37
  • Remove/backup the files ./downloader/connect.cfg and ./downloader/cache.cfg and try again.
    – mam08ixo
    Apr 12, 2016 at 7:30
  • Thanks, unfortunately it did not solve it. I guess I still have to figure out the permission in SSH
    – KarenR
    Apr 13, 2016 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.