hallowelt / migrate-confluence

Tool to migrate content from Confluence export files into a MediaWiki compatible import source
GNU General Public License v3.0
35 stars 8 forks source link

RecursiveDirectoryIterator error during convert (RESOLVED) #111

Closed revansx closed 4 months ago

revansx commented 4 months ago

Hello. I have set up the directories as instructed and have been able to convert a few small confluence exports with no issue. My recent effort is to convert a Confluence export of about 30 GB. For this migration migrate-confluence analyze --src input/ --dest workspace/ and migrate-confluence extract --src input/ --dest workspace/ ran fine but migrate-confluence convert --src input/ --dest workspace/ fails with:

Source: /opt/data-meza/confluence-migrations/MyProject/input
Destination: /opt/data-meza/confluence-migrations/MyProject/workspace

Fetching file list ...
In BatchFileProcessorBase.php line 102:

RecursiveDirectoryIterator::__construct(/opt/data/confluence-migrations/MyProject/input/content/raw): Failed to open directory: No such file or directory

convert [--src SRC] [--dest [DEST]] [--config CONFIG]

interestingly, the content/raw exists in the "workspace" directory and not the "input" directory.

Please help!

My site is:

freephile commented 4 months ago

I assume the 'input/content/raw' directory of a smaller migration does exist during the convert routine; and that only in this large migration the process fails with a missing 'input' directory.

It's a stab in the dark, but one possibility is that the disk is running out of inodes. Check your system with df -i

revansx commented 4 months ago

No shortage of inodes.

revansx commented 4 months ago

Silly me. Operator error.

I didn't read the instructions clearly and was using "--src input/" rather than "--src workspace/".