craftamap / pluploader

A simple plugin uploader for atlassian server tools written in python
Apache License 2.0
11 stars 1 forks source link

Cannot install cloud descriptor #64

Closed EugenMayer closed 3 years ago

EugenMayer commented 3 years ago

I cannot install a cloud plugin descriptor. Neither using user/password or user/api toke (from https://id.atlassian.com/manage-profile/security/api-tokens). Always getting that the UPM token cannot be retrieved.

pluploader install --cloud -u https://.../addon-descriptor.json 

base_url /username/password set via .pluprc base_url looks like https://some.atlassian.net

tried it with the cli and docker version (0.7.0)

any hints?

craftamap commented 3 years ago

Hey @EugenMayer ,

Thanks for reporting this! I will try it out later today. Could you tell me if you are using a jira addon or a confluence addon?

Cheers, Fabian!

EugenMayer commented 3 years ago

confluence addon was it in my case

craftamap commented 3 years ago

Hey there 👋🏼 ,

On my instance, it seems to work, when I set BASE_URL with /wiki at the end, and I use a app password/access token as well as my email address as a username.

Can you please set your base_url with a /wiki at the end?

Since cloud rollouts are sometimes wierd, could you maybe also tell me the version of upm your cloud instance is currently on? In my case it's v1001.0.146 (you can find this at the bottom of the installation page).

EugenMayer commented 3 years ago

Adding /wiki and using an API token fixes it. In my case, using the password does not work. Not sure if that already is blacklisted.

Maybe we should add this to the docs, that the cloud instances must be suffixed with /wiki?

Or even validate when running --cloud?

Anyway, solved for me - probably some doc updates would be perfect. Thanks!

craftamap commented 3 years ago

In this case, I will continue the discussion in #67 and close the ticket. Thanks for the help!