I have a 7.1.1 Omnibus installation on 12.04 LTS Ubuntu which is functional but has a few systemic problems that can’t be solved. I’ve built a new 9.1.3 Omnibus server on 16.04 LTS and I’m now looking to migrate projects from the old server to the new server.
7.1.1 doesn’t have the export feature which was released sometime after 8.X.X so I have tried the following strategy:
Use rake to take a full backup on the 7.1.1 server
Copied the backup to the 9.1.3 server and unpacked the tar
Unpack a .bundle file for a specific project and place the project.git folder into the appropriate git-data repo folder
Use rake to import repos via gitlab-shell
Issues/variations I had with the above:
The .bundle files are not tarballs like many people say they are. The contents of the files are plain text
I was able to use git verify and git clone on the .bundle files successfully
I copied the .git folder contents from the output of git clone on the .bundle file to the appropriate git-data repo folder
gitlab-shell creates the group successfully but the import of the repository fails almost instantly
Even with DEBUG logging level for gitlab-shell, there are no failure details in the log file for the rake import.
The error is get is:
Processing my-repo/my-project.git
Failed trying to create my-project (my-repo/my-project.git)
Errors: {:base=>[“Failed to create repository via gitlab-shell”]}
I’ve also tried doing a straight copy of my-project.git from the 7.1.1 server to the 9.1.3 server and get the same error. Am i missing anything here? Better strategy? Are the errors logged elsewhere?