The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
migrate(docs): troubleshooting 4 (#30954)
Charis5690a61bfd7f
diff --git a/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx b/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdxnew file mode 100644index 00000000000..0a14dfc7334--- /dev/null+++ b/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx@@ -0,0 +1,20 @@+---+title = "Are all features available in self-hosted Supabase?"+github_url = "https://github.com/orgs/supabase/discussions/27299"+date_created = "2024-06-16T09:33:39+00:00"+topics = ["self-hosting"]+---++### Overview++The self-hosted version is pretty similar to the hosted one. It might not always have the latest features right away, but it includes everything you need to get your application up and running.++### Feature Availability++To know what features are available in the self-hosted version, refer to the comprehensive list here:+[Supabase Features](https://supabase.com/docs/guides/getting-started/features#generally-available)++### Self-Hosting Documentation++For detailed steps and guidance on how to set up and manage your self-hosted Supabase instance, follow the documentation provided:+[Self-Hosting Guide](https://supabase.com/docs/guides/self-hosting)diff --git a/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdx b/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdxnew file mode 100644index 00000000000..edcb9000b59--- /dev/null+++ b/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdx@@ -0,0 +1,26 @@+---+title = "Forbidden resource error from the CLI"+github_url = "https://github.com/orgs/supabase/discussions/21602"+date_created = "2024-02-27T09:37:38+00:00"+topics = ["cli", "platform"]+keywords = ["cli", "authorization", "token", "permissions"]++[api]+cli = ["supabase-link", "supabase-login"]++[[errors]]+http_status_code = 403+message = "Forbidden resource error"+---++This error typically occurs as a protective measure to prevent unauthorized access to critical operations.++To address this issue, we recommend following these troubleshooting steps:++- Verify Project ID: Ensure the $PROJECT*REF variable in your commands contains the correct Project ID. You can find your Reference ID under [Project -> Settings -> General](https://supabase.com/dashboard/project/*/settings/general) in your Supabase Dashboard. A Reference ID looks something like “xvljpkujuwroxcuvossw”.+- Authorization Check: Confirm that you’ve been properly authorized. You can also generate a new Access Token in your dashboard and use it for login. Generate a new token [here](https://supabase.com/dashboard/account/tokens) and use it to [log in](https://supabase.com/docs/reference/cli/supabase-login).+- Re-link Project: Try [re-linking](https://supabase.com/docs/reference/cli/supabase-link) your project with the newly generated token.+- Owner/Admin Permissions: Make sure you have [Owner/Admin](https://supabase.com/docs/guides/platform/access-control) permissions for the project.+- CLI Version: Ensure you are using the latest version of the Supabase CLI. If not, please update to the most recent version available at [Supabase CLI GitHub](https://github.com/supabase/cli).++If the issue persists, add a --debug --create-ticket flags to your command and contact [support](https://supabase.com/support) with the ticket id and debug logs, which can help in diagnosing the problem further.diff --git a/apps/docs/content/troubleshooting/transferring-from-cloud-to-self-host-in-supabase-2oWNvW.mdx b/apps/docs/content/troubleshooting/transferring-from-cloud-to-self-host-in-supabase-2oWNvW.mdxnew file mode 100644index 00000000000..68f0be76fa6--- /dev/null+++ b/apps/docs/content/troubleshooting/transferring-from-cloud-to-self-host-in-supabase-2oWNvW.mdx@@ -0,0 +1,15 @@+---+title = "Transferring from cloud to self-host in Supabase"+github_url = "https://github.com/orgs/supabase/discussions/22712"+date_created = "2024-04-14T15:19:10+00:00"+topics = ["database", "self-hosting"]+keywords = ["migrate", "pg_dump", "psql", "self-host"]+---++To migrate from cloud to self-hosting, you can use the [pg_dump](https://www.postgresql.org/docs/9.6/app-pgdump.html) command to export your database to an SQL file, which then you can run on any database to load the same data in.++You can then try to import your SQL files using psql from the terminal:++`psql -h 127.0.0.1 -p 5432 -d postgres -U postgres -f <dump-file-name>.sql`++You can also find some useful information about self-hosting here: https://supabase.com/docs/guides/self-hosting.