"Cannot create directory" does sound like a permissions issue. Have you
listed the relevant ReadWritePaths in your tomcat.service file?

Sarah

On Tue, 6 Apr 2021 at 20:46, [email protected] <[email protected]>
wrote:

> 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 &amp;#39;search&amp;#39; is
> not available due to init failure:
> Cannot create directory:
> &amp;#47;var&amp;#47;www&amp;#47;dspace&amp;#47;solr&amp;#47;search&amp;#47;data&amp;#47;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!
>
> --
> 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/217a966d-4049-4f43-9fbb-c0c2d44e5aa6n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/217a966d-4049-4f43-9fbb-c0c2d44e5aa6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


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

-- 
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/CALG3WZk%2Br7Vz7d_p-WLDhy0Mjnri%3DHx0u4%3DvT937bVu1aQQSKQ%40mail.gmail.com.

Reply via email to