-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Local Supabase Studio development shows 500 errors when trying to view logs #18891
Comments
I'm impacted by both bugs described here. |
Honestly I think the logs are more critical than the triggers not showing. We can still see the triggers through SQL queries (even though this is not an ideal solution/experience). |
I'm also getting error 500 on logs page. Is this currently being worked on? |
Hi guys - Are you having issues creating tables from using the Table Editor as well locally? |
Not in my case. I can perform every other action except for logs. |
I also have no issues creating tables and rows. Even the trigger erros seem to have been fixed in one of the latest versions. I only have issues viewing the logs which are still showing a 500 error |
We're also running into this issue. @kaumac, curious if you (or anyone else) have figured out a solution for this. Thanks! |
Hi @kaumac, @joshling1919, Can I know to which port of |
Not sure I understand, do I need to make those changes on Docker? |
Also do I need to get an api key for this? Or "api-key" string works?
|
Honestly I feel like there's a lack of interest from supabase on the selfhosted stack. You can tell from the lack of features that you have on the hosted app. This would be totally understandable (after all the selfhosted app doesn't bring in any money), except that the self hosted stack is a critical part of a mature/production app. I develop locally and afterwards deploy to staging and production which are cloud (paid for) apps. Supabase is such a great platform, you can tell there's a lot of hard work done on the cloud app, but I must say that the local development feels unpolished and somewhat painful to work with. |
I have just written a Function and Trigger that was not working. Even the error message was blank in development/local. I had to create a migration, deploy the migration to production (cloud/hosted app) just to see the error message and logs, then fix it on my local stack and create a migration with the fix. The logs are very critical and I feel like they are not being given the attention they should 🙁 |
Feel free to create an issue in this repo. We will check and update it soon.
Can you create another ticket for this issue? It has been resolved in the master code, and the release will be available soon. |
If it helps anybody... As mentioned above, to have logs locally, you need to edit config.toml and enable analytics:
Important! After enabling, you need to restart supabase: |
I will close this as it is answered here and in the documentation. Please comment (or open a PR) if you think it could be made clearer and we can re-evaluate! |
in the documentation there it is called: LOGFLARE_SINGLE_TENANT_MODE and in the example docker-compose it is called LOGFLARE_SINGLE_TENANT |
@stefanstidlffg Thanks for calling that out, anyone is welcome to make a PR to make this clearer in the docs and align with the compose file. If not, I will do it later this week. |
Bug report
Describe the bug
Supabase Studio for local development flow is not reliable at all.
It's really hard to develop on a development/staging/production environment when the local development environment is so unstable. I'll need to either develop directly on production or look for a different solution.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
supabase start
Expected behavior
I should be able to see all triggers, no matter if I create it through a query or through the dashboard/ui.
I should be able to see the postgres logs on the dashboard.
Screenshots
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: