Working with the Ansible install on Windows

34 views
Skip to first unread message

w. Patrick Gale

unread,
Aug 24, 2022, 11:18:07 AM8/24/22
to Dataverse Dev
From reading some threads, it seems that some have been successful in getting Dataverse to run from a Windows machine but I have had no luck. I tried WSL2 and Docker and the bottleneck for me are the systemd calls, which WSL2 does not readily support (some claim to get it working but I have yet to find a working example). I tried the  Systemd integration example at [https://hub.docker.com/r/rockylinux/rockylinux] with no luck but they did not mention the OS distro or shell they were using to execute the commands.

Do any of the Windows developers have scripts to spin up a Dataverse instance they would be willing to share? I have tried everything from Ansible to Docker but they all fail when they hit anything involving systemd. I am guessing there are some additional setup assumptions that are missing from the documentation.

thank you

Akio Sone

unread,
Aug 24, 2022, 2:21:35 PM8/24/22
to Dataverse Dev
While I'm using Windows/Linux machines, my quick answer to your question is to get a Linux machine or make your windows machine dual boot with Ubuntu, etc., esp. since an older-spec windows machine has now way to be upgraded to Windows 11, if its disk is not fully used, it would be better to give it a second life as a Linux machine.  When WSL2 was released several years ago, I tried to install Dataverse within it and failed due to WSL2's limitations; after docker for window was based on WSL2 a few years ago,  I tried to install full docker within WSL2 and run Dataverse-DAO within it, and it did not work. I assume you had already tried a solution to enable systemd: https://gist.github.com/djfdyuruiry/6720faa3f9fc59bfdf6284ee1f41f950 and read the following article: https://www.theregister.com/2021/11/17/ubuntu_team_systemd_windows_wsl2/ 

Akio Sone

Reply all
Reply to author
Forward
0 new messages