thunderbug1 / LibreChatAzureDeployment

A Terraform setup to deploy LibreChat to Azure and setup all the necessary services.
MIT License
31 stars 24 forks source link

Error Cannot read properties of undefined (reading 'conversationId') after deployment #13

Open bijunorderia opened 5 months ago

bijunorderia commented 5 months ago

Hi,

Thanks for creating this useful addition to the already awesome Librechat.

My deployment was smooth without errors, however when I open the URL, I get the following error.

TypeError: Cannot read properties of undefined (reading 'conversationId') at https://lxxxxxx.azurewebsites.net/assets/index-kznUAxii.js:1:3826 at Array.reduce () at Pl (https://lxxxxxx.azurewebsites.net/assets/index-kznUAxii.js:1:3800) at https://lxxxxxx.azurewebsites.net/assets/index-kznUAxii.js:37:77779 at Object.HR [as useMemo] (https://lxxxxxx.azurewebsites.net/assets/vendor-B_6jzxSQ.js:38:23931) at Wt.useMemo (https://lxxxxxx.azurewebsites.net/assets/vendor-B_6jzxSQ.js:9:6208) at ym (https://lxxxxxx.azurewebsites.net/assets/index-kznUAxii.js:37:77767) at EE (https://lxxxxxx.azurewebsites.net/assets/vendor-B_6jzxSQ.js:38:19548) at Uy (https://lxxxxxx.azurewebsites.net/assets/vendor-B_6jzxSQ.js:40:3139) at gN (https://lxxxxxx.azurewebsites.net/assets/vendor-B_6jzxSQ.js:40:44833)

I have used the default CosmosDB configuration, do I need to do something to populate the DB with a schema??

thunderbug1 commented 5 months ago

No there shouldn't be any init steps necessary. To me it looks like an error that is cause by a newer version of librechat, can you please open an issue there?

ottodeng commented 5 months ago

same encounter this issue.

elolivier-nxp commented 5 months ago

@bijunorderia / @ottodeng did you solved the issue? I'm facing the same and didn't see an issue in Librechat related to this behaviour, also deployed locally the same Librechat image that is been used here and it works.

bijunorderia commented 5 months ago

I found an alternate repo which works. https://github.com/Pwd9000-ML/terraform-azurerm-openai-private-chatgpt

PedroGruvhagen commented 3 months ago

@bijunorderia perfect, many thanks!