You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
I got these error when trying to export my multisites:
anh_legiang@grow:/home/grow.vn/public_html$ wp mu-migration export all site.zip --plugins --themes --uploads
PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1690 but version 1691 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
PHP Notice: Undefined index: HTTP_HOST in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296) : eval()'d code on line 115
PHP Warning: Use of undefined constant ‘WP_MEMORY_LIMIT’ - assumed '‘WP_MEMORY_LIMIT’' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296) : eval()'d code on line 120
PHP Warning: Use of undefined constant ‘256M’ - assumed '‘256M’' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296) : eval()'d code on line 120
Exporting site meta data...
PHP Warning: file_put_contents(mu-migration-1611848399grow.json): failed to open stream: Permission denied in /home/anh_legiang/.wp-cli/packages/vendor/10up/mu-migration/includes/commands/class-mu-migration-export.php on line 452
Warning: file_put_contents(mu-migration-1611848399grow.json): failed to open stream: Permission denied in /home/anh_legiang/.wp-cli/packages/vendor/10up/mu-migration/includes/commands/class-mu-migration-export.php on line 452
Exporting users...
PHP Warning: fopen(mu-migration-1611848399grow.csv): failed to open stream: Permission denied in /home/anh_legiang/.wp-cli/packages/vendor/10up/mu-migration/includes/commands/class-mu-migration-export.php on line 187
Warning: fopen(mu-migration-1611848399grow.csv): failed to open stream: Permission denied in /home/anh_legiang/.wp-cli/packages/vendor/10up/mu-migration/includes/commands/class-mu-migration-export.php on line 187
Error: Impossible to create the file
If I tried to use root:
anh_legiang@grow:/home/grow.vn/public_html$ sudo wp mu-migration export all site.zip --plugins --themes --uploads --allow-root
sudo: unable to resolve host grow: Name or service not known
PHP Warning: Version warning: Imagick was compiled against ImageMagick version 1690 but version 1691 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
PHP Notice: Undefined index: HTTP_HOST in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296) : eval()'d code on line 115
PHP Warning: Use of undefined constant ‘WP_MEMORY_LIMIT’ - assumed '‘WP_MEMORY_LIMIT’' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296) : eval()'d code on line 120
PHP Warning: Use of undefined constant ‘256M’ - assumed '‘256M’' (this will throw an Error in a future version of PHP) in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1296) : eval()'d code on line 120
Error: 'mu-migration' is not a registered wp command. See 'wp help' for available commands.
Steps to Reproduce
Install MU-Migration
CD to public_html directory
Run the command: wp mu-migration export all site.zip --plugins --themes --uploads
Describe the bug
I got these error when trying to export my multisites:
If I tried to use root:
Steps to Reproduce
wp mu-migration export all site.zip --plugins --themes --uploadsScreenshots, screen recording, code snippet
No response
Environment information
Ubuntu 22.01
WordPress information
6.1
Code of Conduct