Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find bucket during initremote #13

Open
jparris opened this issue May 26, 2017 · 0 comments
Open

Unable to find bucket during initremote #13

jparris opened this issue May 26, 2017 · 0 comments

Comments

@jparris
Copy link

jparris commented May 26, 2017

Hi there,

I created a b2 bucket over 24hrs ago (just in case these a propagation delay). When I attempt to init the remote I get couldn't open bucket and it appears no buckets are found.

What I did

$ git annex initremote b2 type=external externaltype=b2 accountid=XYZ appkey=XYZ encryption=shared chunk=25MiB bucket=annex-field-recordings
initremote b2 (encryption setup) (encryption key stored in git repository) git-annex: Couldn't open bucket "annex-field-recordings": Post https://api001.backblazeb2.com/b2api/v1/b2_list_buckets: Found
$ 

Just out of curiosity it appears that my account + appkey are correct.

$ git annex initremote b2 type=external externaltype=b2 accountid=<wrong account ID> appkey=<correct appkey> encryption=shared chunk=25MiB bucket=annex-field-recordings
initremote b2 (encryption setup) (encryption key stored in git repository) git-annex: Couldn't authorize: UNAUTHORIZED - The account ID is wrong, the account does not have B2 enabled, or the application key is not valid
$ git annex initremote b2 type=external externaltype=b2 accountid=<correct account id> appkey=<wrong appkey> encryption=shared chunk=25MiB bucket=annex-field-recordings
initremote b2 (encryption setup) (encryption key stored in git repository) git-annex: Couldn't authorize: UNAUTHORIZED - The account ID is wrong, the account does not have B2 enabled, or the application key is not valid

Cheers, Jon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant