[solved] Restoring config.json fails

Faced this problem again. Traced it back to a bug that the server fails to start after enabling email notifications. For further details see: Enabling email notifications caues mattermost not to start