jorge-menjivar / unsaged

Open source chat kit engineered for seamless interaction with AI models.

Home Page:https://unsaged.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blank Page Issue with Latest Build in Docker Environment

mbronze opened this issue · comments

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

@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

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

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