# Uninstalling extensions

**URL:** <https://www.ruby-forum.com/t/uninstalling-extensions/106643>\
**Category:** Radiant CMS\
**Created:** [June 12, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/uninstalling-extensions/106643 "2007-06-12T19:33:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 12, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/uninstalling-extensions/106643/1 "2007-06-12T19:33:42Z")

</div>

I just installed an extension that appears to have done nothing but  
break the admin/pages interface in Firefox.

I ran the db:migrate and followed the install instructions for the  
rake task for the extension but still nothing.

So I just want to remove it and get back to the pristine Radiant I  
had before.

Is there a “best practice” sort of way to remove extensions? Or is  
just deleting them sufficient?

john

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 12, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/uninstalling-extensions/106643/2 "2007-06-12T19:43:16Z")

</div>

Independently of the specific advice you get on this concrete topic, you  
should be using a version control system. With a good software  
configuration management strategy you would not have had this problem.

```
/AITOR
```

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 12, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/uninstalling-extensions/106643/3 "2007-06-12T22:22:27Z")

</div>

John,

Right now the easiest way is to just remove the directory. If the  
extension migrations changed something, run this first:

rake radiant:extensions:extension\_name:migrate VERSION=0

Loren and I, in what little spare time we have, are working on a way to  
discover, install, and remove extensions. This should hopefully be live  
by the time we have 0.6.5 and will include a web service/site for  
finding and registering extensions.

Sean

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 12, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/uninstalling-extensions/106643/4 "2007-06-12T23:09:35Z")

</div>

Thanks for the tip. Unfortunately I was still having problems after  
that. Fortunately it was just the test site I was playing with while  
getting Apache/Mongrels et al. setup, so it was no great tragedy to  
just dump it and start again.

john

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 12, 2007, 11:15pm UTC](https://www.ruby-forum.com/t/uninstalling-extensions/106643/5 "2007-06-12T23:15:36Z")

</div>

John, while it’s unfortunate that you had to take that route, I’m  
curious as to which extension was installed and what error you were  
getting.

If we can locate and patch or re-document the reason you had the  
problem, it will help everyone moving forward.

dm

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 12, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/uninstalling-extensions/106643/6 "2007-06-12T23:59:42Z")

</div>

It’s the copy\_move extension and it all looks like javascript errors.  
(as reported by Firebug)  
on /admin/pages/  
pages (line 120)  
SiteMap is not defined  
[Break on this error] new SiteMap(‘site-map’, [1]);

on /admin/pages/edit/1  
1 (line 275)  
RuledTable is not defined  
[Break on this error] new RuledTable(‘snippets’);

on /admin/snippets/  
snippets (line 61)  
RuledTable is not defined  
[Break on this error] new RuledTable(‘snippets’);

However, even after destroying the offending directory and starting  
over with radiant --database mysql /newdirectory/ (re-ran the rake  
production db:bootstrap to clear the database also) I am still having  
problems. So I think the extension might have wrongly caught the  
blame here.

Could there still be residue of the extension left after both  
deleting the original folder and re-running rake production  
db:bootstrap and letting that overwrite the existing entries?

Upon further investigation it appears that Firefox is receiving blank  
files for:  
ruledtable.js  
tabcontrol.js  
sitemap.js  
string.js  
but not for any of the other .js files used in the admin interface  
(and not even for the above files if I browse directly to them, like  
[http://domain.tld/javascripts/sitemap.js](http://domain.tld/javascripts/sitemap.js); or if I include them in the  
head of the Normal layout they arrive just fine also). Compounding my  
confusion is the fact that Safari, Camino, OmniWeb and Opera all  
receive those .js files complete.

So maybe it’s just something broken in Firefox…to check this I  
removed my ~/Application Support/Firefox folder and launched fresh  
and still had the same problems with blank .js files, so I re-  
installed Firebug and sure enough the same errors are there.

At this point I am utterly confused. Any help/advice is greatly  
appreciated.

john
