From eee2df889472b264c93ebe2fde95ac993be15891 Mon Sep 17 00:00:00 2001 From: cuberoot74088 Date: Thu, 8 Aug 2024 23:43:03 +0200 Subject: [PATCH] Improve migration error message (#2959) In this migration we have checked for legacy security_keys and not gid. This makes it easier for users to understand what the issue is. --- server/lib/src/server/migrations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/src/server/migrations.rs b/server/lib/src/server/migrations.rs index 634fce8e7..53ce734f8 100644 --- a/server/lib/src/server/migrations.rs +++ b/server/lib/src/server/migrations.rs @@ -558,7 +558,7 @@ impl<'a> QueryServerWriteTransaction<'a> { .collect::>(); if !affected_entries.is_empty() { - error!("Unable to proceed. Not all entries meet gid/uid constraints."); + error!("Unable to proceed. Some accounts still use legacy security keys, which need to be removed."); for sk_present in affected_entries { error!(%sk_present); }