Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@aspace-test:/usr/local/archivesspace/scripts# ./setup-database.sh
- Loading ArchivesSpace configuration file from path: /usr/local/archivesspace/config/config.rb
- Loading ArchivesSpace configuration file from path: /usr/local/archivesspace/config/config.rb
- Loading ArchivesSpace configuration file from path: /usr/local/archivesspace/config/config.rb
- Running migrations against jdbc:mysql://127.0.0.1:3306/aspace?useUnicode=true&characterEncoding=UTF-8&user=[REDACTED]&password=[REDACTED]
- I, [2018-03-27T22:36:02.649379 #16429] INFO -- : Begin applying migration version 1, direction: up
- E, [2018-03-27T22:36:02.726855 #16429] ERROR -- : Java::JavaSql::SQLException: The table 'session' is full: CREATE INDEX `session_system_mtime_index` ON `session` (`system_mtime`)
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- 3
- Database migration error.
- Your upgrade has encountered a problem.
- You must resolve these issues before the database migration can complete.
- Error:
- #<Sequel::DatabaseError: Java::JavaSql::SQLException: The table 'session' is full>
- Java::JavaSql::SQLException: The table 'session' is full
- com.mysql.jdbc.SQLError.createSQLException(com/mysql/jdbc/SQLError.java:965)
- com.mysql.jdbc.MysqlIO.checkErrorPacket(com/mysql/jdbc/MysqlIO.java:3976)
- com.mysql.jdbc.MysqlIO.checkErrorPacket(com/mysql/jdbc/MysqlIO.java:3912)
- com.mysql.jdbc.MysqlIO.sendCommand(com/mysql/jdbc/MysqlIO.java:2530)
- com.mysql.jdbc.MysqlIO.sqlQueryDirect(com/mysql/jdbc/MysqlIO.java:2683)
- com.mysql.jdbc.ConnectionImpl.execSQL(com/mysql/jdbc/ConnectionImpl.java:2482)
- com.mysql.jdbc.ConnectionImpl.execSQL(com/mysql/jdbc/ConnectionImpl.java:2440)
- 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(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:254)
- RUBY.log_yield(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/logging.rb:37)
- RUBY.block in execute(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:254)
- RUBY.statement(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:646)
- RUBY.block in execute(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:245)
- RUBY.hold(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98)
- RUBY.synchronize(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255)
- RUBY.execute(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:244)
- RUBY.execute_ddl(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:270)
- RUBY.block in create_table_indexes_from_generator(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:654)
- org.jruby.RubyArray.each(org/jruby/RubyArray.java:1734)
- org.jruby.RubyArray$INVOKER$i$0$0$each.call(org/jruby/RubyArray$INVOKER$i$0$0$each.gen)
- RUBY.block in create_table_indexes_from_generator(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:654)
- org.jruby.RubyArray.each(org/jruby/RubyArray.java:1734)
- org.jruby.RubyArray$INVOKER$i$0$0$each.call(org/jruby/RubyArray$INVOKER$i$0$0$each.gen)
- RUBY.create_table_indexes_from_generator(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:652)
- RUBY.create_table(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:196)
- RUBY.block in (root)(uri:classloader:/db/migrations/001_create_base_schema.rb:7)
- org.jruby.RubyBasicObject.yieldUnder(org/jruby/RubyBasicObject.java:1787)
- org.jruby.RubyBasicObject.specificEval(org/jruby/RubyBasicObject.java:1806)
- org.jruby.RubyBasicObject.instance_eval(org/jruby/RubyBasicObject.java:1687)
- org.jruby.RubyBasicObject$INVOKER$i$instance_eval19.call(org/jruby/RubyBasicObject$INVOKER$i$instance_eval19.gen)
- RUBY.apply(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:100)
- RUBY.block in run(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:528)
- RUBY.checked_transaction(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:466)
- RUBY.block in run(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:527)
- org.jruby.RubyArray.each(org/jruby/RubyArray.java:1734)
- org.jruby.RubyArray$INVOKER$i$0$0$each.call(org/jruby/RubyArray$INVOKER$i$0$0$each.gen)
- RUBY.run(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:524)
- RUBY.run(/usr/local/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.invokeOther18: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(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:69)
- RUBY.connect(/usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/core.rb:95)
- $_dot_dot_.scripts.rb.migrate_db.invokeOther73:connect($_dot_dot_/scripts/rb/../scripts/rb/migrate_db.rb:44)
- $_dot_dot_.scripts.rb.migrate_db.<main>(../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:827)
- org.jruby.Ruby.runNormally(org/jruby/Ruby.java:746)
- org.jruby.Ruby.runNormally(org/jruby/Ruby.java:764)
- org.jruby.Ruby.runFromMain(org/jruby/Ruby.java:577)
- 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)
- 3
- Sequel::DatabaseError: Java::JavaSql::SQLException: The table 'session' is full
- raise_error at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/misc.rb:423
- statement at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:648
- block in execute at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:245
- hold at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/connection_pool/threaded.rb:98
- synchronize at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:255
- execute at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:244
- execute_ddl at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/adapters/jdbc.rb:270
- block in create_table_indexes_from_generator at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:654
- each at org/jruby/RubyArray.java:1734
- block in create_table_indexes_from_generator at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:654
- each at org/jruby/RubyArray.java:1734
- create_table_indexes_from_generator at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:652
- create_table at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/schema_methods.rb:196
- block in (root) at uri:classloader:/db/migrations/001_create_base_schema.rb:7
- instance_eval at org/jruby/RubyBasicObject.java:1687
- apply at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:100
- block in run at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:528
- checked_transaction at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:466
- block in run at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:527
- each at org/jruby/RubyArray.java:1734
- run at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/extensions/migration.rb:524
- run at /usr/local/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 /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/database/connecting.rb:69
- connect at /usr/local/archivesspace/gems/gems/sequel-4.20.0/lib/sequel/core.rb:95
- <main> at ../scripts/rb/migrate_db.rb:44
Add Comment
Please, Sign In to add comment