[bash]gitlab-rake gitlab:backup:create[/bash]
[bash]scp /var/opt/gitlab/backups/XXXXXXXXX_gitlab_backup.tar root@NEW_SERVER_IP:/root/[/bash]
[bash]gitlab-ctl reconfigure[/bash]
[bash]gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq[/bash]
[bash]mv /root/XXXXXXXXX_gitlab_backup.tar /var/opt/gitlab/backups/
gitlab-rake gitlab:backup:restore BACKUP=XXXXXXXXX[/bash]
[bash]gitlab-ctl start
gitlab-rake gitlab:check SANITIZE=true[/bash]
. If there is any error appears, follow the guide in the screen to fix. For example:
[bash]Uploads directory setup correctly? … no
Try fixing it:
sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads
sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} \;
sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} \;
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.[/bash]
[bash]yum install -y gitlab-ce[/bash]
[bash]gitlab-rake gitlab:env:info[/bash]
[bash]gitlab_rails[‘git_timeout’] = 60 #Commit read timeout, default value is 10
unicorn[‘worker_timeout’] = 300 # unicorn timeout, default value is 60
[/bash]
[bash]gitlab-ctl reconfigure[/bash]
[bash]git remote set-url origin https://your-new-url.com/your-repo-url.git[/bash]
This year, I'm excited to revive my blog with regular posts about my adventures in…
This is just a quick note to Install Let's Encrypt for Nginx on Ubuntu 18.…
I come to a request to capture all out-going network connections to be sure no…
Many developers have asked me the effective way to test their code in a multi-server…
As you might know, MySQL introduces Document Store (via JSON field) from version 5.7 and…
As you may know, I started working with high load MySQL servers in 2010 (and…