[Archivesspace_Users_Group] Failed to connect to database issue

Jason Loeffler j at minorscience.com
Tue Sep 19 12:32:52 EDT 2017


Hi Jeremy,

Can you include more information about your environment, e.g. server OS and
database server version? Can you connect to the database directly using
your ArchivesSpace username and password as stored in config.rb?

Jason Loeffler
Technology Consultant | The American Academy in Rome
Minor Science | Application Development & Metadata Strategy
Brooklyn, New York
jason at minorscience.com
(347) 405-0826
minorscience (Skype)



On Tue, Sep 19, 2017 at 12:20 PM, Jones, Jeremy <Jeremy.Jones at unt.edu>
wrote:

> Hello,
>
>
>
> I’ve been using Archives Space since version 1.2.  I’ve recently upgraded
> to version 2.1.2 using the directions included.  Now I am getting a
> “Database connection failed” error.  I’m using the same mysql connecter
> that I used in my version 1.5.2 install and connecting to the same
> database.  The setup-database.sh script ran with no errors.  Here is the
> stack trace:
>
>
>
> "msg": "Database connection failed",
>
>     "backtrace": [
>
>       "/var/www/html/archivesspace-2.1.2/archivesspace/data/tmp/
> jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:101:in
> `block in ArchivesSpaceService'",
>
>       "/var/www/html/archivesspace-2.1.2/archivesspace/gems/gems/
> sinatra-1.4.7/lib/sinatra/base.rb:1411:in `configure'",
>
>       "/var/www/html/archivesspace-2.1.2/archivesspace/data/tmp/
> jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:78:in
> `<class:ArchivesSpaceService>'",
>
>       "/var/www/html/archivesspace-2.1.2/archivesspace/data/tmp/
> jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/app/main.rb:38:in
> `<main>'",
>
>       "org/jruby/RubyKernel.java:961:in `require'",
>
>       "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/
> rubygems/core_ext/kernel_require.rb:55:in `require'",
>
>       "/var/www/html/archivesspace-2.1.2/archivesspace/data/tmp/
> jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:1:in
> `block in (root)'",
>
>       "org/jruby/RubyBasicObject.java:1687:in `instance_eval'",
>
>       "/var/www/html/archivesspace-2.1.2/archivesspace/data/tmp/
> jetty-0.0.0.0-8089-backend.war-_-any-/webapp/WEB-INF/config.ru:4:in
> `(root)'",
>
>       "uri:classloader:/vendor/rack-1.5.5/rack/builder.rb:55:in `<main>'",
>
>       "launcher/launcher.rb:92:in `start_server'",
>
>       "launcher/launcher.rb:157:in `main'",
>
>       "launcher/launcher.rb:261:in `<main>'"
>
>
>
>
>
> Any help solving this issue or any insight is appreciated.  Thanks in
> advance.
>
>
>
> jeremy
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20170919/0de01a85/attachment.html>


More information about the Archivesspace_Users_Group mailing list