craftamap / pluploader

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

Permssion denied when updating the license #88

Closed EugenMayer closed 10 months ago

EugenMayer commented 10 months ago

Installing the plugin works using the same credentials

pluploader --base-url http://$HOST --user admin --password admin -f plugins/confluence/target/confluence-7.0.0.obr --reinstall

Also getting the license works

but updating the license via

pluploader --base-url http://confluence.lan --user admin --password admin license info $PLUGIN_KEY

fail with

[15:48:58] ERROR    An error occured - check your credentials                                                                                                                                                                                      
           ERROR    (404, b'')    
craftamap commented 10 months ago

As discussed on slack, the issue was a wrong $PLUGIN_KEY.

EugenMayer commented 10 months ago

Sorry, layer 8 mistake. I used de.myapp.app-key as the plugin key, as it is required in the rest API, but plupload wraps that and de.myapp.app is the correct key. My bad. Thank you for the help!