[typo] Need help migrating Superclass comments (and more: DB 20 to 35)

Christopher Bailey chris at codeintensity.com
Mon Dec 12 13:31:59 EST 2005


I had a relatively older typo, and updated to head revision.  I then did a
migrate, but that failed.  Actually, it appears the "rake migrate" call
actually worked (this time, with head revision 800), but going to the admin
interface, and doing the upgrade fails.  It says I'm on DB version 20, and
that it will go to 35.  Here's what it shows for needed migrations:

Superclass comments
Superclass trackbacks
Superclass pages
Cleanup contents
Add itunes metadata
Add redirect table
Set comment published flag
Rename redirect to
Add user notification
Index sessions
Add notifications table
Add jabber notification
Add count caching
Boolify published
Boolify content allow foo

I am wondering if my database is in a bad state due to this, and how I can
fix it and get fully up to date.  The following is the log output when I try
to update, and I'm hoping someone can suggest some potential fixes/actions
to do to get the migrate to run through:

Processing GeneralController#migrate (for 64.168.111.27 at 2005-12-12
18:34:07) [POST]
  Parameters: {"action"=>"migrate", "controller"=>"admin/general"}
Migrating to SuperclassComments (21)


Errno::EIO (Input/output error):
    /db/migrate//21_superclass_comments.rb:3:in `write'
    /db/migrate//21_superclass_comments.rb:3:in `puts'
    /db/migrate//21_superclass_comments.rb:3:in `up'
    
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/migr
ation.rb:211:in `send'
    
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/migr
ation.rb:211:in `migrate'
    
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/migr
ation.rb:206:in `each'
    
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/migr
ation.rb:206:in `migrate'
    
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/migr
ation.rb:173:in `up'
    
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.0/lib/active_record/migr
ation.rb:164:in `migrate'
    /lib/migrator.rb:26:in `migrate'
    /app/controllers/admin/general_controller.rb:17:in `migrate'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/ba
se.rb:841:in `send'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/ba
se.rb:841:in `perform_action_without_filters'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/fi
lters.rb:332:in `perform_action_without_benchmark'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/be
nchmarking.rb:69:in `perform_action_without_rescue'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/be
nchmarking.rb:69:in `measure'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/be
nchmarking.rb:69:in `perform_action_without_rescue'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/re
scue.rb:82:in `perform_action'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/ba
se.rb:365:in `send'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/ba
se.rb:365:in `process_without_session_management_support'
    
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/se
ssion_management.rb:116:in `process'
    /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/dispatcher.rb:38:in
`dispatch'
    
/usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:141:in
`process_request'
    /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:53:in
`process!'
    /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in
`each_cgi'
    /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each'
    /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in
`each_cgi'
    /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in
`process!'
    /usr/local/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:in
`process!'
    //public/dispatch.fcgi:24




More information about the Typo-list mailing list