space export works, but file is not copied to --file destination

S Oostdijck April 17, 2013

Hiya,

The CLI tools have always been a great help to export out spaces. However after the last upgrade to 5.1 and CLI tools 3.3.0 I am having some trouble with exporting the spaces (as html). The export seems to be fine and things show up in the "temp" folder in the confluence home dir. However they are not moved into place afterwards (the --file option is not used it seems).

Am I hitting a bug, or doing something wrong?

I'm running it as follows (along with the error:)

-bash-4.1$ /export/confluence-cli-3.3.0/confluence.sh --user spaces-exporter --password xxx --server http://localhost:8090 --action exportSpace --exportType HTML --space far --file "/nfs/dumps/test-dump.zip" --verbose
Server address: http://localhost:8090/rpc/soap-axis/confluenceservice-v1

Successful login to: http://localhost:8090/rpc/soap-axis/confluenceservice-v1 by user: spaces-exporter.
Using basic authentication.
cb7f9266eb logged out.

Client error: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
org.swift.common.cli.CliClient$ClientException: javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name
	at org.swift.common.cli.CliUtils.copyUrlToFile(CliUtils.java:218)
	at org.swift.confluence.cli.ConfluenceClient.exportSpace(ConfluenceClient.java:4487)
	at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:693)
	at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:122)
	at org.swift.common.cli.CliClient.doWork(CliClient.java:315)
	at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:146)

2 answers

1 vote
BernardoA
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.
April 28, 2013

According to this stack trace it looks like the server name is incorrect. Also it's worth to check with the plugin vendor regarding this problem.

0 votes
BernardoA
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.
April 28, 2013

According to this stack trace it looks like the server name is incorrect. Also it's worth to check with the plugin vendor regarding this problem.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events