nextjs-subscription-payments icon indicating copy to clipboard operation
nextjs-subscription-payments copied to clipboard

Automatic deployment fails during Supabase Integration

Open BarnDotCom opened this issue 1 year ago • 7 comments

I have tried a couple of automatic deployment approaches and run into issues both times. The docs allude to failures in the process so I guess it isn't that surprising, but I thought it worth detailing what I discovered in case there is something simple I'm missing.

In the first case, I'm using a Supabase organization that is "Managed by Vercel Marketplace" with the "Pro" plan and my credit card data stored on the Vercel side for the Supabase usage. When I get to the "New Project" modal and enter the project name and generate a DB password, I immediately get a status message that says "Project creation for this Vercel managed distribution is disabled in the Supabase dashboard”.

I don't see an obvious place to "enable project creation". I do see that on the Vercel side both Read & Write" are checked:

image

My second approach was to try and use an unmanaged Supabase Org that I set up myself. In this case things proceeded a bit further - I see a status message that says “Done fetching initial migrations”) but then it says “Could not sync environment variables..project not found.”

I do notice that on the Supabase side the project is still "coming up". Perhaps this is why things can't sync?

Any insights appreciated!

BarnDotCom avatar Sep 03 '24 19:09 BarnDotCom