Hello
I installed dspace 6.3 on centos 7.
I redirected dspace so that it accessed from apache HTTPD by port 80 and
with SSL certificate by port 443:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin root@localhost
ServerName repositorio.unal.edu.co
DefaultType text/html
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{SERVER_NAME}/%1 [R,L]
ErrorLog /var/log/httpd/unal.edu.co-error.log
CustomLog /var/log/httpd/unal.edu.co-access.log combined
</VirtualHost>
<VirtualHost *:443>
ServerName repositorio.unal.edu.co
SSLEngine on
SSLCertificateChainFile /etc/pki/unalcert/sf_bundle-g2-g1.crt
SSLCertificateFile /etc/pki/unalcert/d8f95e7ec176e7cb.crt
SSLCertificateKeyFile /etc/pki/unalcert/unal.edu.co.key
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
</VirtualHost>
Now I get an error in the search statistics and the usage statistics are
empty:
[image: Captura.PNG]
When trying to use ./dspace stats-util -b the following error appears:
Exception: org.apache.solr.client.solrj.SolrServerException: Server at*
http://repositorio.unal.edu.co/solr/statistics *sent back a redirect (302).
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
org.apache.solr.client.solrj.SolrServerException: Server at
http://repositorio.unal.edu.co/solr/statistics sent back a redirect (302).
at
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552)
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at
org.dspace.statistics.SolrLoggerServiceImpl.reindexBitstreamHits(SolrLoggerServiceImpl.java:1387)
at
org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
I have already change the URL of the solr server by *https://* in the
files: local.cfg, dspace.cfg, discovery.dfg and solr-statistics.cfg. The
same problem keeps appearing
Exception: org.apache.solr.client.solrj.SolrServerException: Server at
* http://repositorio.unal.edu.co/solr/statistics *sent back a redirect
(302).
Any idea of what the solution may be?
Regards
Jose Cruzado
--
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 Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.