The RSA keys should be generated during the migration.
Did you run
rake install
and did you start out with a clean (empty) database?
You'll want to wipe the database, delete the RSA keys you copied over and
re-run the install task as the creation of the admin account will depend on
the RSA keys.
Let me know if you still run into the issue (and if you do or don't see any
errors running rake).
Long
On Thu, Jun 12, 2008 at 5:25 PM, Antony Evans <[EMAIL PROTECTED]> wrote:
>
> PPS I also tried putting an RSA public/private key file into the root
> directory, where this was looking for the file. This gives the
> following log file (something to do with failing a 'padding check'):
>
> ----------Begin Log Files------------------------------
> Processing HomeController#index (for 69.181.184.138 at 2008-06-13
> 00:14:59) [GET]
> Session ID:
> BAh7BzoMY3NyZl9pZCIlZGEzN2E4Y2ZmODA1OTJmZjAxODY3Zjg0OTBhODVj
> %0ANzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh
> %0Ac2h7AAY6CkB1c2VkewA%3D--1fd5e4f91a6ce0dcbf0910c0236d7f61dc6f6521
> Parameters: {"action"=>"index", "controller"=>"home"}
> default field list: [:description, :name]
> Rendering template within layouts/application
> Rendering home/index
> default field list: [:title, :body]
> Completed in 0.33967 (2 reqs/sec) | Rendering: 0.10553 (31%) | DB:
> 0.00000 (0%) | 200 OK [http://www.thestartupexchange.com/]
>
>
> Processing SessionsController#new (for 69.181.184.138 at 2008-06-13
> 00:15:02) [GET]
> Session ID:
> BAh7BzoMY3NyZl9pZCIlZGEzN2E4Y2ZmODA1OTJmZjAxODY3Zjg0OTBhODVj
> %0ANzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh
> %0Ac2h7AAY6CkB1c2VkewA%3D--1fd5e4f91a6ce0dcbf0910c0236d7f61dc6f6521
> Parameters: {"action"=>"new", "controller"=>"sessions"}
> Rendering template within layouts/application
> Rendering sessions/new
> Completed in 0.01524 (65 reqs/sec) | Rendering: 0.00779 (51%) | DB:
> 0.00000 (0%) | 200 OK [http://www.thestartupexchange.com/login]
>
>
> Processing SessionsController#create (for 69.181.184.138 at 2008-06-13
> 00:15:06) [POST]
> Session ID:
> BAh7BzoMY3NyZl9pZCIlZGEzN2E4Y2ZmODA1OTJmZjAxODY3Zjg0OTBhODVj
> %0ANzYiCmZsYXNoSUM6J0FjdGlvbkNvbnRyb2xsZXI6OkZsYXNoOjpGbGFzaEhh
> %0Ac2h7AAY6CkB1c2VkewA%3D--1fd5e4f91a6ce0dcbf0910c0236d7f61dc6f6521
> Parameters: {"commit"=>"Sign in",
> "authenticity_token"=>"1f318eccd811f900db87888d1e816d8f20cd99cc",
> "action"=>"create", "controller"=>"sessions", "password"=>"foobar",
> "remember_me"=>"1", "email"=>"[EMAIL PROTECTED]"}
>
>
> OpenSSL::PKey::RSAError (padding check failed):
> /config/initializers/crypto.rb:27:in `public_decrypt'
> /config/initializers/crypto.rb:27:in `send'
> /config/initializers/crypto.rb:27:in `decrypt'
> /app/models/person.rb:289:in `decrypt'
> /app/models/person.rb:298:in `unencrypted_password'
> /app/models/person.rb:293:in `authenticated?'
> /app/models/person.rb:276:in `authenticate'
> /app/controllers/sessions_controller.rb:11:in `create'
> /vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
> `send'
> /vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
> `perform_action_without_filters'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:697:in
> `call_filters'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:689:in
> `perform_action_without_benchmark'
> /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
> 68:in `perform_action_without_rescue'
> /opt/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
> 68:in `perform_action_without_rescue'
> /vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in
> `perform_action_without_caching'
> /vendor/rails/actionpack/lib/action_controller/caching.rb:678:in
> `perform_action'
> /vendor/rails/activerecord/lib/active_record/connection_adapters/
> abstract/query_cache.rb:33:in `cache'
> /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
> `cache'
> /vendor/rails/actionpack/lib/action_controller/caching.rb:677:in
> `perform_action'
> /vendor/rails/actionpack/lib/action_controller/base.rb:524:in
> `send'
> /vendor/rails/actionpack/lib/action_controller/base.rb:524:in
> `process_without_filters'
> /vendor/rails/actionpack/lib/action_controller/filters.rb:685:in
> `process_without_session_management_support'
> /vendor/rails/actionpack/lib/action_controller/
> session_management.rb:123:in `process'
> /vendor/rails/actionpack/lib/action_controller/base.rb:388:in
> `process'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:
> 171:in `handle_request'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:
> 115:in `dispatch'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:
> 126:in `dispatch_cgi'
> /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in
> `dispatch'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> rails.rb:76:in `process'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> rails.rb:74:in `synchronize'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> rails.rb:74:in `process'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:159:in `process_client'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:158:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:158:in `process_client'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:285:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:285:in `initialize'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:285:in `new'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:285:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:268:in `initialize'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:268:in `new'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/
> mongrel.rb:268:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> configurator.rb:282:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> configurator.rb:281:in `each'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> configurator.rb:281:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:
> 128:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/
> command.rb:212:in `run'
> /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:
> 281
> /opt/local/bin/mongrel_rails:19:in `load'
> /opt/local/bin/mongrel_rails:19
>
> Rendering /home/thestartupexchange.com/sites/insoshi/public/500.html
> (500 Internal Server Error)
> ----------End Log Files------------------------------
>
> >
>
--
Long Nguyen
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/
You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---