Bucket deleted via the dashboard led to orphan files
Dear Supabase,
A week ago, I deleted multiple bucket using the dashboard. While I saw the warning "Deleting objects should always be done via the Storage API and NOT via a SQL query. Deleting objects via a SQL query will not remove the object from the bucket and will result in the object being orphaned.", I thought the dashboard was using the storage API, but my files seem to be orphaned.
Is there any way to delete those files ?
8 Replies
The dashboard uses the storage API to delete. It even warns you if the bucket that you try to delete is not empty and then it empties it itself.
How do you know there are orphaned files?
I have the following storage threshold

While I don't have any buckets anymore :/
Look at the date below the bar charts. It is showing how much you have used over that period, so even if you deleted them now they weren't deleted during that time.
Ok, so the graph is not updated if I don't have storage usage. Thanks for the answer 🙇♂️
The last date on that bar chart is 30 Oct, today is the 4 Nov. It will likely update, but hasn't as yet. Also if you maxed your quota during your billing period that quota doesn't get reset until your next billing period.