[Radiant] upgrading 0.6.6+shards extension to 0.6.7
Sean Cribbs
seancribbs at gmail.com
Sat May 17 09:18:25 CDT 2008
nurallah,
There is a migration in 0.6.7 that adds the 'salt' column to the User
model. To get the migrations to run, try this:
1) Disable all extensions in environment.rb:
config.extensions = []
2) Run `rake db:migrate`.
3) Restore your extensions.
Sean
nurullah wrote:
> after removing gallery extension migrate rake task successfully worked
>
> but this time i get another error, here it is:
>
> NameError (undefined local variable or method `salt' for
> #<User:0x2b90291a0088>):
>
> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:205:in
> `method_missing'
> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/app/models/user.rb:32:in `sha1'
> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/app/models/user.rb:37:in
> `authenticate'
>
> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.7/app/controllers/admin/welcome_controller.rb:12:in
> `login'
> /usr/l
>
> On 5/17/08, nurullah <nurull4h at gmail.com> wrote:
>
>> well, it seems update rake task doesnt work for me
>>
>> production logs shows that:
>>
>>
>> ActionView::TemplateError (No such file or directory -
>> /var/www/nginx-default/vendor/extensions/shards/app/views/admin/page/index.html.erb)
>> in admin/page/index.html.erb:
>>
>>
>> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.6/vendor/rails/actionpack/lib/action_view/base.rb:553:in
>> `lstat'
>>
>>
>>
>> On 5/17/08, nurullah <nurull4h at gmail.com> wrote:
>>
>>> I couldnt upgrade to 0.6.7 and now cannot reach panel as well
>>>
>>> it stuck in migrate step, firstly gave error because of copy_move
>>> extension now removed it
>>>
>>> i am using sqlite3 and what it says constantly "couldnt find table config"
>>>
>>>
>>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
More information about the Radiant
mailing list