Loading ArchivesSpace configuration file from path: C:\archivesspace\scripts\\../config/config.rb Loading ArchivesSpace configuration file from path: C:\archivesspace\scripts\\../config/config.rb Loading ArchivesSpace configuration file from path: C:\archivesspace\scripts\\../config/config.rb Running migrations against jdbc:mysql://localhost:3306/aspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&verifyServerCertificate=false&useSSL=true&characterEncoding=UTF-8 I, [2019-08-16T08:47:59.890000 #6200] INFO -- : Begin applying migration version 88, direction: up E, [2019-08-16T08:47:59.905000 #6200] ERROR -- : Java::ComMysqlJdbcExceptionsJdbc4::MySQLSyntaxErrorException: Table 'rights_statement_pre_088' already exists: CREATE TABLE `rights_statement_pre_088` AS SELECT * FROM `rights_statement` !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! !! !! Database migration error. !! !! Your upgrade has encountered a problem. !! !! You must resolve these issues before the database migration can complete. !! !! !! !! !! !! Error: !! !! # !! !! Java::ComMysqlJdbcExceptionsJdbc4::MySQLSyntaxErrorException: Table 'rights_statement_pre_088' already exists !! !! java.lang.reflect.Constructor.newInstance(java/lang/reflect/Constructor.java:423) com.mysql.jdbc.Util.handleNewInstance(com/mysql/jdbc/Util.java:425) com.mysql.jdbc.Util.getInstance(com/mysql/jdbc/Util.java:408) com.mysql.jdbc.SQLError.createSQLException(com/mysql/jdbc/SQLError.java:943) com.mysql.jdbc.MysqlIO.checkErrorPacket(com/mysql/jdbc/MysqlIO.java:3973) com.mysql.jdbc.MysqlIO.checkErrorPacket(com/mysql/jdbc/MysqlIO.java:3909) com.mysql.jdbc.MysqlIO.sendCommand(com/mysql/jdbc/MysqlIO.java:2527) com.mysql.jdbc.MysqlIO.sqlQueryDirect(com/mysql/jdbc/MysqlIO.java:2680) com.mysql.jdbc.ConnectionImpl.execSQL(com/mysql/jdbc/ConnectionImpl.java:2486) com.mysql.jdbc.ConnectionImpl.execSQL(com/mysql/jdbc/ConnectionImpl.java:2444) com.mysql.jdbc.StatementImpl.executeInternal(com/mysql/jdbc/StatementImpl.java:845) com.mysql.jdbc.StatementImpl.execute(com/mysql/jdbc/StatementImpl.java:745) java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498) org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:453) org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:314) RUBY.block in execute(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:254) RUBY.log_yield(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/logging.rb:37) RUBY.block in execute(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:254) RUBY.statement(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:646) RUBY.block in execute(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:245) RUBY.hold(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98) RUBY.synchronize(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255) RUBY.execute(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:244) RUBY.execute_ddl(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:270) RUBY.run(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/query.rb:76) RUBY.create_table_as(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:687) RUBY.create_table(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:192) RUBY.backup_rights_statement_table(uri:classloader:/db/migrations/088_rights_management.rb:6) RUBY.block in (root)(uri:classloader:/db/migrations/088_rights_management.rb:685) org.jruby.RubyBasicObject.yieldUnder(org/jruby/RubyBasicObject.java:1791) org.jruby.RubyBasicObject.specificEval(org/jruby/RubyBasicObject.java:1810) org.jruby.RubyBasicObject.instance_eval(org/jruby/RubyBasicObject.java:1691) org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(org/jruby/RubyBasicObject$INVOKER$i$instance_eval19.gen) RUBY.apply(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:100) RUBY.block in run(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:528) RUBY.checked_transaction(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:466) RUBY.block in run(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:527) org.jruby.RubyArray.each(org/jruby/RubyArray.java:1735) org.jruby.RubyArray$INVOKER$i$0$0$each.call(org/jruby/RubyArray$INVOKER$i$0$0$each.gen) RUBY.run(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:524) RUBY.run(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:391) RUBY.setup_database(uri:classloader:/db/db_migrator.rb:188) $_dot_dot_.scripts.rb.migrate_db.invokeOther20:setup_database($_dot_dot_/scripts/rb/..\scripts\rb\migrate_db.rb:56) $_dot_dot_.scripts.rb.migrate_db.block in ..\scripts\rb\migrate_db.rb(..\scripts\rb\migrate_db.rb:56) RUBY.connect(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:69) RUBY.connect(C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/core.rb:95) $_dot_dot_.scripts.rb.migrate_db.invokeOther78:connect($_dot_dot_/scripts/rb/..\scripts\rb\migrate_db.rb:44) $_dot_dot_.scripts.rb.migrate_db.
(..\scripts\rb\migrate_db.rb:44) java.lang.invoke.MethodHandle.invokeWithArguments(java/lang/invoke/MethodHandle.java:627) org.jruby.Ruby.runScript(org/jruby/Ruby.java:830) org.jruby.Ruby.runNormally(org/jruby/Ruby.java:749) org.jruby.Ruby.runNormally(org/jruby/Ruby.java:767) org.jruby.Ruby.runFromMain(org/jruby/Ruby.java:580) org.jruby.Main.doRunFromMain(org/jruby/Main.java:417) org.jruby.Main.internalRun(org/jruby/Main.java:305) org.jruby.Main.run(org/jruby/Main.java:232) org.jruby.Main.main(org/jruby/Main.java:204) !! !! !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Sequel::DatabaseError: Java::ComMysqlJdbcExceptionsJdbc4::MySQLSyntaxErrorException: Table 'rights_statement_pre_088' already exists raise_error at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/misc.rb:423 statement at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:648 block in execute at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:245 hold at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98 synchronize at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255 execute at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:244 execute_ddl at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:270 run at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/query.rb:76 create_table_as at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:687 create_table at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:192 backup_rights_statement_table at uri:classloader:/db/migrations/088_rights_management.rb:6 block in (root) at uri:classloader:/db/migrations/088_rights_management.rb:685 instance_eval at org/jruby/RubyBasicObject.java:1691 apply at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:100 block in run at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:528 checked_transaction at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:466 block in run at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:527 each at org/jruby/RubyArray.java:1735 run at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:524 run at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:391 setup_database at uri:classloader:/db/db_migrator.rb:188 block in ..\scripts\rb\migrate_db.rb at ..\scripts\rb\migrate_db.rb:56 connect at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:69 connect at C:/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/core.rb:95
at ..\scripts\rb\migrate_db.rb:44 Press any key to continue . . .