Skip to content
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

Search doesn't work #118

Closed
lucius346346 opened this issue Apr 22, 2024 · 5 comments
Closed

Search doesn't work #118

lucius346346 opened this issue Apr 22, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@lucius346346
Copy link

Search doesn't seem to work for me in either web or mobile version.

App details:
App version: 0.12.2 (release) (latest release docker image from ghcr.io)

Steps to Reproduce:

  1. Type any character in searchbox
  2. "No bookmarks" shows up

Logs:
_hoarder-meilisearch-1_logs.txt

@MohamedBassem
Copy link
Collaborator

Hey, this could indicate multiple things:

  1. The worker container is failing to index in meilisearch. You should find errors in the worker container if that's the case.
  2. You lost your meilisearch index (are you sure you have it on a persistent storage?)

If you broke your search index, you can trigger a reindex from the admin panel, it should be extremely fast. However, let's try to figure out what happened as well to prevent it from happening again.

@lucius346346
Copy link
Author

  1. It doesn't seem to be any error, only: 2024-04-22T08:09:15.063Z info: [search][542] Completed successfully
  2. Index seems to exist:
    image

Unfortunately, reindexing did nothing.

@MohamedBassem
Copy link
Collaborator

MohamedBassem commented Apr 22, 2024

Maybe the web container is failing to talk to meilisearch? Do you have anything special in your .env setup? Is the meilisearch master key and address correctly propagated to the web container?

@lucius346346
Copy link
Author

I didn't change much - only volume paths and default port.

Here's my config:
env.txt
docker-compose.txt

@MohamedBassem
Copy link
Collaborator

would you be interested in hopping onto discord for a more interactive debugging session? 😅

@MohamedBassem MohamedBassem added the bug Something isn't working label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants