<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">I just tested an import on v1.4.2 of an EAD with subjects and agents elements and it all seems to appear for me. </div>
<div class=""><br class="">
</div>
<div class="">You might check using the backend API to see if the subject and agents are visible there. </div>
<div class=""><br class="">
</div>
<div class="">Using the curl_as or curl_as_osx scripts the source distribution or github check</div>
<div class=""><br class="">
</div>
<div class="">   <a href="http://backend.host:port/subjects?all_ids=true" class="">http://backend.host:port/subjects?all_ids=true</a> </div>
<div class=""><br class="">
</div>
<div class="">and you’ll get an array of subject id numbers. The last numbers should be the last ones created, so with one of those ids, check: </div>
<div class=""><br class="">
</div>
<div class="">   <a href="http://backend.host:port/subjects/id" class="">http://backend.host:port/subjects/id</a> </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Alternatively, you can look at the subject table in mysql: "select id,title from subject order by id;” </div>
<div class=""><br class="">
</div>
<div class="">I’m using subjects as an example because it’s simpler that agents — there are different kinds of agents so there are more places to look. But you can check agents as well if you know where to look.  </div>
<div class=""><br class="">
</div>
<div class="">
<div class="">If you can find one of your recently created subject, then they were created and it’s likely it is a problem with indexing. </div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">You can also try inspecting the solr web console — by default port 8090. </div>
<div class="">Try q -> “types:subject” in the query form. </div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">If that is the problem, you can try shutting down archivesspace, delete data/indexer_state/* files, and restart archivesspace and see if they appear. </div>
<div class=""><br class="">
</div>
<div class="">You might also monitor the log file to see if there are any indexer errors. </div>
<div class=""><br class="">
</div>
<div class="">( This is a lot easier to see if you can run servers separately in development mode. In production, logs from all servers are in a single stream, so if there’s other activity it may be hard to catch. If you can’t do this, it may help to do this
 when there is little other activity besides the indexing on the servers. ) </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">In another recent thread about broken container indexing in v1.5.x, when the indexer hit an error, it kept attempting to reindex the same records that caused the error, and so nothing after that bad record ever got indexed. So it may be possible
 that there’s a record causing the indexer to break that is prior to the current imports that seem to be failing.  If you want to post sample files, I can try importing them, but the fact that you’re not seeing results from different imports makes me suspect
 that if it’s not something fixed by restarting and reindexing, it may be this sort of blockage. </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">— Steve.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Feb 17, 2017, at 4:57 PM, Cobourn, Alston <<a href="mailto:Alston.Cobourn@tamucc.edu" class="">Alston.Cobourn@tamucc.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<pre style="white-space: pre-wrap;" class="">On February 10 I asked for advice on the problem of EAD import completing and creating Resource, Agent, and Subject records but those records then not being findable by browse or search. We subsequently discovered that we were having the same problem with Agent records created through the LCNAF plugin. </pre>
<pre style="white-space: pre-wrap;" class="">And then I discovered that when we link an Agent record to a Resource or Accession record that link is not reflected in the Linked Records section of the Agent record. It is however reflected in the Agents section of the linked Accession or Resource record, and if we update the Agent record, that change is reflected in the linked Accession or Resource record.  </pre>
<pre style="white-space: pre-wrap;" class=""><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;" class="">It was suggested to me by someone on list that we try restarting our ArchivesSpace instance.  Our IT has now done that and the problems described above persist.</span> Has anyone else experienced any of the above problems?  We are on 1.4.2.  Could this somehow be related to Solr?</pre>
<pre style="white-space: pre-wrap;" class=""><br class=""></pre>
<pre style="white-space: pre-wrap;" class="">Thanks much,</pre>
<pre style="white-space: pre-wrap;" class="">Alston Cobourn</pre>
<pre style="white-space: pre-wrap;" class="">________________________________________________________</pre>
<pre style="white-space: pre-wrap;" class="">Dear all,

Yesterday I tested out EAD import into the AS 1.4.2 test repository of the production instance at the university to which I have recently moved.  I uploaded an EAD XML file that I had generated from the 1.5.2 AS repository at my last job.  The import says it completed successfully and the import log below seems to support that.  All the subjects and agents in the EAD are listed below the log in the New & Modified Records section, and if you click them they do link to newly created Agent and Subject records that say they are linked to no resources. 

However, if I browse Agents and Subjects none of the newly created Agents and Subjects are listed.  If I search for the newly created Agents and Subjects they are not findable.  So I have some evidence that says they were created and other evidence that says they weren't.  The resource record I intended to create is also not findable via search or browsing, so it would appear that it was not created, which I don't understand since the background job says completed.

I thought originally that perhaps this was an indexing issue, so I waited overnight but have the same results this morning.  Also, I am able to manually add subjects, agents, and resource records in AS and have them appear via search and browse immediately afterwards.  

Does anyone have thoughts as to what could be going on?

==================================================
WLU.Coll.0128_ead.xml
==================================================
1. STARTED: Reading JSON records
1. DONE: Reading JSON records
2. STARTED: Validating records and checking links
2. DONE: Validating records and checking links
3. STARTED: Evaluating record relationships
3. DONE: Evaluating record relationships
4. STARTED: Saving records: cycle 1
Created: /agents/corporate_entities/import_7e59a12f-b7de-4fb1-9527-c2560077d28a
Created: /subjects/import_4430d7be-8431-4758-9d1b-72cb8a16e982
Created: /subjects/import_f9dad788-a3a5-4b90-be77-20b661d9e3b8
Created: /subjects/import_a2c7311f-fd06-42ca-afcb-7c31b98c6442
Created: /agents/corporate_entities/import_c12b78d0-3bf4-4a66-9d13-c67de471fa44
Created: /repositories/import/resources/import_ef64de18-8bf5-4d50-ad06-8ebabda82e52
4. DONE: Saving records: cycle 1
5. STARTED: Cleaning up
5. DONE: Cleaning up

</pre>
<br class="">
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class="">
</div>
<div id="Signature" class="">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class="">
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
<div style="margin: 0px; padding: 0px; border: 0px; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px;" class="">
Alston Cobourn</div>
<div style="margin: 0px; padding: 0px; border: 0px; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px;" class="">
Processing and Digital Assets Archivist</div>
<div style="margin: 0px; padding: 0px; border: 0px; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px;" class="">
Texas A&M University-Corpus Christi</div>
<div style="margin: 0px; padding: 0px; border: 0px; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px;" class="">
<a href="mailto:alston.cobourn@tamucc.edu" class="">alston.cobourn@tamucc.edu</a></div>
<div style="margin: 0px; padding: 0px; border: 0px; color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px;" class="">
<span style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: 13px;" class="">361-825-2300</span><br class="">
</div>
<br class="">
<p style="margin-top: 0px; margin-bottom: 0px;" class=""></p>
</div>
</div>
</div>
<span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Archivesspace_Users_Group
 mailing list</span><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" style="font-family: Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div>
</blockquote>
</div>
<br class="">
</body>
</html>