I actually just ran into this and have a solution. I am currently on 18.104.22.168. I have copied my installation directory from / to like such:
I noticed that extensions were being installed on my previous location. There are 4 files I found that hold this old data:
They all store directories as /var/www/store/blah/blah/blah/blah. While my solution may be much more than necessary to fix it, it works nonetheless. Use this link as a reference,
Essentially, you will be re-installing your stores core files. If you have followed the rules, non of your core files have been changed during development and replacing them will do absolutely nothing harmful to your installation.
In the terminal, navigate to the root of your magento installation:
(one of these might be your location, if not find where your magento installation root is and locate yourself there)
In the terminal, enter the following commands:
./pear mage-setup .
./pear install magento-core/Mage_All_Latest-stable
rm -rf downloader/pearlib/cache/* downloader/pearlib/download/*//tempend ?>
This will download all your core modules and re-install them. One of your core modules is your downloader, Mage_Downloader.
After navigating to your downloader configuration files, you will see that a dynamic location is used, at least thats what happened to me. My configurations used to use locations such as:
but now its
This should work for any location, because the configuration files reference all the pear doings as the “directory above” and that can be referenced that way in any installation of magento.
I can’t promise this works as well for anyone else, but this is how it worked for me. Hope it helps.