We have an extension which was initially installed via Magento Connect. Since then the extension was modified locally, and there have been several patch releases from the vendor. Upgrading the extension via Magento Connect would no longer work, so I did the upgrades locally (unzipping the package and re-applying our changes, etc).

After upgrading the extension I've found that the update is live and running, and the core_resource table in the database has registered that it's upgraded. However, I noticed that Magento Connect still thinks I'm running the previous version.

Where does Magento Connect track which versions have been installed? Since I'm no longer using Magento Connect to upgrade this extension what steps should I take?

2 Answers 2


In the downloader folder there's a file named cache.cfg

$ ls -l downloader/cache.cfg 
-rw-r--r--  1 alanstorm  staff  323546 May 13 07:03 downloader/cache.cfg

This file contains a gziped, PHP serialized array that contains all the current configuration information for you Magento Connect instance. This is where Magento Connect stores extension versions. (Extension versions are different than module versions, since a Magento extension is just a collection of files that may or may not contain a module)

You can peek at this data with the following

$contents       = file_get_contents('cache.cfg');
$uncompressed   = gzuncompress($contents);
$unserialized   = unserialize($uncompressed);


and I believe the Magento Connect downloader saves and loads this file via the load and save methods in

#File: lib/Mage/Connect/Singleconfig.php

All the module's version information for application and data is saved in core_resource table.

Thank you.

Tiago Sampaio

  • Perhaps there's a different root cause for what I'm seeing, but Magento Connect sees my currently installed version as 1.0.0 while the core_resource table sees it as 1.1.0--hence my question
    – STW
    Commented May 12, 2014 at 19:01

Your Answer

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

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