The proftpd has been fixed as you suggest but the upgrade could went on further until this error showed up.
ERROR while trying to (to insert upgrade info into history table), the query was: INSERT INTO upgrade_history (upgrade_date, version_info, os, update_ticket, mu) VALUES (now()...