<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      GitLab 版本升級

      升級前需要參考官方指引,逐版本升級

      官方指引

      https://docs.gitlab.com/ee/update/index.html#upgrade-paths
      8.11.Z -> 8.12.0 -> 8.17.7 -> 9.5.10 -> 10.8.7 -> 11.11.8 -> -> 12.1.17 -> 12.10.14 -> -> 13.1.11 -> 13.8.8 -> 13.12.15 -> 14.0.12 -> 14.3.6 -> 14.9.5 -> 14.10.Z -> 15.0.Z -> 15.4.0 -> latest 15.Y.Z12.0.1213.0.14

      官方發(fā)布版本

      https://about.gitlab.com/releases/categories/releases

      查看備份目錄

      shell cat /etc/gitlab/gitlab.rb |grep backup_path

      執(zhí)行備份

      shell gitlab-rake gitlab:backup:create

      手工備份兩個敏感文件
      /etc/gitlab/gitlab-secrets.json
      /etc/gitlab/gitlab.rb

      查看當(dāng)前版本

      shell cat /opt/gitlab/embedded/service/gitlab-rails/VERSION

      安裝指定版本

      shell yum install gitlab-ce-15.3.2

      跨大版本升級時,可能會出現(xiàn)數(shù)據(jù)結(jié)構(gòu)變更,執(zhí)行以下命令行

      shell sudo chmod 0755 /var/opt/gitlab/postgresql
      shell sudo gitlab-rake db:migrate
      shell sudo gitlab-ctl restart postgresql

      升級完成后,執(zhí)行以下命令行

      shell sudo gitlab-ctl reconfigure
      shell sudo gitlab-ctl restart

      訪問頁面顯示 502 時,可嘗試以下命令行解決

      shell sudo systemctl restart gitlab-runsvdir
      shell sudo gitlab-ctl restart sidekiq
      shell sudo gitlab-ctl hup unicorn

      備份還原

      需要注意的是,還原的前提條件是 GitLab 版本要跟備份時的版本完全一致

      執(zhí)行以下命令行,BACKUP 為備份文件去掉 _gitlab_backup.tar 后的名稱,如文件名為 1662359186_2022_09_05_14.6.3_gitlab_backup.tar,取前面的 1662359186_2022_09_05_14.6.3

      gitlab-rake gitlab:backup:restore BACKUP=1662359186_2022_09_05_14.6.3

      如果還原過程中出現(xiàn)權(quán)限錯誤,請于備份目錄下執(zhí)行下面命令

      Unpacking backup ... tar: 1662359186_2022_09_05_14.6.3_gitlab_backup.tar: Cannot open: Permission denied
      tar: Error is not recoverable: exiting now
      unpacking backup failed

      chmod 644 *

      最后記得別忘了還原兩個敏感文件

      完成后重啟 GitLab 即可

      shell sudo gitlab-ctl reconfigure
      shell sudo gitlab-ctl restart

      原文鏈接:http://www.rzrgm.cn/ysmc/p/16660880.html

      posted @ 2022-09-06 14:43  一事冇誠  閱讀(2416)  評論(0)    收藏  舉報
      主站蜘蛛池模板: 亚洲成亚洲成网中文字幕| 开心一区二区三区激情| 久久99久国产精品66| 精品亚洲香蕉久久综合网| 大香伊蕉在人线国产最新2005| 正在播放肥臀熟妇在线视频| 久久精品国产亚洲av麻| 中文字幕第一页国产精品| 国产又色又爽无遮挡免费动态图| 亚洲精品一区二区三区小| 东京热人妻无码一区二区AV| 日韩精品亚洲专在线电影| 亚洲欧洲一区二区福利片| 亚洲精品无码成人aaa片| 精品人妻av中文字幕乱| 国产精品日韩中文字幕| 久久婷婷五月综合97色直播| 狠狠久久五月综合色和啪| 无码人妻aⅴ一区二区三区69岛| 精品尤物国产尤物在线看| 久久这里精品国产99丫E6| 在线a级毛片无码免费真人| 黑人猛精品一区二区三区| 丁香花在线影院观看在线播放| 亚洲国产片一区二区三区| 伊人蕉久影院| 亚洲色偷偷色噜噜狠狠99| 久久精品国产再热青青青| 治多县| 青春草在线视频观看| 九九日本黄色精品视频| 韩国午夜福利片在线观看| 91中文字幕一区在线| 淄博市| 国产亚洲精品岁国产精品| 又大又紧又粉嫩18p少妇| 亚洲第一狼人天堂网伊人| 高清破外女出血AV毛片| 国产首页一区二区不卡| 国产精品白丝久久av网站| 成码无人AV片在线电影网站|