Stream: troubleshooting

Topic: โœ” solr error after v6.3 upgrade


view this post on Zulip Deirdre Kirmis (Aug 20 2024 at 19:20):

hi there .. i recently upgraded our production dataverse to v6.3 .. i had performed the upgrade on our dev and qa sites with no issues .. however, our prod site search is not working and i'm getting an error in the log "Search Syntax Error: Error from server at <solr location>: undefined field workflowCodeRepository]]"

I read this discussion about not running step 8a in the instructions, which I did not do on any of our sites, as we do not have any custom metadata blocks ..

.. so I tried to run it anyway but the problem is that we have solr running on a separate server, so I can't pipe the schema index results into the supplied script ..

help! .. any ideas on how I can fix this? should i run the curl command and save to a file, then move to the solr server and cat pipe that into the script?

view this post on Zulip Deirdre Kirmis (Aug 20 2024 at 19:21):

and curious why this broke when we don't have any custom things?

view this post on Zulip Deirdre Kirmis (Aug 20 2024 at 19:52):

nm .. that's what i did .. piped the file into the script .. but had to install sed, awk, ed, and bc as well

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 20 2024 at 20:27):

Judging from https://dataverse.asu.edu/api/metadatablocks you do have the computational workflow block loaded.

view this post on Zulip Deirdre Kirmis (Aug 20 2024 at 20:41):

I just loaded it during this upgrade, because it was one of the commands in the list in step 7 .. I swear when I did the upgrade it wasn't separated into 7a and I didn't notice it, just blindly copied the code! And I didn't make the connection that it was considered custom. Got it now. :smile: Thanks.

view this post on Zulip Philip Durbin ๐Ÿš€ (Aug 20 2024 at 20:43):

You're right. It wasn't. I added that 7a pretty recently. Sorry.

view this post on Zulip Deirdre Kirmis (Aug 20 2024 at 22:49):

Oh no worries .. It's just me .. I get confused easily! =) .. I should have noticed that and been more conscious of what I was adding to our installation .. I'm just often in too much of a rush! Thanks for your help! All is good. Will close this.

view this post on Zulip Notification Bot (Aug 20 2024 at 22:49):

Deirdre Kirmis has marked this topic as resolved.


Last updated: Oct 30 2025 at 06:21 UTC