Railway deployment: "warn: Meilisearch error, search will be disabled" #1680
-
What happened?I get this error message as soon as I deploy my app to Railway. I also get a "error: [indexSync] error fetch failed" after this. SEARCH=true Am I missing something? Steps to Reproduce
What browsers are you seeing the problem on?Chrome Relevant log outputwarn: Meilisearch error, search will be disabled ScreenshotsCode of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
likely cannot connect to the Meilisearch server. I can't comment without taking a dive into the config when I get the chance. I did not setup Railway but maybe @berry-13 can comment on this. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Ah, okay. My MEILI_HTTP_ADDR variable in the meilisearch app is currently set to [::]:3331. I guess I have to change that to the actual host url. |
Beta Was this translation helpful? Give feedback.
-
Nevermind. I hard coded the meilsearch host URL onto the MEILI_HOST var and it worked. Thank you! |
Beta Was this translation helpful? Give feedback.
Sorry, that's my fault. I forgot to add the
MEILI_HOST
variable in the LibreChat deployment. Please add a variableMEILI_HOST
with the value${{🔎 meilisearch.MEILI_HTTP_ADDR}}
After that, make sure the .env file looks something like this: