Topic on Project:Support desk

Error when importing dump

1
2001:8003:404D:8101:ECF2:B34D:E43:7D0 (talkcontribs)

I'm getting "Cannot create an actor for a usable name that is not an existing user" when trying to import a database from another wiki.


https://pastebin.com/XMkRMe5q


How do I fix this? I found https://phabricator.wikimedia.org/T211450#4807093 but the suggested fix there does nothing. I'm fine with editing the dump to change the usernames, however importDump.php gives me literally zero information as to which username is causing issues. I can't go over each username individually because it's a 2GB dump. Why does importDump make this so difficult?

Another ticket says it's related to https://phabricator.wikimedia.org/T219279, which is strange because the official docker image is shipped with PHP 7.3. Why does the docker image use this PHP version if it doesn't even work correctly?

Reply to "Error when importing dump"