Hi everyone,
I recently upgraded a Dspace repository from version 6.3 to version 8.1. The service is up and running now, but I'm running into an issue with bitstream URLs. I work for a university library, and our workflow with Dspace 6.3 was to add an item to Dspace, get a bitstream link directly to the file, and then add that link to our library catalogue. After upgrading to 8.1, I can access files if I navigate to them in Dspace, but the old bitstream URLs don't work.
For example, here's an
item in our repository. Downloading the PDF from that page works fine, but using this
Dspace 6 URL redirects to localhost:4000.
I thought at first that the issues above (especially the localhost:4000 one) were due to an httpd configuration issue, but it still seems to happen even if I comment out the ProxyPass and ProxyPassReverse lines in httpd.conf.
Our university's central IT department manages the
ulethbridge.ca domain, but requests to /lib/ematerials get sent to our Dspace server. For what it's worth, this setup has proven to be quite a pain when trying to configure things and I would not recommend it. I suspect that using a subdomain would have saved me a great deal of stress!
I can replace the catalogue links with new URLs if needed, but if anyone has any suggestions for how to make the old ones work, it would be greatly appreciated!
Software Versions:
OS: Windows Server 2016
Dspace: 8.1
Tomcat: 10.1.39
HTTPD: 2.4.54
Node.js: 22.14.0
OpenJDK: 24
(I'm currently running the Dspace front end using "node main.js", but I'll switch to PM2 once I have the bugs worked out)
httpd.conf snippet:
<VirtualHost *:443>
ServerName
www.ulethbridge.ca ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto https
...
server.xml snippet:
<Host name="localhost" appBase="C:/dspace/webapps" autoDeploy="true" unpackWARs="true">
<Alias>
www.ulethbridge.ca</Alias>
<Context docBase="/server" path="/lib/ematerials/server" reloadable="true"/>
</Host>
local.cfg snippet:
config.yml snippet:
ui:
ssl: false
host: localhost
port: 4000
nameSpace: /lib/ematerials
If there's any other relevant information that I'm missing, please let me know!
Thanks,
Bryson