Comments (9)
Hello @glani the image is now available 0.44.1
Also not sure i understand what you by is not checked for creation
?
If you want to disable role creation you would want to pass the DB_INSTALL_ROLES=false
as an env.
This is useful if the roles are created externally from storage
from storage.
Hello @customkandura could you please provide the records of your migrations table under the storage
schema?
from storage.
Interestingly a new connection url to cloud hosted storage DB causes the same error. Looks like a balancer always points to public scheme instead of "storage".
Steps to reproduce are simple.
I created a project:
Spawned a storage service in docker (I need it because the configuration of cloud version is pretty weak)
connection via pgbouncer works smoothly. However when I switched to AWS balancer of postgres all queries started failing with the above mentioned issue.
on the 15th of January there will be no support anymore for pgbouncer and looks like the current solution is pretty raw.
from storage.
@customkandura I have dug deeper into this issue and apparently the original error was caused by not having the initial
migration as part of the service.
My recent PR #409 will now include the initial migration and the Storage service will now start without manually run the migrate command.
A release is yet to be done for this feature I'll keep you up to date.
@glani Storage requires the pooler to support either transaction
mode or session
where transaction
mode is the preferred setting for optimum performance.
Could you please link the AWS pool service you are trying to use, i'll have a look at their docs. Also can you make sure the DATABASE_POOL_URL
env is set with the correct user
from storage.
@fenos now it starts working when I specified DATABASE_POOL_URL. When a new docker image will be available or release ? I built a current master to check it. However, merged PR of a new migration system is very questionable (b0331a1). No way to deploy it as independent database with storage schema. Role "authenticator" is not checked for a creation.
from storage.
Closing the issue as this is now supported
from storage.
here is a docker-compose file example:
https://github.com/supabase/storage/blob/master/docker-compose.yml
from storage.
Hello @glani the image is now available
0.44.1
Also not sure i understand what you byis not checked for creation
?If you want to disable role creation you would want to pass the
DB_INSTALL_ROLES=false
as an env. This is useful if the roles are created externally from storage
this solved also my issue with supabase/storage-api:v0.46.3
! thanks a lot! had the problem that storage migrations failed with role "anon" already exists
from storage.
from storage.
Related Issues (20)
- 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 9
- 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 36
- Rest Api For Storage Questions/Suggestions HOT 2
- Storage Upload Error Typescript Issue HOT 1
- 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.