element-desktop icon indicating copy to clipboard operation
element-desktop copied to clipboard

Can't search messages - Message search initialisation failed

Open Denuro opened this issue 1 year ago • 2 comments

Steps to reproduce

Search for messages in rooms aren't working. I'm getting the erro Message search initialisation failed in settings, the advanced dropdown only shows Unknown error, and when clicking the reset event store button, it loads for less than a second, and the same error appears again

Outcome

What did you expect?

To be able to search for messages in rooms

What happened instead?

Can't search for messages in rooms. In a few rooms, it looks like it find very recent messages, but nothing else.

Operating system

Linux Mint 21.3

Application version

Element version: 1.11.71 Crypto version: Rust SDK 0.7.1 (80a151e), Vodozemac 0.6.0

How did you install the app?

From https://element.io/download#linux, using the official repo

Homeserver

Synapse 1.107.0

Will you send logs?

Yes

Denuro avatar Aug 14 '24 12:08 Denuro

Same here.

dreirund avatar Aug 17 '24 09:08 dreirund

I have the same problem - Element 1.11.78 on Arch Linux

enzingerm avatar Sep 26 '24 09:09 enzingerm

Any updates here? This is still going on with 1.11.82, Snap on Ubuntu 24.

lanerussell avatar Nov 12 '24 17:11 lanerussell

@lanerussell we don't maintain the snap, you should reach out to its own maintainers

t3chguy avatar Nov 12 '24 17:11 t3chguy

Okay, I can do that. Are there any updates to this issue for the Element-managed packages?

lanerussell avatar Nov 12 '24 17:11 lanerussell

@lanerussell @enzingerm @dreirund @Denuro

I've fixed a bug that was causing the reset button not to work, so this part of the issue:

when clicking the reset event store button, it loads for less than a second, and the same error appears again

In this PR, so hopefully that at least gets you back working again.

langleyd avatar Feb 10 '25 17:02 langleyd

@langleyd The reset button fix worked for me. Did a cache reset, a new index was created, and the search is working after that. I'm in version 1.11.92. Thanks!

Denuro avatar Feb 12 '25 12:02 Denuro