Good Day, hope you can assist me … I have a new server DR and followed the this link for the install - Download and install GitLab | GitLab
Every step worked fine until I got to this step - Add the GitLab package repository and install the packages
Was getting issues trying to get to the site(Curl was failing) so as plan B I decided to get the Gitlab ce image from a different server via nexus and pull it onto my DR server and that worked. I managed to start the container and Gitlab via this command
Sudo podman run --detach
–hostname my hostaname
–publish 443:443 --publish 80:80 --publish 22:22
–env GITLAB_CONFIG=“external_url ‘https://example.co.za/’;”
So far it seems all is working I’m able to enable features in side the gitlab.rb file etc, So we wanted to restore the data from backup , we backed our gitlab onto S3 and we mounted the backup on the new DR server and restored the data fine , extracted the data onto the directory as per the git-data inside the gitlab.rb path and restarted the container.
But we can’t seem to get all the repos across . I suspect permissions so i tried to run the chown git:git for the directory but I got invalid user , tried to run the rake command and that failed cause rake is not a valid command (might be because of the route we used to install gitlab image).
I cannot figure out what I did wrong not to get the repos, also the new project/group created in the new instance i get 'no repository ’ when i check the path.
Any ideas, assistance would be much appreciated.