Message search can never be enabled in some situations #19358
Labels
A-Indexing
Indexing messages via Seshat
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
It seems somehow the passphrase in keytar can get out of sync with the actual database password. Element doesn't appear to be able to recover from this situation, leading to message search just not turning on. We should detect a passphrase mismatch and probably just delete the database and start re-indexing (probably warning the user, lest they end up in a cycle of it re-indexing without their knowledge every time the app is restarted). According to this report, the spinner keeps spinning too, even after it fails.
Original report below:
Steps to reproduce
Outcome
What did you expect?
I expected message search to be enabled
What happened instead?
The loading/processing wheel spins for hours and does not enable message search
Operating system
Linux Mint
Application version
Element version: 1.9.2 Olm version: 3.2.3
How did you install the app?
https://packages.riot.im/debian default/main amd64
Homeserver
semi.social
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: