Project

General

Profile

Actions

Defect #6261

closed

Redmine 0.8.4 update to 1.0.1

Added by hanjiang zheng about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
2010-09-01
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

i update redmine 0.8.4 to 1.0.1
when i do step
"rake db:migrate RAILS_ENV=production"
it show :
E:\InstantRails\rails_apps\redmine101>rake db:migrate RAILS_ENV=production --tra
ce
(in E:/InstantRails/rails_apps/redmine101)
  • Invoke db:migrate (first_time)
  • Invoke environment (first_time)
  • Execute environment
    rake aborted!
    uninitialized constant ActionController::Session::PStore
    E:/InstantRails/rails_apps/redmine101/vendor/rails/activesupport/lib/active_supp
    ort/dependencies.rb:440:in `load_missing_constant'
    E:/InstantRails/rails_apps/redmine101/vendor/rails/activesupport/lib/active_supp
    ort/dependencies.rb:80:in `const_missing'
    E:/InstantRails/rails_apps/redmine101/vendor/rails/actionpack/lib/action_control
    ler/session_management.rb:19:in `const_get'
    E:/InstantRails/rails_apps/redmine101/vendor/rails/actionpack/lib/action_control
    ler/session_management.rb:19:in `session_store='
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:602:in `send'
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:602:in `initialize_framework_settings'
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:601:in `each'
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:601:in `initialize_framework_settings'
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:598:in `each'
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:598:in `initialize_framework_settings'
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:155:in `process'
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:113:in `send'
    E:/InstantRails/rails_apps/redmine101/config/../vendor/rails/railties/lib/initia
    lizer.rb:113:in `run'
    E:/InstantRails/rails_apps/redmine101/config/environment.rb:20
    E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
    m_original_require'
    E:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
    quire'
    E:/InstantRails/rails_apps/redmine101/vendor/rails/activesupport/lib/active_supp
    ort/dependencies.rb:156:in `require'
    E:/InstantRails/rails_apps/redmine101/vendor/rails/activesupport/lib/active_supp
    ort/dependencies.rb:521:in `new_constants_in'
    E:/InstantRails/rails_apps/redmine101/vendor/rails/activesupport/lib/active_supp
    ort/dependencies.rb:156:in `require'
    E:/InstantRails/rails_apps/redmine101/vendor/rails/railties/lib/tasks/misc.rake:
    4
    E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'

E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execu
te'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'

E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execu
te'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invok
e_with_call_chain'
E:/InstantRails/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invok
e_with_call_chain'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invok
e_prerequisites'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'

E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invok
e_prerequisites'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invok
e_with_call_chain'
E:/InstantRails/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invok
e_with_call_chain'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invok
e'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invo
ke_task'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_
level'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each
'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_
level'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `stan
dard_exception_handling'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_
level'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'

E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `stan
dard_exception_handling'
E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'

E:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
E:/InstantRails/ruby/bin/rake:19:in `load'
E:/InstantRails/ruby/bin/rake:19

what is wrong with my redmine
i use InstantRails version 2.0
gem version 1.3.7
ruby version 1.8.7
rails version 2.3.4
the Perform the upgrade step i had run
can you help me , thanks !

Actions #1

Updated by Holger Just about 14 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid
  1. You need Rails 2.3.5
  2. You have configured your Redmine to use the PStore session store (probably in config/environment.rb), which is not available in Rails 2.3.5 anymore. Redmine >= 0.9 uses the cookie store by default. Please use the unencumbered source from Redmine.org

Also, please post any follow ups on this issue in the forums as this is not a bug of Redmine.

Actions

Also available in: Atom PDF