Open vhpx opened 2 weeks ago
It keeps restarting on its own, I'm significantly slowed down in development due to this bug.
Update: reverted PostgREST to v12.0.2 and monitored for about 30 minutes, seems like the bug has been resolved on the earlier version. I think PostgREST v12.1 isn't stable to be used yet for my development flow.
Thanks for reporting this. I will ping PostgREST team to check if there's a fix.
Does the error happen on your hosted project or just local?
Looks like staging is unaffected, so I'm assuming it only happens on local for now. I'll closely monitor my hosted instance if it happens there.
postgrest/postgrest │ v12.1 │ v12.1
Hm, PostgREST hasn't yet released v12.1, check https://hub.docker.com/r/postgrest/postgrest/tags. Latest release is v12.0.3.
@sweatybridge Could you clarify from where is the v12.1 coming?
Tried grepping for the code but I got this which says v12.0.1 https://github.com/supabase/cli/blob/c5febaf8c6dbcaeda44e85a12a66715bfc4809fd/internal/utils/misc.go#L33
v12.1
is an alias for devel
tag that's published only in supabase ECR and GHCR. Docker hub doesn't have v12.1
, only devel
.
Hm, this should be corrected then:
postgrest/postgrest │ v12.1 │ v12.1
It's misleading since it doesn't come from postgREST upstream.
v12.1 is an alias for devel tag that's published only in supabase ECR and GHCR
@sweatybridge How can I introspect those dockerfiles?
2024-06-03 16:17:58 Assertion failed: *(&once->n) != 4 (threads.c: k5_once: 564)
This error is coming from kerberos(ref), which is a C library. It could be an issue with how the image is built.
Since user is having problem on windows and not hosted, this error might be only specific to amd64 image of PostgREST. The v12.1 tag is available here https://github.com/supabase/cli/pkgs/container/postgrest/223414607?tag=v12.1
May be you can inspect it after docker pull ghcr.io/supabase/postgrest:v12.1
Probably related: https://github.com/PostgREST/postgrest/issues/3569
Any fixes for this? I cant start my local environment with this error
@guigzp for now, change the value in supabase/.temp/rest_version to v12.0.2
and restart local cli, it should work as a temporary fix.
This is already fixed upstream. It should be solved here after https://github.com/supabase/postgres/pull/1003 is merged.
Changing supabase/.temp/rest_version to v12.0.2 solved but I had to use version 1.150.0 of the CLI as the latest was not working for me.
Describe the bug
Supabase PostgREST docker container logs:
Which makes Next.js unable to produce development output when developing using
pnpm dev
, and returns the following error in the console:and the error that prevented the development build output:
System information
Versions of services: