Stash backup client - 401 Unauthorized

症状

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.

原因

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

ソリューション

  • 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

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.