R
Railway10mo ago
Davo

Struggling to configure pgvector db

Hi, I have deployed the standard pg-vector template, but when I try and connect to it via psql like the following psql -d ${PGDATABASE} -h ${viaduct.proxy.rlwy.net} -p ${PGPORT} -U ${PGUSER} I get the following error psql: error: connection to server at, port failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. Maybe someone can advice the best way to connect to the db / if there is something I am doing wrong? Do I need to change any environment variables e.g.?
3 Replies
Percy
Percy10mo ago
Project ID: d05e4411-c585-4189-8d16-266533ab1b45
Davo
Davo10mo ago
d05e4411-c585-4189-8d16-266533ab1b45
Brody
Brody10mo ago
My apologies, this one is on me. I updated the template today, i had thought i also set the needed start command but it seems i didn't. Just fixed this so you can delete your current deploy and then go ahead and deploy the template again, sorry for the inconvenience!
Want results from more Discord servers?
Add your server