Your app worked last week. Today nobody can log in, lists come back empty, and the browser’s Network tab shows failed requests to an address ending in supabase.co. Nothing in the code changed. Before you ask the AI builder to “fix the login”, check one thing: whether Supabase paused the project behind your app.
This guide covers apps that use a Supabase project you own, for example one you connected to Lovable or Bolt yourself. If your Lovable app runs on Lovable’s built-in backend (Lovable Cloud), Lovable’s docs say Lovable manages that infrastructure, including pausing, so this guide doesn’t apply to it. Tool pages: /fix/supabase, /fix/lovable, /fix/bolt.
Confirm it’s a pause, not a bug
A paused database takes everything that depends on it down at once. In an AI-built app, that can look like:
- Sign-up and login fail, even for accounts that worked before.
- Pages that list data show nothing, or show a loading spinner forever.
- Edge Functions and any feature that reads the database fail together.
- The Lovable or Bolt preview breaks the same way as the published site.
Two quick checks settle it:
- The Supabase dashboard. Open your organization and find the project. A paused project is marked as paused and offers a Resume project button.
- Your inbox. Supabase emails the project owner twice: a warning about a week before the pause, and a second message once the pause has happened (Supabase: Project Pausing). Search the account email you signed up to Supabase with, including spam.
If the project is active, the cause is somewhere else. Start with Lovable app not working for a symptom-by-symptom walk-through.
Why Supabase pauses Free projects
Pausing applies only to the Free plan. Supabase looks at database activity over the previous seven days, and a Free project that saw too few user queries in that window can be paused (Supabase: Project Pausing). Projects on Pro, Team and Enterprise plans are not paused for inactivity (Supabase KB: Do projects pause when inactive?).
The catch for small apps is that some activity may not be enough. Supabase’s docs say that typically a few user requests to the database each day over the previous week is enough to keep the project from being paused, and its knowledge base adds that this still isn’t assured. An app with a handful of testers, or one you only demo now and then, can drop under that line without you noticing.
Restore the project
Within the restore window, resuming is a dashboard action (Supabase: Project Pausing):
- Sign in to the Supabase dashboard.
- Pick the organization, then the paused project.
- Click Resume project and confirm.
Supabase says the project comes back in the state it was in when it was paused, with its data and configuration. That means the project URL and API keys your app was built with still belong to the same project, so you don’t need to paste new values into Lovable or Bolt just because of the pause.
The Free plan also has a limit of two active projects, counted across all organizations where you are an Owner or Administrator (Supabase pricing, Supabase: About billing). Paused projects do not count toward that limit.
How long you have
Under the current docs, you can resume a paused project from the dashboard for as long as 1 year from the pause date. Supabase explains the limit: backups are kept only for a set time, and platform changes may not work with old backups (Supabase: Project Pausing). An older changelog entry from June 2024 announced a 90-day window (Supabase changelog); the docs page is the current reference.
After resuming: test the app end to end
Don’t stop at “the dashboard says active”. Walk through the paths your users take, in this order:
- Sign up with a fresh email address. If the confirmation email doesn’t arrive, that’s a separate problem: see Supabase auth emails not sending.
- Log in with an existing account.
- Read data on the pages that showed nothing before.
- Write data: create, edit and delete one record. A write that fails with a policy error points to row level security, not the pause (new row violates row-level security policy).
- Call each Edge Function your app uses, such as checkout or AI features. If one returns an error, Edge Function non-2xx status code shows how to read the real response.
- Open the builder. In Lovable, More → Supabase shows the connected project’s name and health status (Lovable: Supabase integration). Lovable also says it can’t connect a project that is paused or still provisioning, so if you were reconnecting, retry once the project is active.
Resume stuck, or the project is still not responding
Supabase’s docs don’t give a restore duration, and this guide won’t guess one. If Resume project doesn’t complete, or the project stays in a pausing or restoring state well after you clicked it, collect the project reference (the ID in the project URL), the time you started the resume and any error the dashboard showed. Then open a ticket through Supabase support. Avoid deleting the project: once it is deleted, its data and backups are removed for good (Supabase KB: restore after 1 year).
Paused for more than a year
Once the window has passed, the dashboard can’t resume the project. What remains is a download-and-rebuild path that Supabase documents in its knowledge base (Supabase KB: restore after 1 year):
- From the paused project’s Project Overview, download the database
.backupfile from the Backups section, and the files in each Storage bucket. - Start a fresh Supabase project and set it up like the old one: extensions, webhooks, Realtime publications and similar settings.
- Restore the database into the new project with
psqland the Session pooler connection string from the Connect dialog. Unzip the backup first if it ends in.gz. Supabase says you can ignoreobject already existserrors at this step, since a fresh project ships with its default schemas in place. - Copy the Storage files across with the Supabase CLI, bucket by bucket.
- Copy Auth, Realtime, Storage and other settings with the Management API script in that article. The script deliberately leaves out some secret fields, including SMTP settings, the captcha secret and other credentials, so re-enter those by hand.
The new project has its own URL and keys, so after you restore into a new project, update your app’s Supabase settings in the builder or in your host’s environment variables to match it, then run the test list above. If those settings have changed for another reason, update them then too. For the restore itself and what to do if part of the data is missing, see AI agent deleted your database: recover it.
Stop it pausing again
Supabase names one way to rule pausing out: upgrade the organization to a paid plan from Billing Settings (Supabase: Project Pausing). Paid projects are not paused for inactivity.
Short of that, Supabase says two things count as activity once the warning email arrives: visiting the project’s dashboard page, and sending real requests to it, either API calls or traffic from your connected app. A scheduled job that pings the database is a homemade version of the second option. Supabase doesn’t offer it as a feature, and its knowledge base says light activity can still end in a pause, so treat it as a stopgap rather than a fix.
If you’re on Bolt, note that a new Bolt project uses a Bolt database by default. Claiming that database into a Supabase account makes it a Supabase project. On a Free Supabase plan, Free plan rules then apply to it, including inactivity pausing and turning off leaked password protection (Bolt: Supabase).
If the app needs to stay up, upgrading to a paid plan is the way Supabase documents to prevent inactivity pausing. The production readiness guide covers the other things to settle before launch.
Don’t confuse a pause with these
- A deleted project. The project is gone from the dashboard, not marked paused. See AI agent deleted your database.
- Changed or rotated API keys. The project is active but every request is rejected with an auth error.
- A row level security change. The project is active, some queries work, and specific tables return nothing or
permission denied. See Supabase RLS policies explained and permission denied for table (42501). - Lovable Cloud. If your app uses Lovable’s built-in backend, there is no Supabase project of yours to resume. If you’re moving off it, move off Lovable Cloud to your own Supabase explains the switch, and your new Free project will follow the pausing rules above.
FAQ
Will I lose my data when Supabase pauses my project?
Not within the restore window. Supabase says a paused project keeps its data and settings, and resuming brings both back.
How long can a paused project stay restorable?
One year from the pause date, according to Supabase’s current docs. The 90-day figure comes from a June 2024 changelog entry.
Why did my project pause when my app has users?
Supabase counts database activity over a week, and light use can fall below its threshold. Its docs describe a few user requests each day over that week as typically enough, without treating that as assured.
Can a paid project be paused automatically for inactivity?
No. Supabase’s docs and pricing page both say projects on paid plans are not paused for inactivity.
Do I need to republish my Lovable or Bolt app after resuming?
Supabase says the project returns with its data and configuration, so the connection settings your app was published with still point at it. Test the app first. If you restored into a new project, or if the settings have otherwise changed, update them.
When the app is back but still broken
If the project is active again and sign-in, data or functions still fail, the pause may have hidden a second problem: an expired key, an RLS policy, or an integration that lost its link. A senior engineer can trace the app from the browser through Supabase and get each path working again. Fixed price, agreed upfront.
Comments