Soon as you did, this whole thing became unsupported. Major gem version upgrades are something that needs to be tested, I’m not surprised you’re having problems.
(as I understand it) When we do imports we do what’s necessary to get the data in place, then we take a backup and restore it to a clean site.
All else being equal I’d try that first.