[Archivesspace_Users_Group] Help Needed

Allhiser, Ivan Ivan.Allhiser at avila.edu
Tue Nov 1 11:31:44 EDT 2022


Out of the blue our server stopped working. When I checked through the logs I saw this:

I, [2022-11-01T08:34:31.138000 #3884]  INFO -- : Thread-2002: Connecting to database: jdbc:mysql://localhost:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8. Max connections: 28
E, [2022-11-01T08:34:31.341000 #3884] ERROR -- : Thread-2002: DB connection failed: com.mysql.jdbc.Driver not loaded, try installing jdbc-mysql gem
E, [2022-11-01T08:34:32.763000 #3884] ERROR -- : Thread-2002: ***** DATABASE CONNECTION FAILED *****
ArchivesSpace could not connect to your specified database URL (jdbc:mysql://localhost:3306/archivesspace?user=[REDACTED]&password=[REDACTED]&useUnicode=true&characterEncoding=UTF-8).

Please check your configuration and try again.
      ========================================================================
      A trace file has been written to the following location: C:/archivesspace/data/tmp/aspace_diagnostic_1667316872.txt

      This file contains information that will assist developers in diagnosing
      problems with your ArchivesSpace installation.  Please review the file's
      contents for sensitive information (such as passwords) that you might not
      want to share.
      ========================================================================
Nov 01, 2022 8:34:33 AM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: An exception happened during JRuby-Rack startup
Database connection failed
--- System
jruby 9.2.12.0 (2.5.7) 2020-07-01 db01a49ba6 Java HotSpot(TM) 64-Bit Server VM 25.291-b10 on 1.8.0_291-b10 +jit [mswin32-x86_64]
Time: 2022-11-01 08:34:32 -0700
Server: jetty/8.1.5.v20120716
jruby.home: uri:classloader://META-INF/jruby.home

--- Context Init Parameters:
jruby.max.runtimes = 1
jruby.min.runtimes = 1
public.root = /
rack.env = production

--- Backtrace
RuntimeError: Database connection failed
          ArchivesSpaceService at C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:102
                     configure at C:/archivesspace/gems/gems/sinatra-2.0.5/lib/sinatra/base.rb:1426
  <class:ArchivesSpaceService> at C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:79
                        <main> at C:/archivesspace/data/tmp/jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:39
                       require at org/jruby/RubyKernel.java:974
                       require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
                        <main> at C:\archivesspace\data\tmp\jetty-0.0.0.0-8089-backend.war-_-any-\webapp\WEB-INF\config.ru:4
                 instance_eval at org/jruby/RubyBasicObject.java:2622
                    initialize at uri:classloader:/vendor/rack-2.2.3/rack/builder.rb:125
                        <main> at C:\archivesspace\data\tmp\jetty-0.0.0.0-8089-backend.war-_-any-\webapp\WEB-INF\config.ru:1
                  start_server at C:\archivesspace\launcher\launcher.rb:92
                          main at C:\archivesspace\launcher\launcher.rb:157
                        <main> at C:\archivesspace\launcher\launcher.rb:261

Is there an easy fix for this? I'm not sure what happened here.

Thank you for your time,
Ivan Allhiser
System Administrator
Information Technology Services
(816) 501-3695
[Dining Services | Avila University]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20221101/b9e37fcb/attachment.html>


More information about the Archivesspace_Users_Group mailing list