See this thread: https://discourse.mailinabox.email/t/upgrade-from-0-5-to-0-51-error/7217/13 Maybe it helps?