-
Notifications
You must be signed in to change notification settings - Fork 592
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
bug: "role windmill_user does not exist" on initial install #5079
Comments
Hi @martinjuhasz , are you a superuser of that database? |
I'm not the superuser.
granting superuser for initial setup worked. i revoked it afterwards.
Is there anything i can do to add additional privileges without granting superuser to be safe in the future? All privileges on the database doesn't seem to be enough. |
Hi, we do have this section on our docs with better initial sql commands: https://www.windmill.dev/docs/advanced/self_host#use-an-external-database https://raw.githubusercontent.com/windmill-labs/windmill/main/init-db-as-superuser.sql
|
I'm asking that here to avoir polluting the issues tracker, but is "WITH BYPASSRLS" important ? |
It used to be critical but now it's just a performance optimization. It should work without BYPASSRLS because we grant true policy to windmill_admin everywhere relevant by it's not as tested as BYPASSRLS so you may face issues we can fix easily |
Describe the bug
hey all,
i tried running thewindmill docker image for the first time and somehow i ended up with this error
error returned from database: role "windmill_user" does not exist
.This happens on initial migrations that are run on setup
any idea what is causing this? the postgres db was also fresh.
To reproduce
run the container
Expected behavior
Just do all migrations and launch
Screenshots
No response
Browser information
FIrefox
Application version
:latest
Additional Context
No response
The text was updated successfully, but these errors were encountered: