Replies: 2 comments 1 reply
-
Solved the extensions.vector thing by following this thread: supabase/supabase#13337 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! I also have a problem with self deployed supabase and FE on azure. I'm getting CORS error while trying to upload the file. I fixed the problem with PG Vector. Any ideas? I'm also running a nginx proxy.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I've been working on self hosting this entire project for a little while and I just thought to document the things I've had to do in case any of you guys find it helpful.
I followed the instructions here to self host Supabase. Although whenever it says to restart the database, I just ran the uninstall and reinstall scripts.
For creating JWT_SECRETS, use Bitwarden or, what I did, was create a random Supabase project and use those keys and then delete the project. If u run into
JWSError JWS Signature
problems, your JWT_SECRET is probably not a valid JWT.For
db-url
, it is in this format:postgresql://postgres:PASSWORD@IP_ADDR:5432/postgres
if you follow the default configs. Use this withsupabase db push --db-url
in the client (this) codebase.For custom SMTP, you have to modify the values in the
.env
file in the database, note thatSMTP_SENDER_NAME, SMTP_ADMIN_EMAIL
are whatever you want it to be. For the signup email, I couldn't figure out how to specify the address (and more importantly, the port) for wherever it redirects to you when you click signup on Chatbot-UI, so I just reverse-proxied with nginx the database to go from port 8000 to default.To edit the default email template (which I didn't do), you seem to have to put your own HTML file from the database side.
Azure has a bunch of problems in Chatbot-UI, it seems like more work needs to be done on this end, also with
.env
API variables. If they are set, during onboarding those field should be closed and there's a problem with selected models / talking to Azure models with environment API keys.To allow file uploading and not get a weird
413 file size
error, in the database nginx config, I had to enableserver_names_hash_bucket_size 64
and it worked. Not sure why but there's a possible solution for you.There's some problems with infinite load spinners, solution being refreshing the page. Not really a big problem, but would be nice fix for UX
I've currently been running into an issue where
operator does not exist: extensions.vector <=> extensions.vector
in the database when I try and talk to a document that I uploaded, and I think that the database doesn't havepgvector
installed properly: on the dashboard when I toggle the vector extension, it gives me a weird undefined error. I've tracked it down to thematch_file_items_local
function in Postgres.Beta Was this translation helpful? Give feedback.
All reactions