You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I use npx supabase when running the CLI to stay up to date with latest. Yesterday, after upgrading to v.1.203.0, I was no longer able to create a new migration (using npx supabase db diff --use-migra -f <migration_name>). After investigation and clearing out all my Docker containers, volumes, and images, I also tried resetting the database to the local migration files, and that command (npx supabase db reset --local) gave me the same error.
This morning, I upgraded to the newest version of the CLI (v.1.204.3) and the error went away.
Error (when running with the --debug flag):
2024/10/09 09:31:23 Recv First Byte
/app/dist/storage/backend/file.js:64
throw new Error("FILE_STORAGE_BACKEND_PATH env variable not set");
^
Error: FILE_STORAGE_BACKEND_PATH env variable not set
at new FileBackend (/app/dist/storage/backend/file.js:64:13)
at createStorageBackend (/app/dist/storage/backend/index.js:35:22)
at Object.<anonymous> (/app/dist/storage/events/base-event.js:36:64)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/app/dist/storage/events/webhook.js:34:25)
Node.js v20.18.0
2024/10/09 09:31:23 Sent Header: Host [api.moby.localhost]
To Reproduce
Steps to reproduce the behavior:
Use latest (v.1.203.0).
Try to create a new migration based on changes to the local studio.
See error
Expected behavior
I am not self-hosting, so I do not expect to need to set this env variable.
System information
Rerun the failing command with --create-ticket flag.
Ticket ID: baf8ddbb82f44cd09073df541605a78d
Version of OS: macOS Sonoma Version 14.1.2 (Darwin 23.1.0)
Describe the bug
I use
npx supabase
when running the CLI to stay up to date withlatest
. Yesterday, after upgrading tov.1.203.0
, I was no longer able to create a new migration (usingnpx supabase db diff --use-migra -f <migration_name>
). After investigation and clearing out all my Docker containers, volumes, and images, I also tried resetting the database to the local migration files, and that command (npx supabase db reset --local
) gave me the same error.This morning, I upgraded to the newest version of the CLI (
v.1.204.3
) and the error went away.Error (when running with the
--debug
flag):To Reproduce
Steps to reproduce the behavior:
v.1.203.0
).Expected behavior
I am not self-hosting, so I do not expect to need to set this env variable.
System information
Rerun the failing command with
--create-ticket
flag.Additional context
If applicable, add any other context about the problem here.
The text was updated successfully, but these errors were encountered: