Hi all,
I don't see how the lucene index could be related to the reported issues
here, I'm saying this clearly for future reference.
bi_private is related to the new private item feature introduced
togheter with the advanced embargo and it is usefull (? see recent
discussion about nonsense of private item) only for XMLUI.
Run the index-init script is part of the migration process
https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+1.8.x+to+3.x
*Refresh Browse and Search Indexes*. To do this, run the following
command from your DSpace install directory (as the dspace user):
|[dspace]/bin/dspace index-init|
and will fix the issue reported in the initial email.
The new error is:
java.lang.NullPointerException
at
org.dspace.app.webui.servlet.HandleServlet.displayItem(HandleServlet.java:327)
at
org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:187)
this is probably due to inconsistence in your database
https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/HandleServlet.java#L327
can you check if the item with handle 123456789/395
has an owningCollection?
select * from item where item_id in (select resource_id from handle
where handle like '123456789/395')
The SOLR error is instead related to the storing of statistics view, it
is this error that slow down the visualization of the item pages
2013-06-04 18:54:26,116 ERROR org.dspace.statistics.SolrLogger @
java.net.ConnectException: Connection refused: connect
org.apache.solr.client.solrj.SolrServerException: java.net.ConnectException:
Connection refused: connect
at
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:480)
https://github.com/DSpace/DSpace/blob/master/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/HandleServlet.java#L407
The error is due to impossibility to access the SOLR server, it could be
that the dspace server is seen with a different IP than localhost by the
SOLR server.
If this is the case you should disable the localhost filter in the
dspace-solr webapp and rely on a different security implementation. As
you are using tomcat you can do this placing a context file in the
CATALINA_HOME/conf/Catalina/localhost
solr.xml
<Context path="/solr" reloadable="true">
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127.0.0.1, ::1,DSPACE-SERVER-IP"/>
<Parameter name="LocalHostRestrictionFilter.localhost"
value="false" override="false" />
</Context>
Hope this help,
Andrea
Il 04/06/2013 16:13, helix84 ha scritto:
On Tue, Jun 4, 2013 at 4:03 PM, LifeH2O <[email protected]> wrote:
I ran init-index after stopping tomcat. Unfortunately I forgot making backup
It's index-init, not init-index, but I assume you ran it correctly.
Did it finish without any errors?
If you have a broken Lucene index, try emptying the [dspace]/search
directory and running "index-init -f" again.
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Andrea Bollini
Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
Divisione Ricerca
Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette