<div dir="ltr"><div>Starting with a small test instance with no modifications, under RHEL, using derby, from a working v1.0.9 instance (which had been stopped), and then attempting to upgrade to 1.2.0. I just copied the </div><div><br></div><div><div>[www@saturn archivesspace-v1.2.0]$ scripts/setup-database.sh</div><div>Loading ArchivesSpace configuration file from path: /data/sites/apps/public/archivesspace-v1.2.0/config/config.rb</div><div>Loading ArchivesSpace configuration file from path: /data/sites/apps/public/archivesspace-v1.2.0/config/config.rb</div><div>Running migrations against jdbc:derby:/data/sites/apps/public/archivesspace-v1.2.0/data/archivesspace_demo_db;create=true;aspacedemo=true</div><div>Adding separate permissions for updating major record types</div><div> ... accession records</div><div> ... resource records</div><div> ... digital object records</div><div> ... running import jobs</div><div> ... managing vocabulary records</div><div>Updating groups to include the new permssions</div><div>Deleting update_archival_record permission</div><div>Adding 'Date Not Yet Determined' to resource 2/4</div></div><div>Adding 'Date Not Yet Determined' to resource 2/23<br></div><div><div>Adding 'Date Not Yet Determined' to resource 2/24</div><div><br></div><div> ............</div><div><br></div><div>Adding 'Date Not Yet Determined' to resource 2/52</div><div>Adding 'Date Not Yet Determined' to resource 2/53</div><div>*** ADDING SOME ENUMS</div><div>*** Genre Form to note_index_item_type enum list</div><div>Triggering reindex of resource</div><div>Triggering reindex of archival_object</div><div>Triggering reindex of digital_object</div><div>Making location_temporary list editble</div><div>{:id=>1, :import_type=>"marcxml_lcnaf_subjects_and_agents", :repo_id=>2, :lock_version=>5, :json_schema_version=>1, :filenames=>"[\"lcnaf_import_d2adf1d5-64f5-4577-b55a-2e00b3bac1d5\"]", :time_submitted=>2014-03-26 17:51:23 UTC, :time_started=>2014-03-26 17:51:27 UTC, :time_finished=>2014-03-26 17:51:42 UTC, :owner_id=>1, :status=>"completed", :created_by=>"admin", :last_modified_by=>"admin", :create_time=>2014-03-26 17:51:23 UTC, :system_mtime=>2014-03-26 17:51:42 UTC, :user_mtime=>2014-03-26 17:51:23 UTC}</div><div>1297</div><div>NoMethodError: undefined method `to_sequel_blob' for #<String:0x229db918></div><div> blobify at /data/sites/apps/public/archivesspace-v1.2.0/lib/common.jar!/db/migrations/utils.rb:33</div><div> (root) at /data/sites/apps/public/archivesspace-v1.2.0/lib/common.jar!/db/migrations/037_generalized_job_table.rb:44</div><div> each at org/jruby/RubyArray.java:1613</div><div> (root) at /data/sites/apps/public/archivesspace-v1.2.0/lib/common.jar!/db/migrations/037_generalized_job_table.rb:37</div><div> instance_eval at org/jruby/RubyBasicObject.java:1533</div><div> apply at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:100</div><div> run at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:528</div><div> _transaction at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:134</div><div> transaction at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:108</div><div> hold at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98</div><div> hold at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:87</div><div> synchronize at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255</div><div> transaction at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/transactions.rb:97</div><div> checked_transaction at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:464</div><div> run at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:527</div><div> each at org/jruby/RubyArray.java:1613</div><div> run at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:524</div><div> run at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:391</div><div> setup_database at file:/data/sites/apps/public/archivesspace-v1.2.0/lib/common.jar!/db/db_migrator.rb:184</div><div> (root) at ../scripts/rb/migrate_db.rb:43</div><div> connect at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:69</div><div> connect at /data/sites/apps/public/archivesspace-v1.2.0/gems/gems/sequel-4.20.0/lib/sequel/core.rb:95</div><div> (root) at ../scripts/rb/migrate_db.rb:28</div><div>[www@saturn archivesspace-v1.2.0]$</div></div><div><br></div>
</div>