DSpace 9.x Ansible Installer

30 views
Skip to first unread message

Michał Pasternak

unread,
Sep 29, 2025, 1:57:37 PM (6 days ago) Sep 29
to DSpace Community
Hello, 

I prepared a somehow user-friendly DSpace 9.x installer using Ansible. 


If you're on macOS, just: 
$ gh repo clone mpasternak/dspace-9-installer-ansible
$ make

This should display nice help; make configure-developer-machine should install all needed preqisities to start building dspace (Tart for VMs, Ubuntu for VM image, etc); then make install-dspace-all should get a clean DSpace install in the VM. Should, as I am still struggling with some funky tracebacks from dspace create-administrator. 

I tried making this VM-agnostic, so you can use Tart, SSH, Vagrant, etc. I tested only on Tart as so far. 

This is not anything overly complicated. This is a straightforward process from the documentation and it shows how complicated a clean install is. On the other hand, this is my try to make it repeatable. YMMV. 

If anybody's going to use this, let me know. 

Regards, 
Michał Pasternak

Nagy Ákos

unread,
Sep 30, 2025, 2:21:33 AM (6 days ago) Sep 30
to dspace-c...@googlegroups.com

Hi,

same all-agnostic approach, but using docker, instead of vms:

https://github.com/akoscomp/dspace-docker-traefik

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-community/fcc49ef2-a96e-4159-aa9e-3c5e0a1ecae7n%40googlegroups.com.

Michał Pasternak

unread,
Sep 30, 2025, 3:06:53 AM (6 days ago) Sep 30
to Nagy Ákos, dspace-c...@googlegroups.com
Thanks for posting the link! I have leadned about traefik, did not know that it exists. 

I thought about using docker, but I wanted to have something to build and test reliably. Current instructions on the web page are good, but it depends on what OS are you using… and which parts are you going to skip, by mistake or by lack of knowledge… so I created something to build reliably, same commands every time. 

There is something magic about this software, when I created those scripts - with large help from Claude Code - I hit two problems, one problem was described 3 years ago (dspace create-administrator won’t work if you run Tomcat first), another was a comment inside Solr core file („you need to run solr with -Dsomethingsomething from version 9.8. in order for this to work”). Perhaps future versions will bring more quirks and having something to build was my target. 

Docker is obviously not the same as a full fledged Linux machine and it never meant to be. I was afraid of working for a few hours then hitting some strange bug, requiring me to install systemd in a Docker machine, you get the idea. Whole „clean” dockerized abstraction leaks in such situations. I am glad to hear that your configuration works and that it is possible to run it. Do you plan to use GitHub actions to test if your config builds properly? It should be easier with Docker than with Vagrant, looks like I’m going to have to use macos builders for Vagrant on GA...

-- 
Z uszanowaniem, 
Michał Pasternak
📱+48793668733

Wiadomość napisana przez Nagy Ákos <nagy...@libreoffice.ro> w dniu 30 wrz 2025, o godz. 08:21:

You received this message because you are subscribed to a topic in the Google Groups "DSpace Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-community/OXDfKPA87lc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-communi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-community/dc4dfc6e-b1bc-4ac0-83d6-386ea4e165a4%40libreoffice.ro.

Nagy Ákos

unread,
Sep 30, 2025, 7:41:11 AM (5 days ago) Sep 30
to Michał Pasternak, dspace-c...@googlegroups.com

My setup is better for peoples who want to test or to deploy a simple dspace, without customization and special requirements.

Today I updated and tested the version in repo and works. You only need to set the domain name and point the DNS to server IP.

I run create-administrator after I started the api and ui containers and works fine.

I didn't build anything, I use the official docker images without rebuild. I add only my domain related configuration to containers.

Can be tested: https://ui.mx.akos.ro/

Tomorrow I will remove it.


The single customization that I do to run in production is to add local.cfg with mail related config to api container and some customized page templates and images.

For huge deployments with many users probably direct host install can be better.

Reply all
Reply to author
Forward
0 new messages