Unable to replace bamboo.cfg.xml
Asked by Eshwar Prasad Yaddanapudi:

Hi team,

I am trying to develop a bamboo plugin and have setup the dev env for "myfirstplugin". However, I am encountering a "**BUILD FAILURE**" with the below error.
> **Unable to replace /vagrant/kittycapture/kitty/target/bamboo/home/bamboo.cfg.xml**

**I am on Vagrant - Ubuntu 18.04 and Adapt openJDK-8.**

```
[[1;31mERROR] Failed to execute goal com.atlassian.maven.plugins:bamboo-maven-plugin:8.1.0:run[m (default-cli) on project kitty: Unable to replace /vagrant/kittycapture/kitty/target/bamboo/home/bamboo.cfg.xml: /vagrant/kittycapture/kitty/target/bamboo/home/bamboo.cfg.xml (No such file or directory) -> [Help 1]
[[1;31mERROR]
[[1;31mERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[[1;31mERROR] Re-run Maven using the -X switch to enable full debug logging.
[[1;31mERROR]
[[1;31mERROR] For more information about the errors and possible solutions, please read the following articles:
[[1;31mERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
```

could you kindly help me with what could have gone wild?


Answers:
author: Eshwar Prasad Yaddanapudi
body: additional Information:

When I run \`atlas-debug\` the application starts. However, the below message is logged into the console and then I get an error \`page cannot be displayed\`

```
e[INFO] [talledLocalContainer] 2020-06-09 07:32:14,270 INFO [http-nio-6990-exec-4] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,313 INFO [http-nio-6990-exec-3] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/bootstrap/selectSetupStep.action 83268kb
[[1;34mINFO[m] [talledLocalContainer] 2020-06-09 07:32:14,341 INFO [http-nio-6990-exec-3] [SelectSetupStepAction] Current setup step is /setup/complete.action
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,381 INFO [http-nio-6990-exec-2] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/setup/complete.action 83012kb
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,428 INFO [http-nio-6990-exec-1] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,457 INFO [http-nio-6990-exec-6] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/bootstrap/selectSetupStep.action 82628kb
[[1;34mINFO[m] [talledLocalContainer] 2020-06-09 07:32:14,481 INFO [http-nio-6990-exec-6] [SelectSetupStepAction] Current setup step is /setup/complete.action
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,524 INFO [http-nio-6990-exec-8] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/setup/complete.action 82372kb
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,573 INFO [http-nio-6990-exec-7] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'
[[1;34mINFOm] [talledLocalContainer] 2020-06-09 07:32:14,587 INFO [http-nio-6990-exec-9] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/bootstrap/selectSetupStep.action 82116kb
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,605 INFO [http-nio-6990-exec-9] [SelectSetupStepAction] Current setup step is /setup/complete.action
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,630 INFO [http-nio-6990-exec-10] [AccessLogFilter] 192.xxx.7x.x7 GET 192.xxx.7x.x7:6990/bamboo/setup/complete.action 81860kb
[[1;34mINFO] [talledLocalContainer] 2020-06-09 07:32:14,673 INFO [http-nio-6990-exec-5] [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'
```

comments: author: Eshwar Prasad Yaddanapudi
body: [@Richard White _TechTime_](/t5/user/viewprofilepage/user-id/2235039) could you help me with this.


author: Richard White _TechTime_
body: Hi [@Eshwar Prasad Yaddanapudi](/t5/user/viewprofilepage/user-id/3957522) ,

It is not an error I have personally seen before, I can only suggest to delete the target directory and run the build again.

What command are you using, when the first error message happens? It looks like it is happening during the 'run' phase, but in your second log, it looks like you may have gotten past the original error message?


author: Richard White _TechTime_
body: [@Eshwar Prasad Yaddanapudi](/t5/user/viewprofilepage/user-id/3957522) I would suggest you are better asking this particular query in <https://community.developer.atlassian.com/c/bamboo-development> =