Difference between revisions of "Gitlab-ctl --help"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{gitlab-ctl}} * {{GitLab}} Category:GitLab") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | gitlab-ctl | ||
+ | I don't know that command. | ||
+ | omnibus-ctl: command (subcommand) | ||
+ | check-config | ||
+ | Check if there are any configuration in gitlab.rb that is removed in specified version | ||
+ | <pre> | ||
+ | deploy-page | ||
+ | Put up the deploy page | ||
+ | diff-config | ||
+ | Compare the user configuration with package available configuration | ||
+ | get-redis-master | ||
+ | Get connection details to Redis master | ||
+ | prometheus-upgrade | ||
+ | Upgrade the Prometheus data to the latest supported version | ||
+ | remove-accounts | ||
+ | Delete *all* users and groups used by this package | ||
+ | reset-grafana | ||
+ | Reset Grafana instance to its initial state by removing the data directory | ||
+ | set-grafana-password | ||
+ | Reset admin password for Grafana | ||
+ | upgrade | ||
+ | Run migrations after a package upgrade | ||
+ | upgrade-check | ||
+ | Check if the upgrade is acceptable | ||
+ | General Commands: | ||
+ | cleanse | ||
+ | Delete *all* gitlab data, and start from scratch. | ||
+ | help | ||
+ | Print this help message. | ||
+ | reconfigure | ||
+ | Reconfigure the application. | ||
+ | show-config | ||
+ | Show the configuration that would be generated by reconfigure. | ||
+ | uninstall | ||
+ | Kill all processes and uninstall the process supervisor (data will be preserved). | ||
+ | Service Management Commands: | ||
+ | graceful-kill | ||
+ | Attempt a graceful stop, then SIGKILL the entire process group. | ||
+ | hup | ||
+ | Send the services a HUP. | ||
+ | int | ||
+ | Send the services an INT. | ||
+ | kill | ||
+ | Send the services a KILL. | ||
+ | once | ||
+ | Start the services if they are down. Do not restart them if they stop. | ||
+ | restart | ||
+ | Stop the services if they are running, then start them again. | ||
+ | service-list | ||
+ | List all the services (enabled services appear with a *.) | ||
+ | start | ||
+ | Start services if they are down, and restart them if they stop. | ||
+ | status | ||
+ | Show the status of all the services. | ||
+ | stop | ||
+ | Stop the services, and do not restart them. | ||
+ | tail | ||
+ | Watch the service logs of all enabled services. | ||
+ | term | ||
+ | Send the services a TERM. | ||
+ | usr1 | ||
+ | Send the services a USR1. | ||
+ | usr2 | ||
+ | Send the services a USR2. | ||
+ | Database Commands: | ||
+ | get-postgresql-primary | ||
+ | Get connection details to the PostgreSQL primary | ||
+ | patroni | ||
+ | Interact with Patroni | ||
+ | pg-password-md5 | ||
+ | Generate MD5 Hash of user password in PostgreSQL format | ||
+ | pg-upgrade | ||
+ | Upgrade the PostgreSQL DB to the latest supported version | ||
+ | repmgr | ||
+ | Manage repmgr PostgreSQL cluster nodes | ||
+ | repmgr-check-master | ||
+ | Check if the current node is the repmgr master | ||
+ | repmgr-event-handler | ||
+ | Handle events from rpmgrd actions | ||
+ | revert-pg-upgrade | ||
+ | Run this to revert to the previous version of the database | ||
+ | set-replication-password | ||
+ | Set database replication password | ||
+ | write-pgpass | ||
+ | Write a pgpass file for the specified user | ||
+ | Consul Commands: | ||
+ | consul | ||
+ | Interact with the gitlab-consul cluster | ||
+ | Gitlab Geo Commands: | ||
+ | geo-replication-pause | ||
+ | Replication Process | ||
+ | geo-replication-resume | ||
+ | Replication Process | ||
+ | promote-db | ||
+ | Promote secondary PostgreSQL database | ||
+ | promote-to-primary-node | ||
+ | Promote to primary node | ||
+ | promotion-preflight-checks | ||
+ | Run preflight checks for promotion to primary node | ||
+ | replicate-geo-database | ||
+ | Replicate Geo database | ||
+ | set-geo-primary-node | ||
+ | Make this node the Geo primary | ||
+ | Pgbouncer Commands: | ||
+ | pgb-console | ||
+ | Connect to the pgbouncer console | ||
+ | pgb-kill | ||
+ | Send the "resume" command to pgbouncer | ||
+ | pgb-notify | ||
+ | Notify pgbouncer of an update to its database | ||
+ | pgb-resume | ||
+ | Send the "resume" command to pgbouncer | ||
+ | pgb-suspend | ||
+ | Send the "suspend" command to pgbouncer | ||
+ | Let's Encrypt Commands: | ||
+ | renew-le-certs | ||
+ | Renew the existing Let's Encrypt certificates | ||
+ | </pre> | ||
+ | Backup Commands: | ||
+ | backup-etc | ||
+ | Backup GitLab configuration [accepts directory path] | ||
+ | Container Registry Commands: | ||
+ | [[registry-garbage-collect]] | ||
+ | Run Container Registry garbage collection. | ||
Latest revision as of 11:16, 5 January 2023
gitlab-ctl I don't know that command. omnibus-ctl: command (subcommand) check-config Check if there are any configuration in gitlab.rb that is removed in specified version
deploy-page Put up the deploy page diff-config Compare the user configuration with package available configuration get-redis-master Get connection details to Redis master prometheus-upgrade Upgrade the Prometheus data to the latest supported version remove-accounts Delete *all* users and groups used by this package reset-grafana Reset Grafana instance to its initial state by removing the data directory set-grafana-password Reset admin password for Grafana upgrade Run migrations after a package upgrade upgrade-check Check if the upgrade is acceptable General Commands: cleanse Delete *all* gitlab data, and start from scratch. help Print this help message. reconfigure Reconfigure the application. show-config Show the configuration that would be generated by reconfigure. uninstall Kill all processes and uninstall the process supervisor (data will be preserved). Service Management Commands: graceful-kill Attempt a graceful stop, then SIGKILL the entire process group. hup Send the services a HUP. int Send the services an INT. kill Send the services a KILL. once Start the services if they are down. Do not restart them if they stop. restart Stop the services if they are running, then start them again. service-list List all the services (enabled services appear with a *.) start Start services if they are down, and restart them if they stop. status Show the status of all the services. stop Stop the services, and do not restart them. tail Watch the service logs of all enabled services. term Send the services a TERM. usr1 Send the services a USR1. usr2 Send the services a USR2. Database Commands: get-postgresql-primary Get connection details to the PostgreSQL primary patroni Interact with Patroni pg-password-md5 Generate MD5 Hash of user password in PostgreSQL format pg-upgrade Upgrade the PostgreSQL DB to the latest supported version repmgr Manage repmgr PostgreSQL cluster nodes repmgr-check-master Check if the current node is the repmgr master repmgr-event-handler Handle events from rpmgrd actions revert-pg-upgrade Run this to revert to the previous version of the database set-replication-password Set database replication password write-pgpass Write a pgpass file for the specified user Consul Commands: consul Interact with the gitlab-consul cluster Gitlab Geo Commands: geo-replication-pause Replication Process geo-replication-resume Replication Process promote-db Promote secondary PostgreSQL database promote-to-primary-node Promote to primary node promotion-preflight-checks Run preflight checks for promotion to primary node replicate-geo-database Replicate Geo database set-geo-primary-node Make this node the Geo primary Pgbouncer Commands: pgb-console Connect to the pgbouncer console pgb-kill Send the "resume" command to pgbouncer pgb-notify Notify pgbouncer of an update to its database pgb-resume Send the "resume" command to pgbouncer pgb-suspend Send the "suspend" command to pgbouncer Let's Encrypt Commands: renew-le-certs Renew the existing Let's Encrypt certificates
Backup Commands: backup-etc Backup GitLab configuration [accepts directory path] Container Registry Commands: registry-garbage-collect Run Container Registry garbage collection.
See also[edit]
gitlab-ctl [ status | tail | reconfigure | backup-etc | restart | start | stop | service-list | registry-garbage-collect | --help ]
- GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Advertising: