Ran into some initial problems that I thought were due to upgrading directly from 4.7 to 5.1 (without installing 5.0 in between) - but according to the trusty folks at opensourcehost, it seems to have been a result of one or two contributed modules. Still, I think I'll do any future 4.7-5.1 conversions in two steps, to be on the safe side...