I thought of one other thing that’s a bit of a long shot but it shouldn’t hurt. The database format has changed since 2.2.5. Maybe a corrupt database is somehow wreaking havoc on the upgrade process.
You might consider making a backup and saving it locally then doing a soft reset followed by a restore. That will cleanse the database in the process. On newer versions a restore does a soft reset first but not I think on that old a version. Once that’s done try the upgrade again.
Again just a thought but since even BobbyD gets some time off for good behavior on the weekend it’s something to try.