Difficulty installing on Docker

70 views
Skip to first unread message

Nelson Fredsell

unread,
Apr 7, 2024, 6:11:36 PM4/7/24
to DSpace Technical Support
Hi All,
I've been unable to install DSpace after many tries, in various ways. Here's where I'm stuck this time. Any suggestions would be much appreciated! --

In docker for windows, I run from powershell
docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d

The 4 containers start, but postgres (dspacedb) seems to crash, or so it seems when I verify with
docker ps -a
STATUS: Exited (1) 6 minutes ago
whereas dspace, dspacesolr, dspace-angular have been Up 6 minutes

The error is 500 in my firefox browser.

I've tried (many times) working through the troubleshooting section called
"No _links section found at..." error from User Interface

In /dspace-angular/config/ I copied config.example.yml to config.prod.yml and changed the two sets of settings ui and rest. Also, I changed the settings in config.yml.

Thanks,
Nelson

DSpace Technical Support

unread,
Apr 22, 2024, 5:56:59 PM4/22/24
to DSpace Technical Support
Hi Nelson,

Apologies for the delayed response. I just stumbled on several small bugs in the database Docker scripts which were fixed in https://github.com/DSpace/DSpace/pull/9490 (and backported to 7.x).  It's possible you were seeing one of those errors, as the root problem you describe is that the database did not startup properly.

I'd recommend pulling down the latest code and trying the Docker installation again.

Tim
Reply all
Reply to author
Forward
0 new messages