-
Notifications
You must be signed in to change notification settings - Fork 267
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
"Message search initialisation failed, check your settings for more information" #904
Comments
Thank you for raising this issue, Should probably be mitigated by element-hq/element-web#18164 |
Next time tell him where the hell to find the error because it isn't intuitive at all.
Also note this happens in e2e rooms only, and the NON ENCRYPTED MESSAGES do appear in those rooms (for example I sent POST requests via a bot into the room ID and those are (red alarm marked as non-encrypted) they appear via the search fine but no other post does. The error shows up regardless if the bot is in the room or not.. it shows up in all e2e rooms. This error appeared last few months, some of my rooms are year+ old and worked fine until month ago or more no idea.. now they do not. |
them* Also the error is: But yes, the error message needs to be presented better to the user. If this is an Arch Linux packaging error, perhaps Element should check for Sqlcipher up front, and refuse to launch (or popup a dialog on startup) saying it's missing, so the Arch packagers won't ship a subtly broken package. The weird thing is that I already have |
Could be an arch issue, I am using https://aur.archlinux.org/packages/element-desktop-nightly-bin/ with a different error message (as posted above) however both are related to search.. @anoadragon453 (assuming it's the same person) said
I also have it looks like |
Could you both try to "reset" the message index? It would be interesting to see whether Element can recover and initialise seshat properly. If that's the case, it could indicate a race condition during the first initialisation phase. Otherwise it could be a packaging issue |
I tried clicking Reset, and the settings page didn't change except for a spinner, and trying to open search still popped up "Message search initialisation failed". When I closed and reopened the Settings page, I still see "Message search initialisation failed", but the settings shows an Enable button instead, and clicking it didn't do anything immediately (but create a spinner). When I try clicking the Enable button, the dev tools shows error:
The rageshake.tar file shows |
@gsouquet Main page goes to:
When you click "manage" it shows: It's still going but it looks like my searches are working, none report and error.
So at some point my indexes broke and they weren't able to fix themselves? And nyan's stuff.. just can't find sqlcipher I guess? |
does your search actually find stuff from e2e channels now, though? |
Yes that is what "looks like my searches are working" means |
I have exactly the same problem as @G2G2G2G. I couldn't search messages, tried to reset the index and now it cannot be recreated. I've installed element through the official ArchLinux packages. |
The Arch bug is being tracked at https://bugs.archlinux.org/task/72359, which references matrix-org/seshat#102 (probably the same bug reported in a different tracker). However it doesn't seem fixed yet. |
Note that if you're seeing For matrix-org/seshat#102, a temporary workaround, which works for Arch at least, can be found here. This workaround will be applied to the Arch package (or has been already) so that you don't need to do it manually, but it might be useful for other affected distributions. |
@dkasak thanks worked for me with my error of not being able to click the "enable" button (which was underlying sqlcipher issue as we know from previously)
(I'm using https://aur.archlinux.org/packages/element-desktop-nightly-bin/ ) |
I have this issue too. Arch Linux, |
Also have this issue. |
This element-hq/element-web#14229 (comment) worked for me as a temporary fix, but one must wait for reindexing. |
Having this problem too. Using Element on Windows 11. |
the search was always completely broken for the windows app. it can't find even a single or any messaged word directly shown below. |
funny, for me it only worked on my windows install |
I have this issue as well on Ubuntu 22.04 I pressed the reset button and it seems to be recaching my messages correctly for search. |
Have the same issue. Sometimes it works, but in the most use cases it does not. Windows 10 |
I have the same problem with v1.11.12 on ubuntu 22.04 I've not understood if there is workaround |
@Polve, see matrix-org/seshat#102 (comment) for the only known workaround. |
The EventStore directory on Windows does not respect the |
@bdrewery good spot, just made a PR to ensure EventStore is maintained per-profile |
I tend to get this error whenever Manjaro is updated, and it has never been solved with any of the fixes I've found; but it does get solved merely by uninstalling the app and installing it again. ¯\_(ツ)_/¯ |
@ManuelFte the manjaro package is community maintained, I suggest reporting it to them given I've not seen similar reports for the official packages |
I noticed those errors after upgrading from Fedora 36 to 37. The error was probably there before (the upgrade). Initially, I was getting:
After resetting the search index I am getting:
The versions I am currently using: Do you recommend me to re-install the app or maybe downgrade the version the some of the previous ones? |
Matrix was also down yesterday |
Windows 7x64, Element Desktop 1.11.17. What should I do to fix? |
Its back amon the living with the debian precompiled package Version von Element: 1.11.23 If I use the Arch-Version, element-desktop crash if search is enable ... |
I also have the error Version von Element: 1.11.23 |
I fixed this issue by shutting down element. I then deleted C:\Users\AAAAAA\AppData\Roaming\Element\EventStore and restarted the app. I then watched the indexes rebuild correctly under Settings / Security & Privacy / Message search / Manage. |
Search has been working for me for months, but this issue just happened to me today, how can I fix it? I use Element on Ubuntu 22.04 as an apt package from the Debian repo. |
Good to know but still such workarounds shouldn't be normality to use the software as intended |
I've reset my messages index after encountering the issue, and now have regular crashes probably related. Opened #932 for that. |
Just did this and now watching it rebuild my message index. Strange problem. |
My element desktop was perpetually stuck at "Message search initialisation failed: Unknown error". Removing This is with the offical element deb packages. |
I just found add |
I think the original issue is this one matrix-org/seshat#102 |
well the problem is with sqlcipher sqlcipher/sqlcipher#385 |
I also hit this issue on element-desktop, Ubuntu Linux 20.04 LTS.
My package is installed via
Whereas
In my case the error in "Message search" section of Settings is "Unknown error." I haven't tried resetting the index. It affects E2E encrypted DMs, not un-encrypted rooms. |
Steps to reproduce
What happened?
What did you expect?
Search works.
What happened?
I see a message saying "Message search initialisation failed, check your settings for more information".
Operating system
Windows 10 x64
Application version
Element version: 1.8.2, Olm version: 3.2.3
How did you install the app?
winget install element
, subsequently upgraded within ElementHomeserver
matrix.org
Have you submitted a rageshake?
No
The text was updated successfully, but these errors were encountered: