When trying to migrate I got a lovely:
Command Failed : Host Software / trunk /opt/atlassian/bitbucket/home/shared/data/repositories/1/subgit/.run/stash.config
Log show:
2017-04-24 11:03:59,439 [sg:core-344] INFO sg.scheduler - [R_1_1][start-656] run failed (RUNNING)
2017-04-24 11:03:59,439 [sg:core-344] INFO sg.scheduler - /opt/atlassian/bitbucket/home/shared/data/repositories/1/subgit/.run/stash.config java.nio.file.NoSuchFileException: /opt/atlassian/bitbucket/home/shared/data/repositories/1/subgit/.run/stash.config
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:243)
at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:581)
at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
at java.nio.file.Files.copy(Files.java:1274)
at org.tmatesoft.subgit.stash.mirror.tasks.SgRepositoryTask.install(SourceFile:186)
at org.tmatesoft.subgit.stash.mirror.tasks.SgStartTask.runSecurely(SourceFile:41)
at org.tmatesoft.subgit.stash.mirror.tasks.SgMirrorTask$1.perform(SourceFile:83)
at org.tmatesoft.subgit.stash.mirror.tasks.SgMirrorTask$1.perform(SourceFile:79)
at com.atlassian.stash.internal.user.DefaultEscalatedSecurityContext.call(DefaultEscalatedSecurityContext.java:54)
at org.tmatesoft.subgit.stash.mirror.tasks.SgMirrorTask.run(SourceFile:79)
at org.tmatesoft.subgit.stash.mirror.tasks.SgMirrorTask.run(SourceFile:17)
at org.tmatesoft.subgit.stash.mirror.scheduler.SgTaskScheduler$TaskWrapper.runTask(SourceFile:896)
at org.tmatesoft.subgit.stash.mirror.scheduler.SgTaskScheduler$TaskWrapper.run(SourceFile:860)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)Any reason why? Apart from the fact that there is no stash file present?