I have a Dspace 6.3 installed on a linux machine, but searching/browsing 
the repository, is not working (error stacktrace provided below). 
Everything else is fine. The discovery interface is non existent in the 
xmlui front page (see the attached photo), which leads me to believe it's a 
configuration issue, but I cannot pinpoint it.

I have ensured that the user tomcat runs as, has write permissions on the 
[dspace] directory, and I have edited the tomcat9.service file to include 
these 2 lines under the [Service] section:
ReadWritePermissions=[dspace]/assetstore
ReadWritePermissions=[dspace]/webapps/solr

In addition, I have verified that the solr indexer is indeed located at the 
value of {solr.server} in both local.cfg  and dspace.cfg via performing: 

wget -O - http://localhost:8080/solr/search/select?q=test

as stated in the docs, however, I get a 403 (Forbidden) response form that.

The xmlui error stacktrace is the following:

Expected mime type application/octet-stream but got text/html. <!doctype 
html><html lang="en"><head><title>HTTP Status 500 – Internal Server 
Error</title><style type="text/css">body 
{font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b 
{color:white;background-color:#525D76;} h1 {font-size:22px;} h2 
{font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} 
.line 
{height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP 
Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b> 
Status Report</p><p><b>Message</b> {msg=SolrCore &#39;search&#39; is not 
available due to init failure: Error opening new 
searcher,trace=org.apache.solr.common.SolrException: SolrCore 
&#39;search&#39; is not available due to init failure: Error opening new 
searcher at 
org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745) at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:299)
 
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 
at 
org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:50)
 
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
 
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
 
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688)
 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
 
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) 
at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) 
at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
 
at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
 
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
 
at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 
at java.lang.Thread.run(Thread.java:748) Caused by: 
org.apache.solr.common.SolrException: Error opening new searcher at 
org.apache.solr.core.SolrCore.&lt;init&gt;(SolrCore.java:881) at 
org.apache.solr.core.SolrCore.&lt;init&gt;(SolrCore.java:654) at 
org.apache.solr.core.CoreContainer.create(CoreContainer.java:491) at 
org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) at 
org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) at 
java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
... 1 more Caused by: org.apache.solr.common.SolrException: Error opening 
new searcher at 
org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1574) at 
org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1686) at 
org.apache.solr.core.SolrCore.&lt;init&gt;(SolrCore.java:853) ... 8 more 
Caused by: java.nio.file.FileSystemException: 
&#47;dspace&#47;solr&#47;search&#47;data&#47;index&#47;write.lock: 
Read-only file system at 
sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at 
sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
 
at java.nio.channels.FileChannel.open(FileChannel.java:287) at 
java.nio.channels.FileChannel.open(FileChannel.java:335) at 
org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:167) 
at org.apache.lucene.store.Lock.obtain(Lock.java:77) at 
org.apache.lucene.index.IndexWriter.&lt;init&gt;(IndexWriter.java:755) at 
org.apache.solr.update.SolrIndexWriter.&lt;init&gt;(SolrIndexWriter.java:77) 
at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:64) 
at 
org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:284)
 
at 
org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:116)
 
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1537) ... 10 
more ,code=500}</p><p><b>Description</b> The server encountered an 
unexpected condition that prevented it from fulfilling the request.</p><hr 
class="line" /><h3>Apache Tomcat/9.0.31 (Ubuntu)</h3></body></html> 



-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://duraspace.org/about/policies/code-of-conduct/
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/414e5bce-7248-4f92-a0b9-e9545d425642n%40googlegroups.com.

Reply via email to