You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
POstgres 15 image does not work with Gitlab backup:restore task - "permission denied for schema public" #168
changed the title [-]POstgres 15 image does not work with Gitlab backup:restore task = "permission denied for schema public"[/-][+]POstgres 15 image does not work with Gitlab backup:restore task - "permission denied for schema public"[/+]on Oct 4, 2023
I am wondering if something like CREATE SCHEMA IF NOT EXISTS AUTHORIZATION sonar; could be added to the create_database function (but my PostgreSQL knowledge is very limited).
Activity
[-]POstgres 15 image does not work with Gitlab backup:restore task = "permission denied for schema public"[/-][+]POstgres 15 image does not work with Gitlab backup:restore task - "permission denied for schema public"[/+]Upgrade instructions form Postgresql 12 to 14
Upgrade instructions form Postgresql 12 to 14
Upgrade instructions form Postgresql 12 to 14
Upgrade instructions form Postgresql 12 to 14
elchenberg commentedon Jan 9, 2024
I might have the same issue.
In my case I created a new database for SonarQube:
I got
permission denied for schema publicin SonarQube, too.As a workaround I used an initContainer (on the SonarQube pod, after the PostgreSQL database is already up and running):
I am wondering if something like
CREATE SCHEMA IF NOT EXISTS AUTHORIZATION sonar;could be added to thecreate_databasefunction (but my PostgreSQL knowledge is very limited).Version:
docker.io/sameersbn/postgresql:15@sha256:f5f9f8ad3b873d49a44e21c3f17231da3f92db7f0f73119215b7c771faf53e13PS. I still have to double-check if my workaround actually works.
Upgrade instructions form Postgresql 12 to 14