We have a client with an old Magento version 18.104.22.168 we wanted to upgrade this version to the latest version.
So what we did is made a copy to a our test environment, used Magento connect manager and updated it to the latest version 22.214.171.124. worked liked a charm.
The client tested this environment and everything was correct.
Now we wanted to update the original site to this version. But when we logged in we saw that the version in Magento connect manager showt that this was version 126.96.36.199.
How is this possible? Can it be that with the use of Magento Connect Manager that our test server somehow stored at magento our latest installed version with the secret key?
After this I tried using the following solution:
chmod 550 mage ./mage mage-setup . ./mage config-set preferred_state stable ./mage sync ./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force php shell/indexer.php reindexall rm -rf downloader/.cache/ var/cache/
But this didn't work at all and gave me tons of errors so we placed back a backup.