Complete installation guide - required

49 views
Skip to first unread message

Arumugam Pitchai

unread,
Aug 5, 2022, 7:40:58 AMAug 5
to ArchivesSpace
Dear All,

I am new to Archivespace and wanted implement it for our Archives.

I am trying to install Archivesspace 3.2.0 in both debian 11 and ubuntu 22.04  (desktop), but i am getting error while running scrits "./archivesspace.sh".

I tried both jdk 8 and 11
Mysql version 8.0.30
solr 8.1.11

error message:
--------------------------------------------------------------------
</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...
---------------------------------------------------------------------------

Please share if anyone has complete  end to end installation guide?

Also, please let me know what is the recently tested OS and other applications - jdk, mysql, solr, etc.

Thanks and regards,
Arumugam

Trevor Thornton

unread,
Aug 5, 2022, 9:45:59 AMAug 5
to archiv...@googlegroups.com
All the technical documentation relating to installation and configuration should be here:

--
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/2e241972-4747-4c62-85cc-30f45860436en%40googlegroups.com.

Arumugam Pitchai

unread,
Aug 5, 2022, 10:59:01 AMAug 5
to ArchivesSpace
Dear Trevor,

Thank you.

From starting, I followed the URL you provided. I thought if any archivesspace  version or OS specific end to end instillation guide would be helpful
 

But anyway, I am getting below error. Could you please let me know how to resolve this issue

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, 11:38:23 AMAug 5
to archiv...@googlegroups.com
Have you installed Solr? A separate Solr instance is required for versions 3.2+:

Arumugam Pitchai

unread,
Aug 5, 2022, 11:48:50 AMAug 5
to ArchivesSpace
Yes, I have installed Solr 9 before running the database script, it is working fine.

Also done configset and created new instance as below:

sudo mkdir -p ./server/solr/configsets/archivesspace/conf

sudo cp -r /home/asuser/archivesspace/solr/* /opt/solr/server/solr/configsets/archivesspace/conf/

systemctl start solr

sudo su - solr -c "/opt/solr/bin/solr create -c archivesspace -n archivesspace"

Trevor Thornton

unread,
Aug 5, 2022, 12:12:46 PMAug 5
to archiv...@googlegroups.com
The error seems to be this:
Solr checksum verification failed (schema): expected [4d4849771a91d677f255b638cbefa8b8d67a236c56c645bb13c2842480614d78] got [0c01bf58f6889de7451a1f659268f9e3bfe35bd1c167d9034fc8f9eee06c7e11]

Googling that led me to this response to a similar questions on the AS member list archives (the archives are public, not limited to member orgs):

Arumugam Pitchai

unread,
Aug 5, 2022, 12:23:36 PMAug 5
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

Brian

unread,
Aug 8, 2022, 11:57:46 AMAug 8
to ArchivesSpace
Hi,

You may want to just manually confirm that your Solr core schema matches what ArchivesSpace is expecting:

diff  /home/asuser/archivesspace/solr/schema.xml /tmp/schema.xml

Brian

Mark Cooper

unread,
Aug 8, 2022, 12:26:12 PMAug 8
to archiv...@googlegroups.com
Assuming you did indeed create the core called "archivesspace" with the ASpace solr config files and Solr is running on localhost 8983 (which does appear to be the case) you want the solr_url to be:


Mark

Reply all
Reply to author
Forward
0 new messages