com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, /var/atlassian/application-data/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 | Thiago Bomfim [Atlassian] | 2 years ago
  1. 0

    For example, {{stash.home}} in {{backup-config.properties}} contained a trailing space which caused the error below and took some time to track down: {noformat} $ java -jar stash-backup-client.jar 2014-09-04 19:58:13,110 INFO Initializing 2014-09-04 19:58:14,661 INFO Using Stash 3.2.2 2014-09-04 19:58:14,788 INFO Contacting Stash 2014-09-04 19:58:14,825 ERROR A backup could not be created. Reason: The configured STASH_HOME, /var/atlassian/application-data/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, /var/atlassian/application-data/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.3.1.jar:na] at com.atlassian.stash.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:44) ~[stash-backup-client.jar:1.3.1] ... 3 more frames available in the log file {noformat} h4. backup-config.properties !2014-09-17_0959.png!

    Atlassian JIRA | 2 years ago | Thiago Bomfim [Atlassian]
    com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, /var/atlassian/application-data/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

    For example, {{stash.home}} in {{backup-config.properties}} contained a trailing space which caused the error below and took some time to track down: {noformat} $ java -jar stash-backup-client.jar 2014-09-04 19:58:13,110 INFO Initializing 2014-09-04 19:58:14,661 INFO Using Stash 3.2.2 2014-09-04 19:58:14,788 INFO Contacting Stash 2014-09-04 19:58:14,825 ERROR A backup could not be created. Reason: The configured STASH_HOME, /var/atlassian/application-data/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, /var/atlassian/application-data/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.3.1.jar:na] at com.atlassian.stash.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:44) ~[stash-backup-client.jar:1.3.1] ... 3 more frames available in the log file {noformat} h4. backup-config.properties !2014-09-17_0959.png!

    Atlassian JIRA | 2 years ago | Thiago Bomfim [Atlassian]
    com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, /var/atlassian/application-data/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.
  3. 0

    [STASH-5069] Stash-backup-client 1.3.0 crashing - Atlassian JIRA

    atlassian.com | 1 year ago
    com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, /opt/atlassian/stash_data, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory the running instance to allow it to interact with the repositories.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

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

      The configured STASH_HOME, /var/atlassian/application-data/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
      DefaultBackupClient.backup
      1. com.atlassian.stash.internal.backup.client.layout.DefaultStashHome.verify(DefaultStashHome.groovy:52)[stash-backup-core-1.3.1.jar:na]
      2. com.atlassian.stash.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:44)[stash-backup-client.jar:1.3.1]
      2 frames