Skip to content
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

Postgresql 15: ERROR: permission denied for schema public #2859

Open
th-2021 opened this issue Nov 27, 2023 · 0 comments
Open

Postgresql 15: ERROR: permission denied for schema public #2859

th-2021 opened this issue Nov 27, 2023 · 0 comments

Comments

@th-2021
Copy link

th-2021 commented Nov 27, 2023

Trying to upgrade gitlab with pg15 shows error: ERROR: permission denied for schema public

Workaround;
root@gitlab-postgresql-6b74546cd5-9n2gl:/var/lib/postgresql# psql -h localhost -U postgres -d gitlab_production -W
Password: postgres
psql (15.3 (Ubuntu 15.3-1.pgdg22.04+1))
Type "help" for help.

gitlab_production=# GRANT ALL ON SCHEMA public TO gitlab;
GRANT
gitlab_production=# \q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant