I tried migrating a Bamboo installation from one server to another. One server's bamboo home was set to "/home/appuser/bamboo/Bamboo". On the other server that I tried importing on, the bamboo home is /local/bamboo/Bamboo". After running the import on the new server, when trying to do a build. I get the following error:
28-Feb-2007 10:30:31 The source code directory (/home/appuser/bamboo/Bamboo/xml-data/build-dir/ IRISWEB-IRISWEBPLAN) for build "Iris-Web - Iris Web Plan" does not exist, requires full checkout.
28-Feb-2007 10:30:33 Failed to get the build source code:Failed to get source code
28-Feb-2007 10:34:11 Processing request to build 'Iris-Web - Iris Web Plan' with reason 'Manual build'
28-Feb-2007 10:46:03 Processing request to build 'Iris-Web - Iris Web Plan' with reason 'Manual build'
28-Feb-2007 10:53:29 The source code directory (/home/appuser/bamboo/Bamboo/xml-data/build-dir/ IRISWEB-IRISWEBPLAN) for build "Iris-Web - Iris Web Plan" does not exist, requires full checkout.
28-Feb-2007 10:53:33 Failed to get the build source code:Failed to get source code
28-Feb-2007 10:53:35 Processing request to build 'Iris-Web - Iris Web Plan' with reason 'Manual build'
Edit Plan
The /home/appuser directory doesn't exist on the new box.... it needs to be using the directory /local/bamboo/Bamboo... folder.
com.atlassian.bamboo.repository.RepositoryException: Failed to get source code
at com.atlassian.bamboo.repository.svn.SvnRepository.getAllSourceCode(SvnRepository.java:405)
at com.atlassian.bamboo.build.DefaultBuildChangeDetector.getCleanBuild(DefaultBuildChangeDetector.java:257)
at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:160)
at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114)
at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77)
at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.atlassian.bamboo.repository.RepositoryException: Failed to get source code
at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:605)
at com.atlassian.bamboo.repository.svn.SvnRepository.getAllSourceCode(SvnRepository.java:399)
... 6 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: Cannot create new file '/home/appuser/bamboo/Bamboo/xml-data/build-dir/IRISWEB-IRISWEBPLAN/.svn/lock'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:48)
at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.createEmptyFile(SVNFileUtil.java:110)
at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14.createVersionedDirectory(SVNAdminArea14.java:1355)
at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea14Factory.doCreateVersionedDirectory(SVNAdminArea14Factory.java:36)
at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.createVersionedDirectory(SVNAdminAreaFactory.java:181)
at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.createVersionedDirectory(SVNAdminAreaFactory.java:188)
at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:321)
at com.atlassian.bamboo.repository.svn.SvnRepository.checkout(SvnRepository.java:599)