MU-Migration
MU-Migration copied to clipboard
Migration breaks on MacOs with Warning: Something went wrong while running sed
Describe the bug
When running a migration with any option, I get the error
Warning: Something went wrong while running sed
multiple times, followed by database errors.
On dumping the sed commands it's trying to run, it looks like it's trying to use the -i flag, as I found doesn't work the same on MacOS, see the following SO thread.
https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux
Steps to Reproduce
Start migration import with or without the change url / blog ID options The error Warning: Something went wrong while running sed shows several times Database errors result
Screenshots, screen recording, code snippet
N/A
Environment information
No response
WordPress information
Wordpress v6
Code of Conduct
- [X] I agree to follow this project's Code of Conduct