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

Problems with Supabase Service again [see issue #95 for ongoing fix] #96

Closed
Ohmsnipe opened this issue Apr 24, 2024 · 3 comments
Closed

Comments

@Ohmsnipe
Copy link

Ohmsnipe commented Apr 24, 2024

Describe the bug
Firstly your skript says "run in --debug mode for more information". But your parameter is "--tail" described correctly on your webpage but wrong information in skript.

I installed Supabase via .deb. and face this issue now: ( i again added a echo $output after the supabase start)

xxx:~/Desktop/tracecat$ bash services.sh start --env prod --tail
Environment: prod
Using command 'docker compose -f docker-compose.yaml -f docker-compose.prod.yaml'.
Starting Tracecat application setup...
No .env file detected. Running setup.
We recommend using ngrok https://ngrok.com/ to set up a static domain for your Runner URL.
Enter the Runner URL (required, e.g., https://your-ngrok-static-domain.ngrok-free.app):https://worthy-still-camel.ngrok-free.app
Enter your OpenAI API key to use AI functionality (optional, press Enter to skip):
Enter your Resend API key to use Email functionality (optional, press Enter to skip):
Generating new service key and signing secret...
Generating a Fernet encryption key for the database...
Creating new .env from .env.example...
Initializing Supabase services...
                                                                           ⡿ Sta                                                                      ⣷ Starting                     ⣻ Starting sysl                                                            ⣟ Starting syslog dr                                                       ⣾ Starting syslog driver.                                                                   ⡿ Sta                                                                      ⣷ Starting             ⣻ Starting sysl                                                            ⣟ Starting syslog dr                                                       ⣾ Starting syslog driver.                                                           ⡿ Sta                                                                      ⣷ Starting     ⣻ Starting sysl                                                            ⣟ Starting syslog dr                                                       ⣾ Starting syslog driver.                                                   ⡿ Sta                                                                      ⣷ Starting                                                                 ⣻ Starting sysl                                                            ⣟ Starting syslog dr                                                       ⣾ Starting syslog driver.                                           ⡿ Sta                                                                      ⣷ Starting                                                                 ⣻ Starting sysl                                                            ⣟ Starting syslog dr                                                       ⣾ Starting syslog driver.                                   ⡿ Sta                                                                      ⣷ Starting                                                                 ⣻ Starting sysl                                                        ⣟ Starting syslog dr                                                       ⣾ Starting syslog driver.                           ⡿ Sta                                                                      ⣷ Starting                                                                 ⣻ Starting sysl                                                ⣟ Starting syslog dr                                                       ⣾ Starting syslog driver.                   ⡿ Sta                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                        ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                                ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                        ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                                    ⣯ Starting database.                                                            ⣻ Starting database.        ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                                            ⣻ Starting database.                                                            ⣯ Starting database.⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                    ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                            ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                    ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣯ Starting database.                                                        ⣻ Starting database.                                                            ⣯ Starting database.            ⣻ Starting database.                                                            ⣯ Starting database.                                                            ⣻ Starting database.                                                ⣯ Starting database.                                                            ⣻ Starting database.    ⣯ Starting database.                                                            ⣻ Starting database.                                                            ⣟ Setting up initial                                            ⣾ Setting up ini                                                                    ⢿ Setting up        ⣯ Settin                                                                            ⣽ Se                                                    ⢿ Setting up initial schema.                            ⣯ Setting up initial sch                                                            ⣽ Setting up initial                                                                ⡿ Setting up ini                                                                    ⣷ Setting up                                                                        ⣻ Settin                                        ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                                            ⣟ Setting up initial                                                                ⣾ Setting up ini                        ⢿ Setting up                                                                        ⣯ Settin                                                                            ⣽ Se                                            ⢿ Setting up initial schema.                                                        ⣯ Setting up initial sch        ⣽ Setting up initial                                                                ⡿ Setting up ini                                                                    ⣷ Setting up                                                        ⣻ Settin                                                                            ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                                            ⣟ Setting up initial                                        ⣾ Setting up ini                                                                    ⢿ Setting up    ⣯ Settin                                                                            ⣽ Se                                                    ⢿ Setting up initial schema.                        ⣯ Setting up initial sch                                                            ⣽ Setting up initial                                                                ⡿ Setting up ini                                                                    ⣷ Setting up                                                                        ⣻ Settin                                    ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                                        ⣟ Setting up initial                                                                ⣾ Setting up ini                    ⢿ Setting up                                                                        ⣯ Settin                                                                            ⣽ Se                                        ⢿ Setting up initial schema.                                                        ⣯ Setting up initial sch    ⣽ Setting up initial                                                                ⡿ Setting up ini                                                                    ⣷ Setting up                                                    ⣻ Settin                                                                            ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                                            ⣟ Setting up initial                                    ⣾ Setting up ini                                                                    ⢿ Setting up⣯ Settin                                                                            ⣽ Se                                                    ⢿ Setting up initial schema.                    ⣯ Setting up initial sch                                                            ⣽ Setting up initial                                                                ⡿ Setting up ini                                                                    ⣷ Setting up                                                                        ⣻ Settin                                ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                                    ⣟ Setting up initial                                                                ⣾ Setting up ini                ⢿ Setting up                                                                        ⣯ Settin                                                                            ⣽ Se                                    ⢿ Setting up initial schema.                                                        ⣯ Setting up initial sch⣽ Setting up initial                                                                ⡿ Setting up ini                                                                    ⣷ Setting up                                                ⣻ Settin                                                                            ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                                            ⣟ Setting up initial                                ⣾ Setting up ini                                                                    ⢿ Setting up                                                                        ⣯ Settin                                                                            ⣽ Se                                                    ⢿ Setting up initial schema.                ⣯ Setting up initial sch                                                            ⣽ Setting up initial                                                                ⡿ Setting up ini                                                                ⣷ Setting up                                                                        ⣻ Settin                            ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                                ⣟ Setting up initial                                                                ⣾ Setting up ini            ⢿ Setting up                                                                        ⣯ Settin                                                                            ⣽ Se                                ⢿ Setting up initial schema.                                                        ⣯ Setting up initial sch                                                            ⣽ Setting up initial                                                                ⡿ Setting up ini                                                                    ⣷ Setting up                                            ⣻ Settin                                                                            ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                                            ⣟ Setting up initial                            ⣾ Setting up ini                                                                    ⢿ Setting up                                                                        ⣯ Settin                                                                            ⣽ Se                                                    ⢿ Setting up initial schema.            ⣯ Setting up initial sch                                                            ⣽ Setting up initial                                                                ⡿ Setting up ini                                                            ⣷ Setting up                                                                        ⣻ Settin                        ⣟ Se                                                    ⣷ Setting up initial schema.                                                        ⣻ Setting up initial sch                                            ⣟ Setting up initial                                                                ⣾ Setting up ini        ⢿ Setting up                                                                        ⣯ Settin                                                                            ⣽ Se                            ⢿ Setting up initial schema.                                                        ⣯ Setting up initial sch                                                            ⣽ Setting up initial                                                                ⡿ Setting up ini                                                                    ⣷ Setting up                                        ⣻ Settin                                                                            ⣟ Se                        ⣯ Setting up initial schema..Seeding data supabase/seed.                                                              ⣽ Setting up initi                                                                  ⡿ Setting up i                              ⣷ Setting                                                                           ⣻ Sett                                                                             ⣟ S                                                 ⣷ Setting up initial schema                                                         ⣻ Setting up initial sc             ⣟ Setting up initia                                                                 ⣾ Setting up in                                                                     ⢿ Setting u                                                             ⣯ Setti                                                                             ⣽ S                                                     ⢿ Setting up initial schema                                                         ⣯ Setting up initial sc                                                             ⣽ Setting up initia                                             ⡿ Setting up in                                                                     ⣷ Setting u         ⣻ Setti                                                                             ⣟ S                                                     ⣷ Setting up initial schema                             ⣻ Setting up initial sc                                                             ⣟ Setting up initia                                                                 ⣾ Setting up in                                                                     ⢿ Setting u                                                                         ⣯ Setti                                         ⣽ S                                                     ⢿ Setting up initial schema                                                         ⣯ Setting up initial sc                                                             ⣽ Setting up initia                                                                 ⡿ Setting up in                         ⣷ Setting u                                                                         ⣻ Setti                                                                             ⣟ S                                             ⣷ Setting up initial schema                                                         ⣻ Setting up initial sc         ⣟ Setting up initia                                                                 ⣾ Setting up in                                                                     ⢿ Setting u                                                         ⣯ Setti                                                                             ⣽ S                                                     ⢿ Setting up initial schema                                                         ⣯ Setting up initial sc                                                             ⣽ Setting up initia                                         ⡿ Setting up in                                                                     ⣷ Setting u     ⣻ Setti                                                                             ⣟ S                                                     ⣷ Setting up initial schema                         ⣻ Setting up initial sc                                                             ⣟ Setting up initia                                                                 ⣾ Setting up in                                                                     ⢿ Setting u                                                                         ⣯ Setti                                     ⣽ S                                                     ⢿ Setting up initial schema                                                         ⣯ Setting up initial sc                                                         ⣽ Setting up initia                                                                 ⡿ Setting up in                     ⣷ Setting u                                                                         ⣻ Setti                                                                             ⣟ S                                         ⣷ Setting up initial schema                                                         ⣻ Setting up initial sc     ⣟ Setting up initia                                                                 ⣾ Setting up in                                                                     ⢿ Setting u                                                     ⣯ Setti                                                                             ⣽ S                                                     ⢿ Setting up initial schema                                                         ⣯ Setting up initial sc                                                             ⣽ Setting up initia                                     ⡿ Setting up in                                                                     ⣷ Setting u ⣻ Setti                                                                             ⣟ S                                                     ⣷ Setting up initial schema                     ⣻ Setting up initial sc                                                             ⣟ Setting up initia                                                                 ⣾ Setting up in                                                                     ⢿ Setting u                                                                         ⣯ Setti                                 ⣽ S                                                     ⢿ Setting up initial schema                                                         ⣯ Setting up initial sc                                                     ⣽ Setting up initia                                                                 ⡿ Setting up in                 ⣷ Setting u                                                                         ⣻ Setti                                                                             ⣟ S                                     ⣷ Setting up initial schema                                                         ⣻ Setting up initial sc ⣟ Setting up initia                                                                 ⣾ Setting up in                                                                     ⢿ Setting u                                                 ⣯ Setti                                                                             ⣽ S                                                     ⢿ Setting up initial schema                                                         ⣯ Setting up initial sc                                                             ⣽ Setting up initia                                 ⡿ Setting up in                                                                     ⣷ Setting up initial schema..supabase_analytics_tracecat container logs: warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20210322193905_rename_columns_for_mnesia_compatibility.exs:3: Logflare.Repo.Migrations.RenameColumnsForMnesiaCompatibility warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20210729161959_subscribe_to_postgres.exs:19: Logflare.Repo.Migrations.SubscribeToPostgres warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20210729161959_subscribe_to_postgres.exs:20: Logflare.Repo.Migrations.SubscribeToPostgres warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20210729161959_subscribe_to_postgres.exs:21: Logflare.Repo.Migrations.SubscribeToPostgres warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20210729161959_subscribe_to_postgres.exs:22: Logflare.Repo.Migrations.SubscribeToPostgres warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20210729161959_subscribe_to_postgres.exs:23: Logflare.Repo.Migrations.SubscribeToPostgres warning: an expression is always required on the right side of ->. Please provide a value after -> /opt/app/rel/logflare/lib/logflare-1.4.0/priv/repo/migrations/20230727111150_update_endpoint_query_language_de                     service not healthy: [supabase_analytics_tracecat] Try rerunning the command with --debug to troubleshoot the error.
Error encountered while starting Supabase:
Try rerunning the command with --debug to troubleshoot the error.

To Reproduce
Steps to reproduce the behavior:

...

Expected behavior

Installation should work. Getting started with the project is so difficult. I am slowly losing my will to try tracecat...

Screenshots

Desktop (please complete the following information):

  • OS: Linux Ubuntu

Additional context
I am using a static ngrok url with port 8001. Idk if this helps.

After every fail run the script can't get the secret key from supabase service. Thats why i delete all docker volumes of the project and all folders, before i start again. Hope this ensures to not get any bugs regarding a conflict between new and old installation try

@topher-lo
Copy link
Contributor

topher-lo commented Apr 24, 2024

@Ohmsnipe we hear you. That's why we're moving off Supabase: #95

This migration is our top priority: expect an update within the next week. We prioritized features over deployment and are fixing this friction now.

@Ohmsnipe
Copy link
Author

@Ohmsnipe we hear you. That's why we're moving off Supabase: #95

This migration is our top priority: expect an update within the next week. We prioritized features over deployment and are fixing this friction now.

Sounds promising. Thank you!

@topher-lo topher-lo changed the title Problems with Supabase Service again. Problems with Supabase Service again [see issue #94 for permanent fix] Apr 24, 2024
@topher-lo topher-lo changed the title Problems with Supabase Service again [see issue #94 for permanent fix] Problems with Supabase Service again [see issue #95 for ongoing fix] Apr 24, 2024
@daryllimyt
Copy link
Contributor

Closed by #106

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

No branches or pull requests

3 participants