ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

couldn't parse YAML upgrading from 1.3.0 to 2.0.latest

Added by Jeff Schoolcraft at 2011-07-22 11:21 am

  * executing "cd /var/www/apps/chiliproject/releases/20110722111131; bundle exec rake RAILS_ENV=production  db:migrate" 
    servers: ["rm.thequeue.net"]
    [rm.thequeue.net] executing command
 ** [out :: rm.thequeue.net] ==  PrepareJournalsForActsAsJournalized: migrating ============================
 ** [out :: rm.thequeue.net] -- change_table(:journals)
 ** [out :: rm.thequeue.net] -> 12.7689s
 ** [out :: rm.thequeue.net] ==  PrepareJournalsForActsAsJournalized: migrated (12.7693s) ==================
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] ==  UpdateJournalsForActsAsJournalized: migrating =============================
 ** [out :: rm.thequeue.net] -- Updating existing Journals...
 ** [out :: rm.thequeue.net] -> 50.1869s
 ** [out :: rm.thequeue.net] -- change_table(:journals)
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] -> 1.2718s
 ** [out :: rm.thequeue.net] ==  UpdateJournalsForActsAsJournalized: migrated (51.4591s) ===================
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] ==  BuildInitialJournalsForActsAsJournalized: migrating =======================
 ** [out :: rm.thequeue.net] -- Building initial journals for Issue
 ** [out :: rm.thequeue.net] rake aborted!
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] couldn't parse YAML at line 671 column 24
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] Tasks: TOP => db:migrate
 ** [out :: rm.thequeue.net]

and on the second try:

 ** [out :: rm.thequeue.net] ==  BuildInitialJournalsForActsAsJournalized: migrating =======================
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] -- Building initial journals for Issue
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] -> 7.4085s
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] -- Building initial journals for Changeset
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] rake aborted!
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] An error has occurred, all later migrations canceled:
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] Change(#101038500) expected, got Array(#74812850)
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] Tasks: TOP => db:migrate
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] (See full trace by running task with --trace)
 ** [out :: rm.thequeue.net] 

and the trace:

 ** [out :: rm.thequeue.net] ** Invoke db:migrate (first_time)
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] ** Invoke environment (first_time)
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] ** Execute environment
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] ** Execute db:migrate
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] ==  BuildInitialJournalsForActsAsJournalized: migrating =======================
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] -- Building initial journals for Issue
 ** [out :: rm.thequeue.net] -> 5.4132s
 ** [out :: rm.thequeue.net] -- Building initial journals for Changeset
 ** [out :: rm.thequeue.net] rake aborted!
 ** [out :: rm.thequeue.net] An error has occurred, all later migrations canceled:
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] Change(#94865440) expected, got Array(#67970480)
 ** [out :: rm.thequeue.net] 
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/associations/association_proxy.rb:259:in `raise_on_type_mismatch'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/associations/association_collection.rb:321:in `block in replace'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/associations/association_collection.rb:321:in `each'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/associations/association_collection.rb:321:in `replace'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/associations.rb:1331:in `block in collection_accessor_methods'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/associations/association_proxy.rb:149:in `send'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/releases/20110722114027/app/models/journal.rb:104:in `method_missing'
 ** [out :: rm.thequeue.net] db/migrate//20100714111653_build_initial_journals_for_acts_as_journalized.rb:52:in `block (3 levels) in up'
 ** [out :: rm.thequeue.net] db/migrate//20100714111653_build_initial_journals_for_acts_as_journalized.rb:35:in `each'
 ** [out :: rm.thequeue.net] db/migrate//20100714111653_build_initial_journals_for_acts_as_journalized.rb:35:in `block (2 levels) in up'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:328:in `block in say_with_time'
 ** [out :: rm.thequeue.net] /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/benchmark.rb:294:in `measure'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:328:in `say_with_time'
 ** [out :: rm.thequeue.net] db/migrate//20100714111653_build_initial_journals_for_acts_as_journalized.rb:31:in `block in up'
 ** [out :: rm.thequeue.net] db/migrate//20100714111653_build_initial_journals_for_acts_as_journalized.rb:28:in `each'
 ** [out :: rm.thequeue.net] db/migrate//20100714111653_build_initial_journals_for_acts_as_journalized.rb:28:in `up'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:282:in `block in migrate'
 ** [out :: rm.thequeue.net] /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/benchmark.rb:294:in `measure'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:282:in `migrate'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:365:in `migrate'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:491:in `block (2 levels) in migrate'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:567:in `call'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:567:in `ddl_transaction'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:490:in `block in migrate'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:477:in `each'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:477:in `migrate'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:401:in `up'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/activerecord-2.3.12/lib/active_record/migration.rb:383:in `migrate'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rails-2.3.12/lib/tasks/databases.rake:112:in `block (2 levels) in <top (required)>'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in `call'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in `block in execute'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in `each'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.
 ** [out :: rm.thequeue.net] 9.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
 ** [out :: rm.thequeue.net] /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:144:in `invoke'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:112:in `invoke_task'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `block (2 levels) in top_level'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `each'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `block in top_level'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:62:in `block in run'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/gems/rake-0.9.2/bin/rake:32:in `<top (required)>'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/bin/rake:19:in `load'
 ** [out :: rm.thequeue.net] /var/www/apps/chiliproject/shared/bundle/ruby/1.9.1/bin/rake:19:in `<main>'
 ** [out :: rm.thequeue.net] Tasks: TOP => db:migrate
    command finished in 20088ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell '1.9.2@chiliproject' -c 'cd /var/www/apps/chiliproject/releases/20110722114027; bundle exec rake --trace RAILS_ENV=production  db:migrate'" on rm.thequeue.net

might be ruby 1.9, grrr


Replies (1)

RE: couldn't parse YAML upgrading from 1.3.0 to 2.0.latest - Added by Jeff Schoolcraft at 2011-07-22 01:07 pm

it's all ruby 1.9.2.

downgraded to REE-latest and all is good.

(1-1/1)