Logs & Analytics in self hosted ?
I was wondering why in Supabase self hosted,
Logs & Analytics section is empty (for every tabs) ?
I mean, logs are stored in volumes (and are pretty huge), but why I can't access them ?
Thx for help !18 Replies
Are you running instance on coolify/dokploy?
Nop, with docker compose only (in VPS)
But its actually the same no ?
You must be using some old version. I tried just now and its working fine.
During the time, the docker compose from supabase changed, but I have the latest one :
https://github.com/recomendapp/supabase/blob/main/docker-compose.yml
GitHub
supabase/docker-compose.yml at main · recomendapp/supabase
Contribute to recomendapp/supabase development by creating an account on GitHub.
Seems pretty weird..
I will try it locally later and get back to you.
But a quick glance and its not latest. A few image versions were updated a couple of days ago.
Were the logs present before?
Ive actually never seen any logs in the Supabase web ui
Im gonna try update all image to see
Try on a new instance first.
I have noticed in the past when updating analytics image it causes issues with already running projects.
I think the img versions you have now should've worked but will test it later
Will let you know if things can work with any config changes
There is an issue with edge function logs and cron logs but other logs work with the current versions
Np ive update my production setup directly ahah, its working !
So I guess its new feature (I means seen anayltics in supabase dashboard self hosted)
because the last 2 years, wasnt working...
There were some versions before where this was an issue
I have only been self hosting supabase since last one year so don't know about things before that
Well, lot of red stuff 😅

Np, thx a lot for your help !
Logs were always stored. The issue was just with dashboard.
They are stored in _supabase db analytics schema
You will still see issues with edge function and cron logs so you can look at them directly in _supabase db
Also just a heads up with the current studio image, there is an issue with uploads from storage tab
Sdk works fine. This is a dashboard issue.
Okay, thx for the info (in my case I only upload throught api)
last little question, is it normal for not having any logs in realtime ?

I guess bc I use
broadcast instead of realtimeI remember fixing this issue and I made a note about this somewhere. Will get back to you after I get home
This is not because of broadcast that I can assure you
@loup Replace this line https://github.com/supabase/supabase/blob/master/docker/volumes/logs/vector.yml#L36 with this
This should work
Yes working great ! thx again