Skip to content

Fix Postgres running as root error - #233

Merged
shuyanzhou merged 1 commit into
web-arena-x:mainfrom
minghui-liu:patch-1
Nov 26, 2025
Merged

Fix Postgres running as root error#233
shuyanzhou merged 1 commit into
web-arena-x:mainfrom
minghui-liu:patch-1

Conversation

@minghui-liu

Copy link
Copy Markdown
Contributor

Fix the "pg_resetwal: error: cannot be executed by "root"
pg_resetwal: You must run pg_resetwal as the PostgreSQL superuser." error when running docker exec gitlab /opt/gitlab/embedded/bin/pg_resetwal -f /var/opt/gitlab/postgresql/data

Fix the "pg_resetwal: error: cannot be executed by "root"
pg_resetwal: You must run pg_resetwal as the PostgreSQL superuser." error when running `docker exec gitlab /opt/gitlab/embedded/bin/pg_resetwal -f /var/opt/gitlab/postgresql/data`
@shuyanzhou
shuyanzhou merged commit 2737b9f into web-arena-x:main Nov 26, 2025
1 check passed
@shuyanzhou

Copy link
Copy Markdown
Contributor

Thanks for the fix!

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

Successfully merging this pull request may close these issues.

2 participants