<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Eric,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I recommend trying a simpler approach:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">First, start solr. For example:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">solr start -p 8983 <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Then cd to where you installed archivesspace and:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">solr create_core -c archivesspace -d solr<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Once you do that, you should be able to navigate to http://host:8983 and see the ‘archivesspace’ core in the collection dropdown.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Brian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Gadsby, Eric T. <egadsby@towson.edu><br>
<b>Date: </b>Friday, April 28, 2023 at 3:31 PM<br>
<b>To: </b>Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject: </b>[Archivesspace_Users_Group] The best way to implement Solr - confused by documentation<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">Dear Friends,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">In relationship to my previous message about moving our ArchivesSpace to a new server I am in the process of setting up Solr in our test environment and having troubles. 
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">I set up Solr as outlined at
<a href="https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html">
https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html</a>; specifically running the install script that places all files in the correct places, makes a solr user, and sets the start-up process. Solr installed fine but I could
 not make the ArchivesSpace core using the process laid out at https://archivesspace.github.io/tech-docs/provisioning/solr.html; I got an error.  
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">Now here is where I have found a contradiction. The ArchivesSpace documentation instructs you to follow the Solr documentation. The Solr documentation says to run the script
 but that starts Solr while the ArchivesSpace documentation goes onto says to <u>
not</u> run Solr before importing the ArchivesSpace configuration files.  Which is accurate?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">I have rolled my testing environment back and am trying again.  In trying to get a better understanding I looked at Blake’s video at 
<a href="https://www.youtube.com/watch?v=1KbD0M_XfqI">https://www.youtube.com/watch?v=1KbD0M_XfqI</a>.  In the video he says to simply move solr to /opt and you’re done, no need to run the script.  Is that the case?  Perhaps I am over thinking this but don’t
 you need to script to set up all the things Solr need like it’s own user and init file.  The Solr document says you can start the software from anywhere (ie your home directory) but they call it a “toy” install and cautions you not to overtax it suggesting
 you should test that way but run a full install. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">As I roll up my sleaves to try again any guidance would be most helpful. Thanks in advance for your help!
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<div>
<div>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;margin-left:2.25pt;border-top:solid #FFBB00 1.0pt;border-left:none;border-bottom:solid #FFBB00 1.0pt;border-right:none">
<tbody>
<tr style="height:9.0pt">
<td colspan="3" style="border:none;padding:0in 0in 0in 0in;height:9.0pt">
<p class="MsoNormal" style="line-height:9.0pt"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#717371;letter-spacing:.1pt"> </span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="90" valign="top" style="width:67.5pt;border:none;padding:0in 0in 0in 0in">
<p class="MsoNormal"><a href="http://www.towson.edu/" title="http://www.towson.edu/"><span style="font-size:11.0pt;color:windowtext;mso-ligatures:standardcontextual;text-decoration:none"><span style="font-family:"Arial",sans-serif;color:#3C3C3C;mso-ligatures:none"><img border="0" width="62" height="55" style="width:.6458in;height:.5729in" id="Picture_x0020_1" src="cid:image001.jpg@01D979E3.0ACD15D0" alt="Towson University logo"></span></span></a><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
<td valign="top" style="border:none;padding:0in 0in 0in 0in">
<p class="MsoNormal" style="line-height:12.0pt"><b><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">Eric T. Gadsby</span></b><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.25pt;line-height:12.0pt"><i><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">Pronouns: he/him/his</span></i><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.25pt;line-height:12.0pt"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">IT Operations Specialist  </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#CCCCCC;letter-spacing:.1pt">|</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">  Albert
 S. Cook Library</span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.25pt;line-height:12.0pt"><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#FFBB00;letter-spacing:.1pt">—</span></b><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:3.75pt;line-height:12.0pt"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">P: 410-704-3340 <br>
</span><span style="font-size:11.0pt;color:#1F497D"><a href="mailto:egadsby@towson.edu" title="mailto:egadsby@towson.edu"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">egadsby@towson.edu</span></a></span><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#CCCCCC;letter-spacing:.1pt">  </span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#CCCCCC;letter-spacing:.1pt">|</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt"> </span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#2E2E2E"> </span><span style="font-size:11.0pt;color:#1F497D"><a href="http://www.towson.edu/https:/libraries.towson.edu" title="http://www.towson.edu/https:/libraries.towson.edu"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#954F72">libraries.towson.edu</span></a></span><span style="font-size:6.0pt;font-family:"Arial",sans-serif;color:#2E2E2E"> <br>
</span><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt"> </span><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#FFBB00;letter-spacing:.1pt">—</span></b><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
<td style="border:none;padding:0in 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> </span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:9.75pt"><span style="font-size:7.0pt;font-family:"Arial",sans-serif;color:#999999;letter-spacing:.1pt">Confidentiality Notice: This message may contain information that is confidential, privileged,
 proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent
 to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 . </span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
</div>
</body>
</html>