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
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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

    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