Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
omnibus-gitlab omnibus-gitlab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 890
    • Issues 890
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 75
    • Merge requests 75
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • omnibus-gitlabomnibus-gitlab
  • Issues
  • #5147

Closed
Open
Created Mar 06, 2020 by Michael Kozono@mkozono🔶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
12.9
Milestone
12.9 (Past due)
Assign milestone
Time tracking