Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supabase service not healthy error #1424

Closed
jaimejim opened this issue Feb 10, 2024 · 3 comments
Closed

Supabase service not healthy error #1424

jaimejim opened this issue Feb 10, 2024 · 3 comments

Comments

@jaimejim
Copy link

I am getting this pesky error
service not healthy: [supabase_pg_meta_chatbotui supabase_studio_chatbotui]

I can only think of reinitializing the db but I would like to know if someone else has faced it too.

@ochen1
Copy link
Contributor

ochen1 commented Feb 11, 2024

Run supabase start or sudo supabase start again. This will start the database.

However, I'm somewhat confident that you are experiencing a migration issue and need to follow the instructions in the referenced comment: #1095 (comment)

And then, run migration again by running a command here: #1330 (comment)

@jaimejim
Copy link
Author

jaimejim commented Feb 12, 2024

Thanks!! The error is actually form the supabase start cli command. --debug does not provide more clues and using sudo still yields the same error.

I did a clean git clone installation, with no migration from the chat-ui legacy and I still get the same error, here are more details:

supabase_pg_meta_chatbotui container logs:

> @supabase/[email protected] start
> node dist/server/server.js

Segmentation fault

> @supabase/[email protected] start
> node dist/server/server.js

Segmentation fault

> @supabase/[email protected] start
> node dist/server/server.js

Segmentation fault

> @supabase/[email protected] start
> node dist/server/server.js

Segmentation fault

> @supabase/[email protected] start
> node dist/server/server.js

Segmentation fault

> @supabase/[email protected] start
> node dist/server/server.js

Segmentation fault

> @supabase/[email protected] start
> node dist/server/server.js

Segmentation fault

> @supabase/[email protected] start
> node dist/server/server.js

(node:19) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use `node --trace-warnings ...` to show where the warning was created)
Segmentation fault
supabase_studio_chatbotui container logs:
  ▲ Next.js 13.5.6
  - Local:        http://localhost:3000
  - Network:      http://0.0.0.0:3000

 ✓ Ready in 763ms
  ▲ Next.js 13.5.6
  - Local:        http://localhost:3000
  - Network:      http://0.0.0.0:3000

 ✓ Ready in 408ms
  ▲ Next.js 13.5.6
  - Local:        http://localhost:3000
  - Network:      http://0.0.0.0:3000

 ✓ Ready in 454ms
  ▲ Next.js 13.5.6
  - Local:        http://localhost:3000
  - Network:      http://0.0.0.0:3000

 ✓ Ready in 385ms
  ▲ Next.js 13.5.6
  - Local:        http://localhost:3000
  - Network:      http://0.0.0.0:3000

 ✓ Ready in 369ms
service not healthy: [supabase_pg_meta_chatbotui supabase_studio_chatbotui]
Try rerunning the command with --debug to troubleshoot the error.

@jaimejim
Copy link
Author

jaimejim commented Feb 12, 2024

So, disabling "Use Virtualization framework" (as described here ) in Docker allowed me to start it but now I get another login bug. Also documented for intel macbooks on the supabase website.

  metadata.metadataBase is not set for resolving social open graph or twitter images, using "http://localhost:3000". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase
  app/[locale]/login/page.tsx (45:12) @ Login
  Error: JSON object requested, multiple (or no) rows returned
    at Login (./app/[locale]/login/page.tsx:51:19)
  43 |
  44 |     if (!homeWorkspace) {
> 45 |       throw new Error(error.message)
     |            ^
  46 |     }
  47 |
  48 |     return redirect(`/${homeWorkspace.id}/chat`)

Seems that this new issue is reported here too: #1377
Will attempt to fix based on instructions there and close this issue in the meanwhile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants