Comments (3)
Are these not required even if someone self-hosts supabase and wants to wire up a different storage backend? I was wondering how I can achieve this, is it even possible?
from storage.
Encountered this on a seff hosted setup.
storage | finished migrations
storage | {"level":"info","time":"2023-08-02T08:17:32.759Z","pid":1,"hostname":"472de14ff501","msg":"Server listening at http://0.0.0.0:5000"}
storage | Server listening at http://0.0.0.0:5000
storage | {"level":"error","time":"2023-08-02T08:17:32.761Z","pid":1,"hostname":"472de14ff501","error":"{\"_error\":{\"errno\":-2,\"code\":\"ENOENT\",\"syscall\":\"mkdir\",\"path\":\"=var/lib/storage/stub\"},\"name\":\"Error\",\"message\":\"ENOENT: no such file or directory, mkdir '=var/lib/storage/stub'\",\"stack\":\"Error: ENOENT: no such file or directory, mkdir '=var/lib/storage/stub'\"}","msg":"uncaught exception"}
When using the supabase/supabase repo configs on the latest version (supabase/storage-api:v0.41.4).
ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZXJ2aWNlX3JvbGUiLAogICAgImlzcyI6ICJzdXBhYmFzZS1kZW1vIiwKICAgICJpYXQiOiAxNjQxNzY5MjAwLAogICAgImV4cCI6IDE3OTk1MzU2MDAKfQ.DaYlNEoUrrEn2Ig7tqibS-PHK5vgusbcbo7X36XVt4Q
POSTGREST_URL=http://postgrest:3000
PGRST_JWT_SECRET=your-super-secret-jwt-token-with-at-least-32-characters-long
DATABASE_URL=postgres://postgres:postgres@postgres:5432/sarafu_network_db
FILE_SIZE_LIMIT=52428800
STORAGE_BACKEND=file
FILE_STORAGE_BACKEND_PATH:=var/lib/storage
TENANT_ID=stub
REGION=stub
GLOBAL_S3_BUCKET=stub
ENABLE_IMAGE_TRANSFORMATION=true
IMGPROXY_URL=http://imgproxy:5001
Since the stub value comes from the same env vars, could this be related?
from storage.
This is now also being fixed
from storage.
Related Issues (20)
- self-host storage got relation "buckets" does not exist thought schema and tables already exists HOT 9
- API link in readme here is outdated. HOT 1
- Storage RLS UPDATE WITH CHECK evaluates old data, not new HOT 4
- Can't upload files to storage HOT 3
- File upload is not possible when using custom roles HOT 1
- 410 on Head request from TUS client (uppy) to resumable endpoint HOT 1
- 5-10% of Uppy/TUS uploads fail HOT 8
- Can not integrate Lock Objects S3 with Supabase HOT 3
- Can't update files after migration HOT 5
- UNEXPECTED BEHAVIOR 'move' method HOT 1
- Move set owner to null HOT 1
- FFmpeg/FFprobe 'moov atom not found' Error When Processing Videos from Local Supabase Instance HOT 2
- Storage API changing file name HOT 1
- `move`, `copy` do not returning new file id HOT 4
- Add `file_metadata` field to objects schema HOT 24
- Rest Api For Storage Questions/Suggestions HOT 2
- Storage Upload Error Typescript Issue
- The values of both column `owner` and `owner_id` are set to `NULL` after calling `StorageFileApi` method `move`. HOT 1
- Private bucket files become public HOT 2
- How to set file owner on TUS upload HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storage.