[typo] Installing on DreamHost

Dusty Jewett dusty.jewett at gmail.com
Fri Jan 20 23:08:23 EST 2006


I'm on dreamhost... I have an installation of 2.6, and an installation of
Trunk a couple weeks old....

I wasn't able to migrate the database, from what I gleamed, there's an error
in the version of Rails that Dreamhost has that kills the migrate script.

I was told I could install rails into the vendor\ directory, give that a
shot... Since it wasn't a big deal for me, I just cleaned house and
re-installed, so I don't have any success stories...

Good luck!
-Dusty

On 1/20/06, Michael Griepentrog <magriep at mac.com> wrote:
>
> 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
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20060120/c42ccb22/attachment.htm


More information about the Typo-list mailing list