Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • omnibus-gitlab omnibus-gitlab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,059
    • Issues 1,059
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 53
    • Merge requests 53
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • omnibus-gitlabomnibus-gitlab
  • Issues
  • #5147
Closed
Open
Issue created Mar 06, 2020 by Michael Kozono@mkozono1️⃣Developer

Geo: Error during failover process `gitlab-pg-ctl: command not found`

Error:

jlouie@jsl-geo-2ndry-postgres2:~$ sudo gitlab-pg-ctl promote

sudo: gitlab-pg-ctl: command not found

Workaround

The gitlab-pg-ctl binary exists in /opt/gitlab/embedded/bin/ so we specified the absolute path like sudo /opt/gitlab/embedded/bin/gitlab-pg-ctl promote and it succeeded.

How does gitlab-pg-ctl normally get into $PATH?

Assignee
Assign to
Time tracking