In Debian packaging we can't do anything about upstream capability to recover from crashes. Please suggest what exact Akonadi service starts/stops the database and how we can ask Akonadi to shutdown before server upgrade. At least it would cover the common case if regular upgrades.