Hausik
02/07/2022, 11:43 AMsilentworks
02/07/2022, 11:49 AMKazungu Safari
02/07/2022, 11:56 AMAmusedGrape
02/07/2022, 1:27 PMAmusedGrape
02/07/2022, 1:28 PMKazungu Safari
02/07/2022, 1:49 PMAmusedGrape
02/07/2022, 2:13 PMrepomaa
02/07/2022, 6:51 PMrepomaa
02/07/2022, 6:52 PMrepomaa
02/07/2022, 6:52 PMsimongreenuk
02/07/2022, 8:30 PMnuxt-config.js
but this seems like it's probably a bad idea...nick3030
02/07/2022, 8:35 PMnick3030
02/07/2022, 8:44 PMjoshcowan25
02/07/2022, 8:44 PMnick3030
02/07/2022, 8:47 PMordre[1]
, no?silentworks
02/07/2022, 9:01 PMjoshcowan25
02/07/2022, 9:30 PMwilsoncusack
02/07/2022, 10:02 PMSpinney
02/07/2022, 11:29 PMdocker-compose -f docker-compose.yml -f ./dev/docker-compose.dev.yml up
using default .env details. Everything works great until one of the containers tries to query the database when I get the following:
prolog
supabase-rest | An error ocurred when trying to query database settings for the config parameters
supabase-rest | ConnectionError (Just "connection to server at \"db\" (172.19.0.4), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n")
supabase-rest | Attempting to connect to the database...
supabase-rest | {"details":"connection to server at \"db\" (172.19.0.4), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n"}
...
supabase-auth | level=fatal msg="running db migrations: Migrator: problem creating schema migrations: couldn't start a new transaction: could not create new transaction: failed to connect to `host=db user=postgres database=postgres`: dial error (dial tcp 172.19.0.4:5432: connect: connection refused)"
I'm pretty new to all of this (and especially docker) so I don't know what to try next. No error logs. I'm on Debian 11 on Digitalocean, but I also tried the one-click docker image on Ubuntu 20.04 and got the same issue. I don't think there are any firewall entries besides the ones docker has made. Don't see any relevant issues on Github, and can't find any good tutorials on how to properly self-host on a dedicated vps (besides the catch-all self-hosting docs). Any suggestions? I feel like I'm probably just missing something stupid š¦ Since I'm still using default .env I shouldn't have to make any updates to docker-compose.yml right?user
02/08/2022, 12:54 AMjwarshack
02/08/2022, 1:31 AMconst { data, error } = await supabase.storage
.from('images')
.list('test')
garyaustin
02/08/2022, 2:01 AMjwarshack
02/08/2022, 2:02 AMgaryaustin
02/08/2022, 2:07 AMLeoSonnekus
02/08/2022, 2:47 AMzander
02/08/2022, 7:10 AMtitle
column is text
and tags
column is text[]
. I would like to query them both using the or
filter to see if a given searchTerm
was there. Is this possible?
js
const response = await supabaseClient
.from('items')
.select('*')
.or(
`title.ilike.%${searchTerm}%,tags.cs{${searchTerm}}`
)
The above example does not work.. any ideasCognusBoi
02/08/2022, 8:37 AMsearchTerm
a string or an array?madx
02/08/2022, 8:59 AMzander
02/08/2022, 9:24 AMsearchTerm
is a stringzander
02/08/2022, 9:27 AMjson
{
"reason": "Problem fetching feed",
"error": "\"failed to parse logic tree ((title.ilike.%reading%,tags.cs{reading}))\" (line 1, column 43)"
}