Project Setting Up Is Not Getting Completed

HI, I am trying to create a project in supabase. the project has been setting up for hours now. It is just showing "project is coming up". Can any one tell me what the problem is and how to fix it? #troubleshooting
No description
22 Replies
inder
inder5w ago
Is this project in ap-south-1 region?
Novient.ai
Novient.aiOP5w ago
Yes, is that the problem?
inder
inder5w ago
another user reported the same issue. same region https://discord.com/channels/839993398554656828/1419616636406857769 can you check if your instance is running now? I tried a new project and it was setup successfully. If its not setup, then delete it and setup a new one
Novient.ai
Novient.aiOP5w ago
You can use the management api for this. You'll need to generate a supabase access token. Make sure that you're using the project ref of the new project which is stuck as this will delete the project and is irreversible
curl -H 'Authorization: Bearer <ACCESS_TOKEN>' -X DELETE https://api.supabase.com/v1/projects/<PROJECT_REF>
curl -H 'Authorization: Bearer <ACCESS_TOKEN>' -X DELETE https://api.supabase.com/v1/projects/<PROJECT_REF>
Where to put this code?
inder
inder5w ago
This is a curl request. You run this in terminal. Have you generated a token?
Novient.ai
Novient.aiOP5w ago
Yes
inder
inder5w ago
Yes simply run this command in terminal and this will delete the project which is stuck at setting up. This is irreversible so if you have any data in this project it will be lost Token looks like this sbp_xxxxxxxxxxxxxxxxx and make sure to add your project id in the url
Novient.ai
Novient.aiOP5w ago
Sure, I will run this code and let you know
inder
inder5w ago
Please delete this msg You should not expose your token It gives admin access to anyone I'd suggest to first delete this token and create a new one as its been exposed
Novient.ai
Novient.aiOP5w ago
Yes i know that, I hid the last few numbers.
inder
inder5w ago
Ok Share the error msg
Novient.ai
Novient.aiOP5w ago
i figured out the code. I deleted the project
inder
inder5w ago
Curl Request was successful? Or did you delete from dashboard
Novient.ai
Novient.aiOP5w ago
The curl request was successful And Now I tried creating the project again.
inder
inder5w ago
Working now?
Novient.ai
Novient.aiOP5w ago
The set up got over and it's ready now
inder
inder5w ago
Great!
Novient.ai
Novient.aiOP5w ago
Thanks a lot inder
inder
inder5w ago
No problem
garyaustin
garyaustin5w ago
So to summarize...
You can delete a project stuck in setup with the Admin REST API but not the dashboard...
inder
inder5w ago
Its disabled when stuck I noticed that when I try to delete a project that is stuck, the api returns an error "project can't be deleted." This occurs for projects that were initially set up but became stuck. After some time, however, I am able to successfully delete the project. Makes me wonder if its a dashboard issue not showing the true state of the project.
Novient.ai
Novient.aiOP4w ago
The dashboard was blank for me. It didn't got loaded. You can see the first picture that I attached in the chat. That's why I used the RestAPI

Did you find this page helpful?