Well I fix it this way:

Following this guide I install Tomcat9 under dspace user:

https://linuxize.com/post/how-to-install-tomcat-9-on-ubuntu-18-04/

I test this way because it seems to be a permission problem. I tried 
changing permissions and owner before but nothing changes. I don't know 
why. Anyway... It works now.

El martes, 18 de junio de 2019, 17:58:43 (UTC-3), Tecnico UnComa escribió:
>
> Hi ppl. I had the same problem.
> I was running Dspace 6.3 into Ubuntu 18.11 with Tomcat 8. Las week I 
> do-release-upgrade (18.11 -> 19.04). Then, because Ubuntu 19.04 don't use 
> Tomcat 8, I need to install Tomcat 9. Everything works fine except Solr. 
> The problems seems to be permissions, but I already changed and nothing 
> happens. The error is always the same:
>
> https://pastebin.com/tPA7r7BF
>
> I tried adding dspace to tomcat group and tomcat to dspace.
> I chown tomcat:tomcat to /dspace/solr
> I assign -just to test- chmod 777 to solr.
>
> Nothing different happend.
>
> Thanks
>
> El martes, 18 de junio de 2019, 10:45:03 (UTC-3), Mark H. Wood escribió:
>>
>> On Fri, Jun 14, 2019 at 11:03:57AM -0700, Dyego Cavalieri wrote: 
>> > I have the following in the Solr after installing dspace 6.3 
>> > 
>> >    - *search:* 
>> >   
>>  org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
>> >    Cannot create directory: /dspace/solr/search/data/index 
>> >    - *oai:* 
>> >   
>>  org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
>> >    Cannot create directory: /dspace/solr/oai/data/index 
>> >    - *authority:* 
>> >   
>>  org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
>> >    Cannot create directory: /dspace/solr/authority/data/index 
>> >    - *statistics:* 
>> >   
>>  org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
>> >    Cannot create directory: /dspace/solr/statistics/data/index 
>> > 
>> > How do i fix this ? 
>>
>> The first thing I would do is to check the ownership and permission 
>> masks of the /dspace/solr directory and everything below it.  The 
>> Servlet container (Tomcat, typically) must be able to read and write 
>> these directories.  The simplest way to ensure that is for them to be 
>> owned by the account which runs the container. 
>>
>> -- 
>> Mark H. Wood 
>> Lead Technology Analyst 
>>
>> University Library 
>> Indiana University - Purdue University Indianapolis 
>> 755 W. Michigan Street 
>> Indianapolis, IN 46202 
>> 317-274-0749 
>> www.ulib.iupui.edu 
>>
>

-- 
All messages to this mailing list should adhere to the DuraSpace 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7e63b9d1-0ea5-4a55-8fea-a8e6b49250b1%40googlegroups.com.

Reply via email to