Stash backup client - 401 Unauthorized

Symptoms

When the user tries to create a backup using Stash Backup Client, sometimes this error will occur in the command line: 

2013-11-07 14:04:32,121 INFO Initializing
2013-11-07 14:04:33,053 INFO Contacting Stash
2013-11-07 14:04:33,280 ERROR A backup could not be created. Reason: The Stash version could not be verified; the server returned 401 Unauthorized. Backup/restore is only supported by Stash 2.7.0 and later.

Cause

Most likely The Backup Client wasn't able to access Stash due to insufficient user's privileges or due to bad authentication to Stash.

Resolution

  • Make sure the Stash user specified in the backup-config.properties, has Stash System Admin access.

  • Make sure the password is correct with no quotes enclosed.
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.