Stuck on Initializing database
mbronze opened this issue · comments
Hi Jorge
Thanks for the excellent work.
I follow all the steps to get unSAGED running on Docker but it get stuck on Initializing database
https://chatbot.digitaldevices.ca/
The docker log don't give much information.
_unsaged_logs.txt
The supabase logs show some requests
supabase_logs.csv
But I can't figured out the issue.
Do you have any idea what the problem is?
Thanks
Thank you for reporting this!
It seems like there was an issue with the Dockerfile config and unSAGED could not read the supabase URL. I fixed this issue with this update and also added a new option to log the env variables to make sure that they are all correct. Env variables in docker are tricky and we have to remove quotemarks, new lines, etc before being able to use them.
We attempt to fix and clean the vars automatically, but there is always the chance that something goes wrong.
You can set the following env variable in .env.local
to see the server-side vars on the terminal, and the client-side vars on the console:
NEXT_PUBLIC_DEBUG_MODE=true
Let me know if you run into any more issues.
You nailed it!
work like a charm!
Excellent Work,
Thank you so much