개발/Tool
gsjava gitlab 업그레이드
철권
2023. 11. 16. 08:57
728x90
순차 업그레이드 필요
# apt update
#apt list --upgradable gitlab-ce -a
# apt install gitlab-ce=14.9.5-ce.0
_______ __ __ __
/ ____(_) /_/ / ____ _/ /_
/ / __/ / __/ / / __ `/ __ \
/ /_/ / / /_/ /___/ /_/ / /_/ /
\____/_/\__/_____/\__,_/_.___/
Upgrade complete! If your GitLab server is misbehaving try running
sudo gitlab-ctl restart
before anything else.
If you need to roll back to the previous version you can use the database
backup made during the upgrade (scroll up for the filename).
이 화면이 나오면 성공
//재시작 해서 화면 출력을 보면 된다.
//재시작 시간이 조금 걸린다.
# gitlab-ctl restart
#단계별로 맞는 버전을 올려야 한다.
sudo apt install gitlab-ce=14.9.5-ce.0
sudo gitlab-ctl restart
sudo apt install gitlab-ce=14.10.5-ce.0
sudo gitlab-ctl restart
sudo apt install gitlab-ce=15.0.0-ce.0
sudo gitlab-ctl restart
apt install gitlab-ce=16.3.0-ce.0
sudo gitlab-ctl restart
# 맨 마지막이라고 생각될때 최신 버전 업그레이드
sudo apt install gitlab-ce
sudo gitlab-ctl restart
업데이트 방법
https://docs.gitlab.com/ee/update/package/
Upgrade GitLab by using the GitLab package | GitLab
GitLab product documentation.
docs.gitlab.com
728x90
반응형