exhibits icon indicating copy to clipboard operation
exhibits copied to clipboard

Indexing not working and cannot add a druid to existing collection

Open laurensorensen opened this issue 2 years ago • 10 comments

Let me know if these should be separate tickets (indexing and not being able to add druid).

Failed to add druid: When adding the druid, I added the druid to the end of the list of druids under Curation: Add items page. Then I click Add items at the bottom. I go to "Item status" and enter the druid and it says "no matches found".

Failed to reindex: Here is a screenshot of what I get when I try to index:

Screen Shot 2023-01-11 at 5 52 44 PM

When I click on "failed" this report comes up:

`Spotlight::ReindexExhibitJob a4b94bb6 × Failed about 3 hours ago in less than a minute

Message Details 1 job started January 11, 2023 14:37 2 job created by [email protected] 3 wrong number of arguments (given 1, expected 0) { "backtrace": "/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/blank.rb:18:in blank?'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in reject'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in convert_stored_value_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:68:in block in custom_fields_data_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:64:in each'", "resource_id": 25269 } 4 wrong number of arguments (given 1, expected 0) { "backtrace": "/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/blank.rb:18:in blank?'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in reject'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in convert_stored_value_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:68:in block in custom_fields_data_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:64:in each'", "resource_id": 25266 } 5 wrong number of arguments (given 1, expected 0) { "backtrace": "/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/blank.rb:18:in blank?'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in reject'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in convert_stored_value_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:68:in block in custom_fields_data_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:64:in each'", "resource_id": 25270 } 6 wrong number of arguments (given 1, expected 0) { "backtrace": "/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/blank.rb:18:in blank?'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in reject'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in convert_stored_value_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:68:in block in custom_fields_data_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:64:in each'", "resource_id": 25270 } 7 wrong number of arguments (given 1, expected 0) { "backtrace": "/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/blank.rb:18:in blank?'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in reject'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in convert_stored_value_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:68:in block in custom_fields_data_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:64:in each'", "resource_id": 25267 } 8 wrong number of arguments (given 1, expected 0) { "backtrace": "/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/object/blank.rb:18:in blank?'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in reject'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:105:in convert_stored_value_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:68:in block in custom_fields_data_to_solr'\n/opt/app/exhibits/exhibits/shared/bundle/ruby/3.1.0/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/solr_document_sidecar.rb:64:in each'", "resource_id": 25268 } 9 processed 0 / 6 10 job failed January 11, 2023 14:37`

laurensorensen avatar Jan 12 '23 17:01 laurensorensen

Honeybadger exception: https://app.honeybadger.io/projects/49092/faults/92403183

jcoyne avatar Jan 12 '23 17:01 jcoyne

@laurensorensen which druid are you trying to add?

marlo-longley avatar Jan 12 '23 20:01 marlo-longley

@marlo-longley it's yt594yv4496 Thanks!

laurensorensen avatar Jan 12 '23 22:01 laurensorensen

There's something really weird and confusing about the relationship between virtual-tribunals exhibit and laurens-vt-test. They've ended up sharing exhibit updated items, and some of those items in laurens-vt-test were broken (using symbols instead of strings for keys).

I've remediated those 5 objects (the only ones like it in the whole database), which should unblock indexing.

cbeer avatar Jan 13 '23 19:01 cbeer

Hi @cbeer for some reason I can't re-index. We saw an issue where on this page the a bunch of these boxes (scroll down on the page) are showing "0 items" when there should be many there. I tried to re-index and it failed. Putting this here in case it's the same issue - if not let me know and I'll make a new ticket. Screen Shot 2023-01-20 at 12 40 23 PM

laurensorensen avatar Jan 20 '23 20:01 laurensorensen

Hi Access Team, if this is the same problem -- what can be done to further troubleshoot this so it stops happening? Indexing has failed at least 2 or 3 times over the past few months. Thank you.

caaster avatar Jan 20 '23 20:01 caaster

@laurensorensen It looks like the searches on the feature page you linked facet on the collection title "International Court of Justice Archives of the Nuremberg International Military Tribunal", but that collection was later renamed "Taube Archive of the International Military Tribunal (IMT) at Nuremberg, 1945-46"?

cbeer avatar Jan 23 '23 16:01 cbeer

Hi all, I re-ran the indexing and it was successful this time. Not sure what the issue was before.

laurensorensen avatar Jan 23 '23 18:01 laurensorensen

@cbeer Oh wow thank you for noticing that! I guess the way to fix is to remediate the name of the collection in the saved search? I will try and figure out how that's done.

laurensorensen avatar Jan 23 '23 18:01 laurensorensen

@laurensorensen please reach out to me if you have questions. If it were me, I'd create a new search, and make sure to correct the link(s) on the feature page with the new saved search.

caaster avatar Jan 23 '23 19:01 caaster

@laurensorensen can this ticket be closed now?

caaster avatar Jul 05 '24 18:07 caaster

Yes, closing now.

laurensorensen avatar Jul 05 '24 18:07 laurensorensen