-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
self-host storage got relation "buckets" does not exist thought schema and tables already exists #383
Comments
Hello @customkandura could you please provide the records of your migrations table under the |
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". on the 15th of January there will be no support anymore for pgbouncer and looks like the current solution is pretty raw. |
@customkandura I have dug deeper into this issue and apparently the original error was caused by not having the 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 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 |
@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. |
Hello @glani the image is now available If you want to disable role creation you would want to pass the |
Closing the issue as this is now supported |
here is a docker-compose file example: |
this solved also my issue with |
For self hosted storage api that still points to cloud db. I would
recommend to mount the migration folder from the docker to empty dir. No
idea why supabase guys decided to go for file uploads. From my point of
view it is slightly irrelevant to the main product. Still the main
product(postgres as a rest service) is amazing 👏
…On Tue, Jan 23, 2024, 22:02 Joseph Ribbe ***@***.***> wrote:
Hello @glani <https://github.com/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
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
—
Reply to this email directly, view it on GitHub
<#383 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFBRSOOGZBFYROSXD34N6MDYQAQNRAVCNFSM6AAAAAA6ADVPAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBWHEYTENJTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Describe the bug
env
:the error I got:
when I tried to run my docker-compose was no error, but after on Supabase Studio I got those errors,
i though my schema and tables already there, is that something wrong I missed on my env or do I need to fix my table/schema ??
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
my docker-compose.yaml
Expected behavior
i want to see my local storage and create new storage on local
Screenshots
System information
The text was updated successfully, but these errors were encountered: