com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, C:\Atlassian\Stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories.

Atlassian JIRA | Alex Comerford | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After installing Stash 3.3.1 for trial purposes the Stash Backup Client 1.4.0 fails with an error »...does not appear to be a valid home directory« {code} 2014-10-01 08:13:35,370 INFO [main] c.a.s.i.b.client.spring.SpringMain Initializing 2014-10-01 08:13:36,627 INFO [main] c.a.s.i.b.client.RestStashService Using Stash 3.3.1 2014-10-01 08:13:36,696 INFO [main] c.a.s.i.b.client.DefaultBackupClient Contacting Stash 2014-10-01 08:13:36,730 ERROR [main] c.a.s.i.backup.client.BackupMain A backup could not be created. Reason: The configured STASH_HOME, C:\Atlassian\Stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories. com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, C:\Atlassian\Stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories. at com.atlassian.stash.internal.backup.client.layout.DefaultStashHome.verify(DefaultStashHome.groovy:52) ~[stash-backup-core-1.4.0.jar:na] at com.atlassian.stash.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:43) ~[stash-backup-client.jar:1.4.0] at com.atlassian.stash.internal.backup.client.spring.SpringMain.run(SpringMain.groovy:28) [stash-backup-core-1.4.0.jar:na] at com.atlassian.stash.internal.backup.client.spring.SpringMain.run(SpringMain.groovy) [stash-backup-core-1.4.0.jar:na] at com.atlassian.stash.internal.backup.client.BackupMain.main(BackupMain.groovy:38) [stash-backup-client.jar:1.4.0] ... 27 frames suppressed {code}

    Atlassian JIRA | 2 years ago | Alex Comerford
    com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, C:\Atlassian\Stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories.
  2. 0

    After installing Stash 3.3.1 for trial purposes the Stash Backup Client 1.4.0 fails with an error »...does not appear to be a valid home directory« {code} 2014-10-01 08:13:35,370 INFO [main] c.a.s.i.b.client.spring.SpringMain Initializing 2014-10-01 08:13:36,627 INFO [main] c.a.s.i.b.client.RestStashService Using Stash 3.3.1 2014-10-01 08:13:36,696 INFO [main] c.a.s.i.b.client.DefaultBackupClient Contacting Stash 2014-10-01 08:13:36,730 ERROR [main] c.a.s.i.backup.client.BackupMain A backup could not be created. Reason: The configured STASH_HOME, C:\Atlassian\Stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories. com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, C:\Atlassian\Stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories. at com.atlassian.stash.internal.backup.client.layout.DefaultStashHome.verify(DefaultStashHome.groovy:52) ~[stash-backup-core-1.4.0.jar:na] at com.atlassian.stash.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:43) ~[stash-backup-client.jar:1.4.0] at com.atlassian.stash.internal.backup.client.spring.SpringMain.run(SpringMain.groovy:28) [stash-backup-core-1.4.0.jar:na] at com.atlassian.stash.internal.backup.client.spring.SpringMain.run(SpringMain.groovy) [stash-backup-core-1.4.0.jar:na] at com.atlassian.stash.internal.backup.client.BackupMain.main(BackupMain.groovy:38) [stash-backup-client.jar:1.4.0] ... 27 frames suppressed {code}

    Atlassian JIRA | 2 years ago | Alex Comerford
    com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, C:\Atlassian\Stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories.

    Root Cause Analysis

    1. com.atlassian.stash.internal.backup.client.BackupException

      The configured STASH_HOME, C:\Atlassian\Stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories.

      at com.atlassian.stash.internal.backup.client.layout.DefaultStashHome.verify()
    2. com.atlassian.stash
      BackupMain.main
      1. com.atlassian.stash.internal.backup.client.layout.DefaultStashHome.verify(DefaultStashHome.groovy:52)[stash-backup-core-1.4.0.jar:na]
      2. com.atlassian.stash.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:43)[stash-backup-client.jar:1.4.0]
      3. com.atlassian.stash.internal.backup.client.spring.SpringMain.run(SpringMain.groovy:28)[stash-backup-core-1.4.0.jar:na]
      4. com.atlassian.stash.internal.backup.client.spring.SpringMain.run(SpringMain.groovy)[stash-backup-core-1.4.0.jar:na]
      5. com.atlassian.stash.internal.backup.client.BackupMain.main(BackupMain.groovy:38)[stash-backup-client.jar:1.4.0]
      5 frames