Difference between revisions of "Upgrade GitLab"
Jump to navigation
Jump to search
(12 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
** https://docs.gitlab.com/ee/update/#1480 | ** https://docs.gitlab.com/ee/update/#1480 | ||
− | To skip backup: <code>sudo touch [[/etc/gitlab/skip-auto-backup]]</code> | + | To skip backup: |
+ | * <code>sudo touch [[/etc/gitlab/skip-auto-backup]]</code> | ||
− | + | Check [[GitLab version]]: | |
+ | {{gitlab version}} | ||
+ | |||
+ | Check status: | ||
+ | * <code>[[gitlab-ctl status]]</code> | ||
+ | |||
+ | Upgrade: | ||
+ | * <code>sudo [[apt update]] && sudo [[apt install gitlab-ee]]</code> | ||
+ | |||
+ | Check new version: | ||
+ | {{gitlab version}} | ||
== Related == | == Related == | ||
Line 18: | Line 29: | ||
* <code>[[gitlab-rake gitlab:doctor:secrets]]</code> | * <code>[[gitlab-rake gitlab:doctor:secrets]]</code> | ||
* <code>[[apt install]]</code>: <code>[[apt install]] gitlab-ee=14.9.5=ee.0</code> | * <code>[[apt install]]</code>: <code>[[apt install]] gitlab-ee=14.9.5=ee.0</code> | ||
− | |||
− | |||
− | |||
* <code>[[gitlab-ctl stop]]</code> | * <code>[[gitlab-ctl stop]]</code> | ||
+ | * [[GitLab Changelog]] | ||
+ | * <code>[[/var/opt/gitlab/git-data/]]</code> | ||
== See also == | == See also == |
Latest revision as of 19:52, 17 January 2023
- Upgrade paths: https://docs.gitlab.com/ee/update/#upgrade-paths
To skip backup:
sudo touch /etc/gitlab/skip-auto-backup
Check GitLab version:
gitlab-rake gitlab:env:info | grep -w ^Version
dpkg -s gitlab-ee | grep Version
Check status:
Upgrade:
sudo apt update && sudo apt install gitlab-ee
Check new version:
gitlab-rake gitlab:env:info | grep -w ^Version
dpkg -s gitlab-ee | grep Version
Related[edit]
check_gitlab_status.sh
gitlab-backup create
gitlab-ctl status
gitlab-ctl restart
/etc/gitlab/skip-auto-backup
gitlab-rake gitlab:check
gitlab-rake gitlab:doctor:secrets
apt install
:apt install gitlab-ee=14.9.5=ee.0
gitlab-ctl stop
- GitLab Changelog
/var/opt/gitlab/git-data/
See also[edit]
Advertising: