No response for yarn test:rest

53 views
Skip to first unread message

DCUOIT

unread,
Feb 6, 2025, 4:20:22 PM2/6/25
to DSpace Technical Support
I am working on Ubuntu 24.04 to install Dspace 8. I think I have managed to install the backend because I was able to load the HAL browser. However, as I navigate to complete the frontend installation, I am encountering some issues. I am working in conjunction with our central IT because there are some points of access that I dont have. The proxy settings have been created etc. I also created an equivalent of dspace-ui.json with environment variables which I ran with pm2 and it showed a status of online but no reference to the version of Dspace. That made me suspect something was wrong. This was confirmed when I tried to load the URL for my site. Then I tried to load the frontend using the node dist/server/main.js command. Unfortunately, I get a 502 message on the browser when I attempted to access the URL.So as per the instructions I tried doing a yarn test:rest. I do not see any errors but I dont seem to be establishing a connection at all. I am not sure where next to go, which logs to look at. I've looked up in the group messages but haven't found anything that points me in the direction that I should go next. Any assistance would be greatly appreciated.

 Marcia


DSpace Technical Support

unread,
Feb 10, 2025, 12:11:34 PM2/10/25
to DSpace Technical Support
Hi Marcia,

If "yarn test:rest" doesn't return anything, that's a likely sign that there's a major connection issue between the server running Node.js (which is what is running your User Interface) and the server that is running the DSpace REST API.  This could be a networking issue, a proxy issue, a firewall issue, or similar.   

You also should obviously make sure you are running a supported version of Node.js and Yarn as documented in the Installation guide: https://wiki.lyrasis.org/display/DSDOC8x/Installing+DSpace   If you are running an unsupported version, that could also potentially cause the script to fail.

Tim

DCUOIT

unread,
Mar 3, 2025, 8:36:35 AM3/3/25
to DSpace Technical Support
Thanks, Tim.

I was able to resolve the issue with some assistance from IT department. I now get a 200 response.

Marcia
Reply all
Reply to author
Forward
0 new messages