# Uninstalling an extension and go live with sqlite3

**URL:** <https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871>\
**Category:** Radiant CMS\
**Created:** [December 21, 2007, 4:19pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871 "2007-12-21T16:19:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 4:19pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/1 "2007-12-21T16:19:38Z")

</div>

Hi everyone,  
I was wondering if there was a way to remove an extension from radiant.  
I  
have both the copy/move and the reorder installed and only the reorder  
appears in the admin console. Until there is a way for those to  
co-exist, I  
would like to get rid of the reorder _without_ having to destroy and  
recreate the content of my database. Any help on this would be  
appreciated.

Also we are going live with our new radiant site on new year, i’m  
getting a  
little nervous and wonder if using sqlite3 as the database back end is a  
wise choice and will cause performance degradation. Once live the site  
will  
rarely be modified.

Thank you all and merry christmas.

---

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/2 "2007-12-21T16:27:51Z")

</div>

Christian,

Simply delete the vendor/extensions/reorder directory and you’ll be good  
to go.

Sean

---

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/3 "2007-12-21T16:30:47Z")

</div>

Sean: what about any database changes? If he wants to clean up, won’t  
he have to migrate down?

Also, I seem to remember those extensions modifying the Admin JS or  
CSS files (although this was awhile ago)? Will he have to restore  
those too?

-Andrew

---

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/4 "2007-12-21T16:29:01Z")

</div>

Re: your SQLite question: I don’t have any benchmarks to back this up,  
but I would assume that Radiant’s caching mechanism should take a good  
deal of the load off of the database, especially if modifications are  
rare. The default behavior is for cache expiry to be 5 minutes, but  
you could make that even longer.

---

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/5 "2007-12-21T16:31:57Z")

</div>

(Ooops, when I said “(although this was awhile ago)”, I meant to say  
“(although this might have been changed)”.

---

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 4:37pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/6 "2007-12-21T16:37:49Z")

</div>

Yes, but it’s not absolutely necessary. Reorder adds the ‘position’  
column, but it can safely be ignored if he doesn’t want to migrate  
down. Reorder doesn’t touch the stock JS/CSS files, however, it does  
dynamically modify the interface using Shards.

Sean

---

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/7 "2007-12-21T16:35:28Z")

</div>

I don’t think there’s an easy way to undo files that have been  
overwritten, but if you want copy-move to prevail, you should be able to  
delete the reorder extension and then do this:

|rake RAILS\_ENV=production radiant:extensions:copy\_move:install|

That should take care of copying back the files that copy-move likes…

Cheers,  
Mohit.  
12/21/2007 | 11:34 PM.

---

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/8 "2007-12-21T19:57:11Z")

</div>

Hi Christian,

You can set a number of options on the ReponseCache in  
config/environment.rb. Look at the end – (in mine at least)  
:directory and :logger are set. You can add one for :expiry\_time  
there.

Check the documentation by ResponseCache#initialize in  
radiant/app/models/response\_cache.rb for more details.

-Andrew

---

<div class="post-metadata">

**Author:** ![chrisbotor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f14d63/32.png) [@chrisbotor](https://www.ruby-forum.com/u/chrisbotor)\
**Post date:** [December 21, 2007, 6:17pm UTC](https://www.ruby-forum.com/t/uninstalling-an-extension-and-go-live-with-sqlite3/123871/9 "2007-12-21T18:17:59Z")

</div>

Hi there, deleting the reorder directory did the trick nicely. Thank  
you  
guys.  
How can I increase the caching timeout?  
Thank you

On 12/21/07, Sean C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > he have to migrate down?
> > 
> > > > I was wondering if there was a way to remove an extension from  
> > > > little nervous and wonder if using sqlite3 as the database back end is  
> > > > Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)
> > 
> > * * *
> 
> Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

–  
Christian B.  
Director of IT  
[Warmlyyours.com](http://Warmlyyours.com), inc.

Phone: (800) 875-5285 ext.800  
Fax: (847) 550-2600  
Email: removed\_email\_address@domain.invalid

WarmlyYours  
Honeywell authorized licensee  
2 Corporate Dr., Suite 100  
Long Grove, Illinois 60047

Visit the WarmlyYours website at: [www.warmlyyours.com](http://www.warmlyyours.com)

24/7 Installation Support • Lifetime Technical Assistance • Free Design  
Service  
This email and any files transmitted with it are confidential and  
intended  
solely for the use of the individual or entity to whom they are  
addressed.  
If you have received this email in error please notify the system  
manager.  
Please note that any views or opinions presented in this email are  
solely  
those of the author and do not necessarily represent those of the  
company.
