Describe the issue / Steps to reproduce:
Got a BlueSpice instance up and running, and tried importing a test space from Confluence by following the instructions laid out here.
The process seems to have gone smoothly (no errors in the console), however the pages are mostly blank. Some do have a comment inside when you try to edit them, but most are just blank pages with the title, hierarchy and attachments imported.
Are there any troubleshooting steps I can do to get the content of the pages imported as well?
Expected behavior:
Expected the page content to be imported.
it seems that the migration script treats the embedded files as attachments:
a Confluence page can hold files as attachments, but attachments in BlueSpice are managed in a standalone place.
For Gliffy-formatted diagrams I am not totally sure how they are formatted, but BlueSpice do provide support for .bpmn diagrams, with which the maintenance script might be able to support Gliffy diagrams with some conversion.
Would it be possible for you to share the dump files of your test Confluence workspace, or perhaps describe how you build the test workspace? I am interested to have a try.
Hi! Sorry for the late reply.
Yes, pandoc is installed.
Since my last reply I have created a new space without any kind of PII, which I am able to share.
However, I think I might have identified the issue, but I don’t know how to fix it yet.
Step 3 is the only one which shows errors (which is easier to see now on the smaller Confluence export).
Here are the logs:
Source: /home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export
Destination: /home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export
Fetching file list ...done.
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/98316.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/98331.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/131076.mraw
PHP Warning: Undefined array key -1 in phar:///home/gabriel/bin/migrate-confluence/src/Converter/ConfluenceConverter.php on line 804
pandoc: /home/gabriel/confluence: withBinaryFile: does not exist (No such file or directory)
PHP Warning: Undefined array key -1 in phar:///home/gabriel/bin/migrate-confluence/src/Converter/ConfluenceConverter.php on line 804
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/131172.mraw
NODE:
<ac:structured-macro ac:name="anchor" ac:schema-version="1" ac:macro-id="a1094ebb05173bfa77ab39da352f5f6f">
<ac:parameter ac:name="">On-this-page</ac:parameter>
</ac:structured-macro>
pandoc: /home/gabriel/confluence: withBinaryFile: does not exist (No such file or directory)
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/131194.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/131197.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/131200.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/131203.mraw
NODE:
<ac:structured-macro ac:name="blog-posts" ac:schema-version="1" ac:macro-id="45110fb0-b1a0-433b-a707-39944dddecb0">
<ac:parameter ac:name="max">5</ac:parameter>
<ac:parameter ac:name="content">titles</ac:parameter>
</ac:structured-macro>
pandoc: /home/gabriel/confluence: withBinaryFile: does not exist (No such file or directory)
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/131205.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/131224.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/163842.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/163845.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262147.mraw
pandoc: /home/gabriel/confluence: withBinaryFile: does not exist (No such file or directory)
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262151.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262160.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262170.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262176.mraw
pandoc: /home/gabriel/confluence: withBinaryFile: does not exist (No such file or directory)
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262178.mraw
pandoc: /home/gabriel/confluence: withBinaryFile: does not exist (No such file or directory)
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262187.mraw
NODE:
<ac:macro ac:name="create-from-template">
<ac:parameter ac:name="contentBlueprintId">e25ed705-40ad-40e5-83d3-4dae9c882e88</ac:parameter>
<ac:parameter ac:name="blueprintModuleCompleteKey">com.atlassian.confluence.plugins.confluence-business-blueprints:meeting-notes-blueprint</ac:parameter>
<ac:parameter ac:name="createButtonLabel">Create meeting note</ac:parameter>
</ac:macro>
NODE:
<ac:macro ac:name="decisionreport">
<ac:parameter ac:name="cql">space = "~606dcf5fef87dd00686697d0" and label = "meeting-notes"</ac:parameter>
</ac:macro>
NODE:
<ac:macro ac:name="content-report-table">
<ac:parameter ac:name="contentBlueprintId">e25ed705-40ad-40e5-83d3-4dae9c882e88</ac:parameter>
<ac:parameter ac:name="analyticsKey">meeting-notes</ac:parameter>
<ac:parameter ac:name="blankDescription">Set meeting agendas, take notes, and share action items with your team.</ac:parameter>
<ac:parameter ac:name="blankTitle">Meeting notes</ac:parameter>
<ac:parameter ac:name="spaces">~606dcf5fef87dd00686697d0</ac:parameter>
<ac:parameter ac:name="createButtonLabel">Create meeting note</ac:parameter>
<ac:parameter ac:name="labels">meeting-notes</ac:parameter>
</ac:macro>
pandoc: /home/gabriel/confluence: withBinaryFile: does not exist (No such file or directory)
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262192.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262198.mraw
/home/gabriel/confluence migration/working-directory/tmp/confluence/gabriel-export/content/raw/262203.mraw
Done.
Is there something obvious I should do that I missed?
The outputs you see are related to macros that are currently not supported by the tool. E.g. blog-posts and decisionreport.
Please check your workspace/ directory. It should have a subfolders contents/raw and contents/wikitext. Can you please check if they contain files and if so, if they have contents? You should see *.mraw, *.mprep and *.wiki files.