-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seshat DB error disables search on desktop #14229
Seshat DB error disables search on desktop #14229
Comments
@HarHarLinks If you temporarily move the custom config out of the way to test the default and restart, what behaviour do you see? |
I renamed the file and restarted. It still displays the same message, nor does search seem to work. |
The log seems to say:
@poljar, any suggestions on how best to resolve that? |
Deleting the |
I renamed |
It only contains Seshat data and it will get rebuilt from the data from the server. Nothing valuable is lost. A indexer file got somehow corrupted could be by a unclean shutdown, not sure. There's not much to investigate here since we don't have specific logs for this as it's deep in the belly of Seshat. We could offer a better UI for when this happens though. |
I had the same issue today, although my case was a bit different: no custom config, but I upgraded from an (about 8 months) old Riot-desktop install. OS: ubuntu 20.04. Removing the |
Multiple users in our organisation have had the same problem, including myself. Removing Currently running Element 1.7.13 with a custom Another thing I noticed was that before fixing it "Use the Desktop app to search encrypted messages" was displayed under the search field (despite the fact that I'm using the Desktop app), and after applying the workaround that message is gone. |
Yes, it's quite confusing that indexing errors currently make the desktop app say "use desktop"... 😖 We have #15168 to track this aspect. |
@poljar What would be a good way to help people here? Maybe a toast that asks permission to delete and rebuild the index...? |
Yes that does sound sensible. |
For whoever comes here, the fix is:
|
For those affected by this, does it just happen out of nowhere with seemingly no other changes, or did something else change e.g. you logged in again for the first time in a while...? |
It was a friend, with Element just installed for the 1st time. He tried both flatpak and .deb versions, and the same happened with both. |
Hmm, thanks for the detail. I wonder if there's some race condition in the Seshat init path that is setting things up with e.g. a bad database key or similar... |
Reproduced this installing Element Desktop version 1.7.16 for the first time on macOS 10.15.7. I can also reproduce on Windows 10 (first time install). Trying to use search -> Settings -> Security & Privacy ->Message search
How do I find the logs that show It might have been a coincidence but after starting it manually from the package contents binary in the terminal, search started to work. Before that, I did try restarting the app multiple times from the normal spotlight launcher but was broken each time.
Given that I did the same on Windows 10 and didn't fix the problem, I am leaning toward coincidence and race condition.
|
Happened again, Windows 10 20H2, up to date Element Desktop that had been installed for some time. Deleting EventStore helped. Edit: and again after less than 2 days. |
I experienced this issue, too. Just 'cause it took me a little while to find it, on Windows 10 the folder I needed to remove was located at |
Got hit by this too, Element nightly (Ubuntu) 2021012001 Confusingly,
Have rageshaked before doing that. |
Nightly had an issue which corrupted the db, the issue was caught before it went into a release. |
@poljar I've never run Nightly though, only release versions. |
Ah sorry, this was a direct comment for @jaywink. The db can get corrupted for other reasons as well. |
@poljar Ah ya, gotcha. Well at least for me it still seems to be working fine after I fixed it 4 days ago. |
I try remove all:
not help :-( |
removing the folder EventStore: |
Description
Message search is disabled although I'm using the riot-desktop app.
This worked when the feature was introduced. I recently enabled labs settings on desktop by adding the respective file
%appdata%/Riot/config.json
, which is my best guess as to what might have messed things up, although my impression is that it shouldn't have.config.json
contents:Steps to reproduce
config.json
Logs being sent: yes
Version information
For the desktop app:
The text was updated successfully, but these errors were encountered: