# Search Plugin - rake migrations error?; How to use?

**URL:** <https://www.ruby-forum.com/t/search-plugin-rake-migrations-error-how-to-use/103864>\
**Category:** Radiant CMS\
**Created:** [May 11, 2007, 3:41am UTC](https://www.ruby-forum.com/t/search-plugin-rake-migrations-error-how-to-use/103864 "2007-05-11T03:41:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![victorhooi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/a698b9/32.png) [@victorhooi](https://www.ruby-forum.com/u/victorhooi)\
**Post date:** [May 11, 2007, 3:41am UTC](https://www.ruby-forum.com/t/search-plugin-rake-migrations-error-how-to-use/103864/1 "2007-05-11T03:41:52Z")

</div>

I’m trying to add the “search” plugin to my Radiant site, and  
encountering some problems. Firstly, I checkedout a copy to my  
vendor/extensions folder.

`svn export
http://dev.radiantcms.org/svn/radiant/trunk/extensions/search
vendor/extensions/search`

I then run the rake command as stated on the wiki.

```auto
rake db:migrate:extensions
```

However, this produced the following error:

`Extensions cannot be used until Radiant migrations are up to
date.`  
Anyway, I restarted my web-browser, and the search plugin seemed to  
appear in the extensions list. However, how exactly would I go about  
using this plugin? And will there be any ill effects from the rake  
db:migrate command not working?

Thanks,  
Victor

---

<div class="post-metadata">

**Author:** ![victorhooi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/a698b9/32.png) [@victorhooi](https://www.ruby-forum.com/u/victorhooi)\
**Post date:** [May 11, 2007, 6:59am UTC](https://www.ruby-forum.com/t/search-plugin-rake-migrations-error-how-to-use/103864/2 "2007-05-11T06:59:21Z")

</div>

1. You need to run rake db:migrate regardless.
2. The search extension doesn’t have any migrations, so no worries  
there.

Sean

---

<div class="post-metadata">

**Author:** ![victorhooi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/a698b9/32.png) [@victorhooi](https://www.ruby-forum.com/u/victorhooi)\
**Post date:** [May 24, 2007, 12:52pm UTC](https://www.ruby-forum.com/t/search-plugin-rake-migrations-error-how-to-use/103864/3 "2007-05-24T12:52:17Z")

</div>

I have just updated a project from 0.5.2 to 0.6 and when I run rake  
db:migrate I only obtain the message “Extensions cannot be used until  
Radiant migrations are up to date.” And when I run script/server there  
was an error message that the extension\_meta table does not exists, so  
indeed the migrations have not been executed.

The problem comes from the fact that the schema\_info.version for my  
project was 36 and the version for radiant 0.5 is 9. So, the solution  
was to change the schema\_version to 9 and then execute rake db:migrate.
