Dear Euler,
Thank you for your detailed hints! Now, everything works fine with
Tomcat 9 and Solr!
Kind regards,
Marion
Am 06.04.2022 um 03:47 schrieb esnemiz:
Hi Marion,
I'm not an expert in Ubuntu but when I was trying to install DSpace
6.3 in a multi-pass instance I am taking down notes of the steps that
I did. Please see below.
Install Tomcat9
sudo apt-get install tomcat9 -y
Add tomcat user to dspace user group
*
sudo adduser tomcat dspace
*
sudo adduser dspace tomcat
Add "ReadWritePaths=[dspace]" to the tomcat service file under the
service section. For ubuntu, you can find at
/lib/systemd/system/tomcat9.service. Then, please execute the
following commands:
*
systemctl daemon-reload
*
service tomcat9 restart
For UTF-8 encoding, edit server.xml:
<Connector port="8080" protocol="HTTP/1.1"
minSpareThreads="25"
enableLookups="false"
redirectPort="8443"
connectionTimeout="20000"
disableUploadTimeout="true"
URIEncoding="UTF-8"/>
Edit server.xml and change the AJP connector port:
<Connector port="8009" UIEncoding="UTF-8" tomcatAuthentication="false"
enableLookups="false" redirectPort="8080" protocol="AJP/1.3"
secretRequired="false" />
In the portion "ReadWritePaths=[dspace]", replace it with the actual
path of your dspace install directory.
Hope this helps,
euler
On Tuesday, April 5, 2022 at 8:37:00 PM UTC+8 Marion Rupp wrote:
Hi all,
Recently, we upgraded our DSpace testsystem (DSpace 6.3) up to Linux
Ubuntu LTS 20.04. This upgrade included Tomcat 9. Now, we have the
problem that this Tomcat version doesn´t recognize our solr index
any more.
For example when I select one of our browsing categories, I get the
message "SolrException: SolrCore "search" is not available due to
init
failure: Error opening new searcher..."
The reason for this seems to be the write.lock file in
dspace/solr/search/data/index (message: "File system is only
readable").
I changed the write permissions, unfortunately without success.
Does anyone here has experience with Tomcat 9 and Solr?
Thank you for your feedback and kind regards,
Marion
--
Marion Rupp
Bibliotheks-IT
Universitäts- und Landesbibliothek Bonn
Postfach 2460, D-53014 Bonn
Tel. 0228 / 73 75 50 Fax: 0228 / 73 75 46
eMail: [email protected]
Internet: http://www.ulb.uni-bonn.de
Twitter: http://twitter.com/ulbbonn
Facebook: http://facebook.com/ulbbonn
--
All messages to this mailing list should adhere to the Code of
Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google
Groups "DSpace Community" 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-community/729f9c48-65bb-4f59-8661-b949b570120cn%40googlegroups.com
<https://groups.google.com/d/msgid/dspace-community/729f9c48-65bb-4f59-8661-b949b570120cn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Marion Rupp
Bibliotheks-IT
Universitäts- und Landesbibliothek Bonn
Postfach 2460, D-53014 Bonn
Tel. 0228 / 73 75 50 Fax: 0228 / 73 75 46
eMail:[email protected]
Internet:http://www.ulb.uni-bonn.de
Twitter:http://twitter.com/ulbbonn
Facebook:http://facebook.com/ulbbonn
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" 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-community/f7dc3b47-9d4e-efcb-0635-3abb518220bc%40uni-bonn.de.