I set up a Bamboo on Docker. After Bamboo service started, I chose the H2 database, and encountered the following error.
After adding the h2.x.x.xxx.jar file to the server in <BAMBOO_INSTALL_DIR>/lib and restarting, the jar file gets deleted.
How can I connect the H2 database to Bamboo on Docker?
Hello Ahmet,
Welcome to Atlassian community.
In recent version of Bamboo H2 Jar has been removed by default as it poses security vulnerability, you can try the below steps to copy the jar if you wish.
Below is an example to copy mysql-connector-java.x.y.z.jar to the lib directory here bamboo is the name of the container.
docker cp mysql-connector-java.x.y.z.jar bambooo:/opt/atlassian/bamboo/lib docker restart bamboo
Can you try the above steps and let me know if it works.
Regards,
Shashank Kumar
**please don't forget to Accept the answer if your query was answered**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.