I debugged this, this is actually an issue with your database being extremly extremely outdated.
Code:
ALTER TABLE `character_`
ADD COLUMN `firstlogon` int(11) NULL DEFAULT 0 AFTER `xtargets`,
ADD COLUMN `inspectmessage` varchar(200) NULL DEFAULT "" AFTER `firstlogon`;
Run that query and your auto legacy update conversion will run successfully.