Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem importing space: ConstraintViolationException

Wojciech Zakrzewski
March 12, 2019

Hello,

I tried to import confluence space into Confluence in the cloud.

Export was made from another Confluence (XML file + attachments).

When i tried to import for the first time everything went smooth. I wanted to repeat the procedure so I deleted imported space (there aren;t any other spaces, this is 'fresh' confluence) and tried again. This time at the end of the import i got:
com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: org.hibernate.exception.ConstraintViolationException: could not execute statement

and space was not imported.

There aren't any logs so I am not able to check specifically what happened.
How can this be checked? How to fix this error?

My new client wants to use Confluence but it seems that old space (from another project) cannot be imported.

3 answers

0 votes
Piotr Maruszak
May 15, 2014

Wel this BKM was not really helpful and didn't solve my problem

0 votes
Deividi Luvison
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 Champions.
April 29, 2014

Hey Piotr,

We have the below KB that describe some alteratives to achieve that end:

https://confluence.atlassian.com/pages/viewpage.action?pageId=330796984

Hope it helps.

Thanks and Regards,

David|Atlassian Support

0 votes
Davin Studer
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 Champions.
April 29, 2014

How would one get back to the full view if you don't have the top bar or left nav? You could get the Content Formatting Macros which comes with a macro for CSS and another for iframes. Then just do a CSS "display: none;" on the top and left bars.

Piotr Maruszak
May 5, 2014

I need this simple view to show one page content in iframe only. Document Theme is standard when visiting WIKI but iframe view we would like to have simple because it will be embedded inside some other complex page

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events