Error 500 in the frontend

129 views
Skip to first unread message

rub...@gmail.com

unread,
Jan 23, 2024, 9:04:02 PM1/23/24
to DSpace Technical Support
Hi, 

I have error 500 in the frontend, checking it seems they keep calling http and not https, maybe some suggestions to be able to review and know what the error is to correct.
my setup: ubuntu 20.04, dspace DSpace 7.6
local.cfg =======
dspace.ui.url = https://repository.domain/
rest.cors.allowed-origins = ${dspace.ui.url}
dspace.server.url = https://repository.domain/server
And excuse me, it must also be available at https?, well I have it like this.
solr.server = http://localhost:8983/solr

DSpace Technical Support

unread,
Jan 24, 2024, 3:02:28 PM1/24/24
to DSpace Technical Support
Hi Ruben,

I also answered this on Slack, but I'm copying my answer here in case it helps anyone else:

The "solr.server.url" setting does NOT need to be HTTPS. It is usually an HTTP URL which is private (like your localhost URL) as Solr does not need to be available on the web (only the backend code needs to be able to contact Solr and it can do so privately).

Regarding a 500 error, you may want to use the troubleshooting guide to find the exact error message being thrown. https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-DSpace7.x(orabove)

We also have a guide for many common configuration errors. See our Common Installation Issues at the bottom of the install guide: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-CommonInstallationIssues 
 It's possible one of these will describe the bug you are seeing with a suggested fix.

Tim
Reply all
Reply to author
Forward
0 new messages