Win11 desktop client: "Some data couldn't be synced" with "couldn't open sync database"

I was suffering from the same error, and this solution completely cured it for me: