[typo] Installing on DreamHost

Michael Griepentrog magriep at mac.com
Fri Jan 20 17:38:39 EST 2006


Hi,

I'm trying to install typo (2.6.0), and I keep getting sporadic 500  
errors.

I've gotten it to the point where I can login, but then typo asks me  
to migrate the database.  When I click "Update my database now" it  
goes to a 500 error.

I checked the production.log and found this:

Processing GeneralController#migrate (for 69.76.46.160 at 2006-01-19  
18:46:35) [POST]
   Parameters: {"action"=>"migrate", "controller"=>"admin/general"}
Migrating to AddExtendedHtml (1)
Migrating to AddUserEmail (2)


ActiveRecord::StatementInvalid (Mysql::Error: Duplicate column name  
'email': ALTER TABLE users ADD email text):
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/connection_adapters/abstract_adapter.rb:88:in `log'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/connection_adapters/mysql_adapter.rb:180:in `execute'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/connection_adapters/abstract/schema_statements.rb: 
114:in `add_co$
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/migration.rb:170:in `send'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/migration.rb:170:in `method_missing'
     /db/migrate//2_add_user_email.rb:3:in `up'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/migration.rb:228:in `send'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/migration.rb:228:in `migrate'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/migration.rb:223:in `each'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/migration.rb:223:in `migrate'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/migration.rb:190:in `up'
     /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ 
active_record/migration.rb:181:in `migrate'
     /lib/migrator.rb:26:in `migrate'
     app/controllers/admin/general_controller.rb:17:in `migrate'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:853:in `send'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:853:in `perform_action_without_filters'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/filters.rb:332:in `perform_action_without_benchmark'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:69:in `measure'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/rescue.rb:82:in `perform_action'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:369:in `send'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:369:in  
`process_without_session_management_support'
     /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ 
action_controller/session_management.rb:116:in `process'
     /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in  
`dispatch'
     /lib/fcgi_handler.rb:141:in `process_request'
     /lib/fcgi_handler.rb:53:in `process!'
     /lib/fcgi_handler.rb:52:in `each_cgi'
     /usr/lib/ruby/1.8/fcgi.rb:597:in `each'
     /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'
     /lib/fcgi_handler.rb:52:in `process!'
     /lib/fcgi_handler.rb:22:in `process!'
     dispatch.fcgi:24


Any help would be greatly appreciated.

-Mike


More information about the Typo-list mailing list