Upgrade failed, please advise

Looks like you have made changes to your dkim.sh

Make a backup of the file outside of the mailinabox directory, like in your home, then follow the instructions in this post, with using your current version number, to return you mailinabox directory to the same as the git version. (the post was for v62)