[Bug]: Message.syncWithMeili and Message.syncWithMeili "not a function" #1506
-
What happened?On Ubuntu 20.04.6, manual installation, latest version, nothing dockerised. Meilisearch running production with master key Startup Logs : Search Error Log API Response for GET GET /api/search?q=Shop&pageNumber=1' Steps to ReproduceInstall Librechat and Meilisearch manually What browsers are you seeing the problem on?No response Relevant log outputNo response ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Can you share the logs in /api/logs concerning this? Likely a connection error to meilisearch |
Beta Was this translation helpful? Give feedback.
-
Hi. I have same problem. When trying to start docker container, the server throws an error: Here the message that i got from /api/logs/error-2024-01-07.log:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for reporting this. Adding back to issues as I've identified what was causing it. For some reason, mongoose's execution order is starting before the Adding |
Beta Was this translation helpful? Give feedback.
Thanks for reporting this. Adding back to issues as I've identified what was causing it.
For some reason, mongoose's execution order is starting before the
.env
file is loaded. There was nothing that should've changed this, but adding more operations at server initialization may have had this unintended effect on the call stack.Adding
require('dotenv').config();
to top of /server/index.js fixes this