Can’t Access Supabase Project When Using Lovable Cloud
问题 #
🌐 Problem
你可爱的项目已启用 Lovable Cloud,你正在尝试直接连接到你的 Supabase 项目。
🌐 Your Lovable project has Lovable Cloud enabled, and you’re trying to connect directly to your Supabase project.
但是,你在你的 Supabase 控制台 上看不到该项目,或者你无法通过你的 Supabase 账户访问它。
🌐 However, you don’t see the project listed on your Supabase Dashboard, or you’re unable to access it through your Supabase account.
为什么会发生这个 #
🌐 Why this occurs
当你创建一个连接到 Lovable Cloud 的项目时,背后的 Supabase 实例会完全由 Lovable 提供和管理。
🌐 When you create a project connected to Lovable Cloud, the underlying Supabase instance is provisioned and managed entirely by Lovable.
这些项目不属于你的 Supabase 账户,所以它们不会出现在你的 Supabase 控制台上,也无法使用你的 Supabase 凭证访问。
🌐 These projects are not owned by your Supabase account, so they don't appear on your Supabase Dashboard or be accessible using your Supabase credentials.
如何诊断 #
🌐 How to diagnose
如果你有以下情况,可能会受到影响:
🌐 You might be affected by this if:
- 你最近在 Lovable 上创建了一个项目,并通过聊天界面启用了后端。默认情况下,Lovable 平台使用 Lovable 云 来进行后端托管。
- 你会在项目的配置中看到 Supabase 的引用,但无法从你的 Supabase 控制台 访问该项目。
- 你在 Lovable 设置中使用的项目 ID 或凭证与你 Supabase 账户下的任何项目都不匹配。
怎么修 #
🌐 How to fix
没有自动化的方法可以将 Supabase 项目从 Lovable Cloud 转移到你自己的 Supabase 账号。
🌐 There is no automated way to transfer a Supabase project from Lovable Cloud to your own Supabase account.
不过,你可以手动克隆你的项目后台,并按照 Lovable 的官方指南迁移你的数据:自托管指南(Lovable 文档)
🌐 However, you can manually clone your project backend and migrate your data following Lovable’s official guide: Self-Hosting Guide (Lovable Docs)
这个过程允许你在自己的账户下创建一个新的 Supabase 项目,并独立进行连接。
🌐 This process allows you to create a new Supabase project under your own account and connect it independently.
Lovable 的文档中描述了一些限制,所以在继续之前请仔细查看指南。
🌐 There are certain limitations described in Lovable’s documentation, so review the guide carefully before proceeding.
如何预防 #
🌐 How to prevent
如果你想从一开始就直接访问你的 Supabase 项目,记得要:
🌐 If you want direct access to your Supabase project from the start, make sure to:
- 如果你打算自己独立管理 Supabase 项目,就别启用 Lovable Cloud 了。
- 直接从 Supabase 控制台 创建你的项目,然后手动将你的 Lovable 项目连接到你的 Supabase 项目,或者从一开始就创建已经连接到你自己的 Supabase 项目的 Lovable 项目。
额外资源 #
🌐 Additional resources
想了解更多信息,请阅读 可爱云常见问题
🌐 For more information, read the Lovable Cloud FAQ
常见问题 #
🌐 Frequently asked questions