jorge-menjivar / unsaged

Open source chat kit engineered for seamless interaction with AI models.
https://unsaged.com
Apache License 2.0
248 stars 77 forks source link

Blank Page Issue with Latest Build in Docker Environment #151

Closed mbronze closed 8 months ago

mbronze commented 8 months ago

Hi Jorge,

I encountered an issue with the latest build: it compiles and runs in Docker, but accessing the server only loads the database and conversations partially before showing a blank page. No login screen appears. The logs indicate all models as "Not implemented."

Could this be a configuration miss on my end or a bug in the code?

Thanks for your help,

Mario

Bortus-AI commented 8 months ago

@mbronze I am not able to reproduce this. Can you share the console logs from your page via chrome developer page. Once on the unsaged page right click and click inspect and then click the console tab

mbronze commented 8 months ago

sure, here is;

chatbot.digitaldevices.ca-1702948766019.log

Bortus-AI commented 8 months ago

Invalid API key', hint: 'Double check your Supabase anon or service_role API key.'}

Did you have the supabase variables set in the .env.local prior? This usually happens when the .env.local is not present in the apps/unsaged folder prior to building the docker image

mbronze commented 8 months ago

Found the problem not on the .env.local but on Portainer Stack the env variables for supabase not copied properly. I guess it override the variables set on the .env.local of the build. To avoid issues we should just place the env variables in one place or .env.local on root or portainer stack (Docker Compose). Working good now. Thank you Very Much