Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting timeout while running migrate-confluence compose --src workspace/ --dest workspace/ #69

Open
serversteam opened this issue Jan 17, 2023 · 3 comments

Comments

@serversteam
Copy link

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 110702192 bytes) in phar:///usr/local/bin/migrate-confluence/src/Composer/ConfluenceComposer.php on line 95

I am running mediawiki inside docker and getting above error while running coomand
migrate-confluence compose --src workspace/ --dest workspace/
Thanks in advance

@osnard
Copy link
Member

osnard commented Jan 19, 2023

There is actually no need to run the tool on the same environment as MediaWiki. The tool will produce data theat can then be imported into the wiki.

I guess your export files are pretty large, aren't they? Maybe you can split them up at the time of export (maybe space by space)?

@bryandamon
Copy link

Breaking the migration up space-by-space makes sense, but if this is already 1 space could you remove half the files (or more), run the scripts, import the pages & files, then repeat with the other half and re-import? I'm not sure if that would produce missing files, then fix, or just end up with missing files both rounds?

@bryandamon
Copy link

Actually, the amount of memory is tiny (134 MB), you might want to check the script memory limit you have in your php.ini file and increase it to something more appropriate. Or change the container memory limit. Or like osnard mentioned, run the script on another environment and transfer the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants