Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence CLI restoreExport failing after upgrade.

Charlie Pike February 11, 2020

We have just upgrade both our versions of Confluence from 6.12.1 to 7.2.2.  We have licenses on both systems for Confluence CLI which was on version 8.0.0.

After the upgrade the the we were still able to export via the cli but restores failed with an remote error:

Remote error: Method is not allowed. May indicate server is in read-only mode or perhaps an invalid request type was used. Response code: 405.

$atlassianCli confluence --action restoreExport --file "name.zip" ($atlassiaCli being a variable pointing to the atlassian cli client.)

Suspecting this may have to do with compatibility after the upgrade I tried to update the Confluence cli to 9.1.0, but for some reason it installed the later version separate from the existing version, and only as a trial, not recognizing our valid license. Does our license not cover upgrades of major versions?

Then opted to update the Confluence cli and client to 8.8.0 but only to get a different error:

& $atlassianCli confluence --action restoreExport --file "name.zip" --debug

......

Remote error: Could not find indication of a successful start of import processing. Use --debug to get response data.
org.swift.common.cli.CliClient$RemoteRestException: Could not find indication of a successful start of import processing. Use --debug to get response data.
at org.swift.confluence.cli.requesthelpers.PseudoRequestHelper.requestExitPoint(PseudoRequestHelper.java:208)
at org.swift.common.cli.requesthelpers.DefaultRequestHelper.makeRequestWithUrlConnection(DefaultRequestHelper.java:841)
at org.swift.common.cli.requesthelpers.DefaultRequestHelper.makeUrlRequest(DefaultRequestHelper.java:727)
at org.swift.confluence.cli.requesthelpers.PseudoRequestHelper.makeUrlRequest(PseudoRequestHelper.java:66)
at org.swift.common.cli.requesthelpers.DefaultRequestHelper.makeRequest(DefaultRequestHelper.java:690)
at org.swift.confluence.cli.helpers.ExportHelper.restoreExport(ExportHelper.java:487)
at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:1547)
at org.swift.common.cli.DefaultRemoteClient.process(DefaultRemoteClient.java:827)
at org.swift.common.cli.CliClient.doWork(CliClient.java:782)
at org.swift.common.cli.CliClient.doWork(CliClient.java:738)
at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:194)
reset session

Server information for debug log:

Product . . . . . . . . . . . : Confluence
Version . . . . . . . . . . . : 7.2.2
Base URL . . . . . . . . . . : http://ourconfluence instance
Title . . . . . . . . . . . . : Confluence
Build . . . . . . . . . . . . : 8401
Current time . . . . . . . . : 2/11/20 10:15 AM
Time zone . . . . . . . . . . : Central Standard Time
Connector version . . . . . . : 8.8.0
License information . . . . . : Bob Swift Atlassian Apps - Confluence Command Line Interface (CLI) has a valid license.
Response time (milliseconds) : 367

 

Can you provide any assistance please, as this prevents us from importing our pages to our isolated system.

2 answers

1 accepted

0 votes
Answer accepted
Charlie Pike February 11, 2020

The cli 9.1.0 finally recognized our license after upgrading to 8.8.0 then 9.1.0. For some reason it would only show as a trial version when upgrading from 8.0.0, but issue resolved now. Have client and connector at major 9 and things working as expected.

0 votes
Ravya Mutyala {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2020

Hi @Charlie Pike ,

I hope you are doing great!

We are from Appfire's Bobswift team. We see your comment saying that the issue is resolved now after upgrading the app to the latest version 9.1.0. We have created a support request on behalf of you in our portal. Could you please try to access the ticket https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3530 by signing up to the portal and let us know the userID which you used to login so that we could add you as a reporter of the issue and can discuss further on the issue you are facing.

Have an awesome day.

Ravya,
Bobswift Support Team

Charlie Pike February 13, 2020

Hi Ravya, I have created an account using my email address and name Charlie Pike. Thanks.

Ravya Mutyala {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2020

Hi @Charlie Pike ,

Thank you for signing up to our portal, I added you as a reporter for support request https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-3530 , If you have any further questions please access the ticket for further discussion. We are happy to help you.

Thanks,
Ravya

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events