I installed dspace 6.3 on centos 7.
I redirected dspace to access from apache HTTPD by port 80 and SSL
certificate by port 443, the virtualhost configuration in my httpd.conf is:
<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]
#ProxyRequests off
#ProxyPreserveHost On
#ProxyPass / http://localhost:8080/
#ProxyPassReverse / http://localhost:8080/
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 usage statistics and search statistics:
[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 already changed the solr server's URL by https:// in the files:
local.cfg, dspace.cgf, discovery.cfg, solr-statistics.cfg; but it doest
work, The same error with HTTP continues to appear:
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 Technical Support" 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-tech.
For more options, visit https://groups.google.com/d/optout.