# Runtime execute setup-script

**URL:** <https://community.ofelia.com/t/runtime-execute-setup-script/26632>\
**Category:** Q&A\
**Tags:** bonita-runtime\
**Created:** [4 December 2024 07:58 UTC](https://community.ofelia.com/t/runtime-execute-setup-script/26632 "2024-12-04T07:58:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HOF\_Tim](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/hof_tim/32/1098_2.png) [@HOF\_Tim](https://community.ofelia.com/u/HOF_Tim)\
**Post date:** [4 December 2024 07:58 UTC](https://community.ofelia.com/t/runtime-execute-setup-script/26632/1 "2024-12-04T07:58:45Z")

</div>

Hey,  
I’ve looked around and searched for an answer for around four hours and don’t find the right solution.

Setup:  
Windows Server 2022 with Hyper-V, virtual machine with Docker (nested virtualization on, wsl2). I’ve already changed the settings in de database-file within the docker image in Docker via “Volumes”.

The next step should be the Execution of the setup-Script.

1. It’s Docker on a Windows vm. Should I execute the bat or sh?
2. I’ve copied the bat out of the docker volume and executed it on the vm - that’s wrong, isn’t it?
3. How do I start the setup script from Win PowerShell (or from somewhere else?)
4. Is there a possible way to test the database-login from the docker-image? I’m using bdm.db.server.name=host.docker.internal because the PostgreSQL is on the same vm as Docker. But I don’t know if that’s correct.

My absolute pains currently are checking if the database connection works from within docker and no knowledge about running whether the sh or bat setup.

Thanks!

---

<div class="post-metadata">

**Author:** ![HOF\_Tim](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/hof_tim/32/1098_2.png) [@HOF\_Tim](https://community.ofelia.com/u/HOF_Tim)\
**Post date:** [4 December 2024 13:04 UTC](https://community.ofelia.com/t/runtime-execute-setup-script/26632/2 "2024-12-04T13:04:45Z")

</div>

What’s not working, either, is to use the build in terminal:

 ![grafik](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/c/c32b00aefdb48323558bf8771b2cc0a34fc1f272.png)

Even in bash mode to cd me to the setup folder, I can’t navige there, it didn’t exists:

 ![grafik](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/8/87da28a7e6a5b1d5d4b4af616f2f18b5d0b706b7.png)

---

<div class="post-metadata">

**Author:** ![thalia.cruz](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/thalia.cruz/32/1230_2.png) [@thalia.cruz](https://community.ofelia.com/u/thalia.cruz)\
**Post date:** [11 December 2024 10:41 UTC](https://community.ofelia.com/t/runtime-execute-setup-script/26632/3 "2024-12-11T10:41:52Z")

</div>

Hi @HOF_Tim

I’d recommend taking a look at this page about our [Setup Tool](https://documentation.bonitasoft.com/bonita/latest/runtime/bonita-platform-setup) and follow the steps in there.

Let us know if that helps.  
Cheers!

- Thalia
