Solr permissions error after fresh install (DSpace 6.3)

394 views
Skip to first unread message

gonza...@gmail.com

unread,
Apr 6, 2021, 3:46:17 PM4/6/21
to DSpace Technical Support
Hi,

I've installed DSpace 6.x a couple of times but never faced this problem before and I'm kinda lost. There must be something quite simple to solve it just in front of me...

Context:
Debian 10
DSpace 6.3 fresh install
OpenJDK 1.8
Tomcat 9.0.31.0

After a fresh install, I'm getting some permissions related errors while using Solr, for instance trying to browse by author, titles, etc.

org.apache.solr.common.SolrException: SolrCore 'search' is not available due to init failure:
Cannot create directory: /var/www/dspace/solr/search/data/index

(I don't like those html entities either)

Full stacktrace here: https://pastebin.pl/view/c58da1d2

I get the same error using Solr via the dspace command line, for instance
$ sudo ./bin/dspace index-discovery

The [dspace] folder has read and write permissions for tomcat:tomcat
User dspace is in tomcat group

Any help is appreciated!

Sarah Mount

unread,
Apr 6, 2021, 3:51:53 PM4/6/21
to gonza...@gmail.com, DSpace Technical Support
"Cannot create directory" does sound like a permissions issue. Have you listed the relevant ReadWritePaths in your tomcat.service file?

Sarah

--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/217a966d-4049-4f43-9fbb-c0c2d44e5aa6n%40googlegroups.com.


--
Dr. Sarah Mount
Technical Lead, Beautiful Canoe
Fellow of the Software Sustainability Institute
twitter: @snim2

gonza...@gmail.com

unread,
Apr 6, 2021, 4:40:23 PM4/6/21
to DSpace Technical Support
Sarah, that's it!

Thanks a lot.

Send you a coffee! ⅽ[ː̠̈ː̠̈ː̠̈] ͌ 
Reply all
Reply to author
Forward
0 new messages