I want to migrate Gitlab from the old server(Gitlab 8.10.1 & CenOS 6.8) to the new one referring to Migrate to a new server | GitLab. I have tried performing backup on the old server by running command sudo gitlab-rake gitlab:backup:create. Still, it showed error messages as follows.
[root@gitserver ~]# sudo gitlab-rake gitlab:backup:create
Dumping database …
Dumping PostgreSQL database gitlabhq_production … [DONE]
done
Dumping repositories …
- ABC/8x-hotfix-upgrade-template … rake aborted!
Errno::ENOENT: No such file or directory - connect(2) for /var/opt/gitlab/redis/redis.socket
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/redis-3.2.2/lib/redis/connection/ruby.rb:180:in `connect_nonblock’
How do I solve the problem?