Error while running ./archivesspace | Installation

9 views
Skip to first unread message

Arumugam Pitchai

unread,
Aug 5, 2022, 11:44:32 AMAug 5
to ArchivesSpace
Dear All,

I am getting following error while installing archivesspace.

OS: both Ubuntu 20 or 22 & Debian 10 or 11
Solr 9
SQL 8.0.30
Jdk - 11
archivespace 3.2

I tested external solr & mysql before running ./archivespace script, both are  running properly.

Does anyone have experience with this error?. Please let me know if have any solution for this error:

-----------------------------------------------------------------------------
Aug 05, 2022 8:22:50 PM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: DEBUG: due a previous initialization failure application instance can not be returned
Aug 05, 2022 8:22:50 PM org.eclipse.jetty.server.handler.ContextHandler$Context log
INFO: INFO: resetting rack response due exception: org.jruby.rack.RackInitializationException: Solr checksum verification failed (schema): expected [4d4849771a91d677f255b638cbefa8b8d67a236c56c645bb13c2842480614d78] got [0c01bf58f6889de7451a1f659268f9e3bfe35bd1c167d9034fc8f9eee06c7e11]
    from /home/asuser/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704/webapp/WEB-INF/app/model/solr.rb:79:in `verify_checksum!'
    from /home/asuser/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704/webapp/WEB-INF/app/model/solr.rb:72:in `verify_checksums!'
    from /home/asuser/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704/webapp/WEB-INF/app/main.rb:149:in `block in ArchivesSpaceService'
    from /home/asuser/archivesspace/gems/gems/sinatra-2.0.5/lib/sinatra/base.rb:1426:in `configure'
    from /home/asuser/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704/webapp/WEB-INF/app/main.rb:96:in `<class:ArchivesSpaceService>'
    from /home/asuser/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704/webapp/WEB-INF/app/main.rb:43:in `<main>'
    from org/jruby/RubyKernel.java:974:in `require'
    from uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/asuser/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704/webapp/WEB-INF/config.ru:4:in `block in <main>'
    from org/jruby/RubyBasicObject.java:2622:in `instance_eval'
    from uri:classloader:/vendor/rack-2.2.3/rack/builder.rb:125:in `initialize'
    from /home/asuser/archivesspace/data/tmp/jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704/webapp/WEB-INF/config.ru:1:in `<main>'
    from launcher/launcher.rb:90:in `start_server'
    from launcher/launcher.rb:144:in `main'
    from launcher/launcher.rb:242:in `<main>'

E, [2022-08-05T20:22:50.311696 #10842] ERROR -- : Thread-2008: Connection to backend failed (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>Internal Server Error at &#x2F;config&#x2F;enumerations</title>
  <meta name="robots" content="NONE,NOARCHIVE" />
  <style type="text/css">
    html * { padding:0; margin:0; }
    body * { padding:10px 20px; }
    body * * { padding:0; }
    body { font:small sans-serif; background:#eee; }
    body>div { border-bottom:1px solid #ddd; }
    h1 { font-weight:normal; margin-bottom:.4em; }
    h1 span { font-size:60%; color:#666; font-weight:normal; }
    table { border:none; border-collapse: collapse; width:100%; }
    td, th { vertical-align:top; padding:2px 3px; }
    th { width:12em; text-align:right; color:#666; padding-right:.5em; }
    #info { background:#f6f6f6; }
    #info ol { margin: 0.5em 4em; }
    #info ol li { font-family: monospace; }
    #summary { background: #ffc; }
    #explanation { background:#eee; border-bottom: 0px none; }
  </style>
</head>
<body>
  <div id="summary">
    <h1>Internal Server Error <span>(500)</span></h1>
    <table class="meta">
      <tr>
        <th>Request Method:</th>
        <td>GET</td>
      </tr>
      <tr>
        <th>Request URL:</th>
        <td>http:&#x2F;&#x2F;localhost:8089&#x2F;config&#x2F;enumerations</td>
      </tr>
    </table>
  </div>
  <div id="info">
    <p>Solr checksum verification failed (schema): expected [4d4849771a91d677f255b638cbefa8b8d67a236c56c645bb13c2842480614d78] got [0c01bf58f6889de7451a1f659268f9e3bfe35bd1c167d9034fc8f9eee06c7e11]
    from &#x2F;home&#x2F;asuser&#x2F;archivesspace&#x2F;data&#x2F;tmp&#x2F;jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704&#x2F;webapp&#x2F;WEB-INF&#x2F;app&#x2F;model&#x2F;solr.rb:79:in `verify_checksum!&#x27;
    from &#x2F;home&#x2F;asuser&#x2F;archivesspace&#x2F;data&#x2F;tmp&#x2F;jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704&#x2F;webapp&#x2F;WEB-INF&#x2F;app&#x2F;model&#x2F;solr.rb:72:in `verify_checksums!&#x27;
    from &#x2F;home&#x2F;asuser&#x2F;archivesspace&#x2F;data&#x2F;tmp&#x2F;jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704&#x2F;webapp&#x2F;WEB-INF&#x2F;app&#x2F;main.rb:149:in `block in ArchivesSpaceService&#x27;
    from &#x2F;home&#x2F;asuser&#x2F;archivesspace&#x2F;gems&#x2F;gems&#x2F;sinatra-2.0.5&#x2F;lib&#x2F;sinatra&#x2F;base.rb:1426:in `configure&#x27;
    from &#x2F;home&#x2F;asuser&#x2F;archivesspace&#x2F;data&#x2F;tmp&#x2F;jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704&#x2F;webapp&#x2F;WEB-INF&#x2F;app&#x2F;main.rb:96:in `&lt;class:ArchivesSpaceService&gt;&#x27;
    from &#x2F;home&#x2F;asuser&#x2F;archivesspace&#x2F;data&#x2F;tmp&#x2F;jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704&#x2F;webapp&#x2F;WEB-INF&#x2F;app&#x2F;main.rb:43:in `&lt;main&gt;&#x27;
    from org&#x2F;jruby&#x2F;RubyKernel.java:974:in `require&#x27;
    from uri:classloader:&#x2F;META-INF&#x2F;jruby.home&#x2F;lib&#x2F;ruby&#x2F;stdlib&#x2F;rubygems&#x2F;core_ext&#x2F;kernel_require.rb:54:in `require&#x27;
    from &#x2F;home&#x2F;asuser&#x2F;archivesspace&#x2F;data&#x2F;tmp&#x2F;jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704&#x2F;webapp&#x2F;WEB-INF&#x2F;config.ru:4:in `block in &lt;main&gt;&#x27;
    from org&#x2F;jruby&#x2F;RubyBasicObject.java:2622:in `instance_eval&#x27;
    from uri:classloader:&#x2F;vendor&#x2F;rack-2.2.3&#x2F;rack&#x2F;builder.rb:125:in `initialize&#x27;
    from &#x2F;home&#x2F;asuser&#x2F;archivesspace&#x2F;data&#x2F;tmp&#x2F;jetty-0_0_0_0-8089-backend_war-_-any-9009691931646319704&#x2F;webapp&#x2F;WEB-INF&#x2F;config.ru:1:in `&lt;main&gt;&#x27;
    from launcher&#x2F;launcher.rb:90:in `start_server&#x27;
    from launcher&#x2F;launcher.rb:144:in `main&#x27;
    from launcher&#x2F;launcher.rb:242:in `&lt;main&gt;&#x27;

</p>
  </div>

  <div id="explanation">
    <p>
    You're seeing this error because you use <code>JRuby::Rack::ErrorApp::ShowStatus</code>.
    </p>
  </div>
</body>
</html>
).  Retrying...

Trevor Thornton

unread,
Aug 5, 2022, 12:18:32 PMAug 5
to archiv...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "ArchivesSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivesspac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/archivesspace/61426ebb-0329-4a72-acc7-e5efa0bbe69fn%40googlegroups.com.

Arumugam Pitchai

unread,
Aug 8, 2022, 8:50:11 AMAug 8
to ArchivesSpace
I have added below settings in archivesspace/config/config.rb. But still i am getting the same error.

AppConfig[:solr_verify_checksums] = true
AppConfig[:use_jetty_shutdown_handler] = true
AppConfig[:jetty_shutdown_path] = "/xkcd"

Please let me know if this is correct.

Regards,
Arumugam
Reply all
Reply to author
Forward
0 new messages