Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Gitlab migration version inconsistency problem

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Original server: bitnami version gitlab version 8.14.3

Target server: source installation gitlab version: 9.1.1

Backup method:

The original machine does not have a gitlab-rake command

Switch to git user, execute bundle command, and make backup

$/ opt/bitnami/apps/gitlab/htdocs$bundle exec bin/rake gitlab:backup:create RAILS_ENV=production

Modify the backup result storage directory:

/ opt/bitnami/apps/gitlab/htdocs/config/gitlab.yml

$vim / opt/bitnami/apps/gitlab/htdocs/config/gitlab.ymlbackup: path: "/ opt/backup/gitlab" # modify the path

Target server:

$gitlab-rake gitlab:backup:restore BACKUP=1494230203

Reporting an error requires a lower version to reply to the message

Solution:

Downgrade the target server, synchronize the data, and then upgrade the version

Shengyuan server gitlab version

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report