Dspace 7.0 index-recovery -b: error

760 views
Skip to first unread message

Juan López

unread,
Aug 27, 2021, 6:04:18 PM8/27/21
to DSpace Technical Support
Hi!

I've upgraded my dev dspace 6.3 to a 7.0 version, however, the items inside my collections are not showing.

When I try to run an index-discovery -b, the server shows this error:
imagen_2021-08-27_170349.png

what could be happening?

Hardy Pottinger

unread,
Aug 27, 2021, 6:45:51 PM8/27/21
to Juan López, DSpace Technical Support
Hi, Juan, I am very new to the version 7 stuff, so this is only a guess, but you may want to verify that your Solr installation is working correctly, and is where you expect it to be.

--Hardy

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/849a8e3c-e393-4f56-b104-fd4c4ac1fdb2n%40googlegroups.com.

euler

unread,
Aug 27, 2021, 11:10:00 PM8/27/21
to DSpace Technical Support
Hi. Do you have authority-controlled metadata or enabled vocabularies from your DSpace version 6.3? Make sure to enable them.

--euler

Juan López

unread,
Aug 30, 2021, 9:02:05 AM8/30/21
to DSpace Technical Support

Hi, If I do a curl or a wget to my solr localhost:8983/solr I get a response, so I think that my solr is installed correctly. 
Also, If I use a new database and create some items, my index-discovery works perfectly :/

Juan López

unread,
Aug 30, 2021, 9:23:35 AM8/30/21
to DSpace Technical Support
Hi!

Yes, My 6.3 have both but we're not planning on using the authority-controlled in DSpace 7.0. How can I enable this in DSpace 7?

I'm attaching a versión of my 6.3 dspace.cfg, can you can guide me through what I need to change for my Dspace 7.0?

Thanks in advance.
dspace.cfg

euler

unread,
Aug 31, 2021, 3:03:14 AM8/31/21
to DSpace Technical Support
Hi,

If you want to enable authority control in DSpace 7, I guess it would be the same way as what you did on DSpace 6.3 If you have custom vocabularies, you have to include them in [dspace]/config/controlled-vocabularies e.g.  ddc_es since you are using them in the dc.subject.ddc field. If you don't want to use authority control and would want to index these items/fields that authority controlled, you can delete the authorities in the authority column found in the metadatavalue table from the dspace database. Since this would involve database manipulation, perhaps someone from this list can guide you to the correct SQL query on how to do that.

Hope this helps,
euler

Manuele Lorusso

unread,
Aug 31, 2021, 4:14:45 AM8/31/21
to Juan López, DSpace Technical Support
Hi Juan,

we ran into the same error.

You can add follwing to the discovery.cfg (config/modules/discovery.cfg):

discovery.index.authority.ignore-prefered=true
discovery.index.authority.ignore-variants=true

discovery.browse.authority.ignore-prefered=true
discovery.browse.authority.ignore-variants=true

Part of information about this configs can you read here:

But the "discovery.browse.authority" key isn't documented (anymore?), but neccessary to build search index successfully - without authority information!

Best regards
Manuele

Juan López

unread,
Sep 15, 2021, 11:20:19 AM9/15/21
to DSpace Technical Support
Hi Manuele,

That worked, thank you very much !

Reply all
Reply to author
Forward
0 new messages