I had a similar problem.
I can't warranty that will work in all cases.
I didn't notice that I had some databases with an older version, so I needed to downgrade first to the 3.5.x If it is the case, upgrade first the databases, some of worked perfec...