Skip to content

Using Import API to import project into self-managed GitLab adds strange suffix to imported project's path

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

I am testing out the Import API to move a project between two self-managed GitLab instances. I have a project called "my-import-project" in a group called "path/to/my-group". I want to import and overwrite this project with the export file used in an import API command.

When I run the curl command to execute the import, with overwrite=yes set, the project is successfully imported. However, despite the project contents looking correct, it created a NEW project with a long string suffix. i.e. "my-import-project-ajashdkajhdfaisdasdsad" instead of just overwriting the existing project.

I suspect that there is a permission/property error somewhere either in the project intended to be overwritten or the project's group that is not permitting the overwrite. Any ideas?

I'm using GitLab EE 15.8.4-ee

Edited by 🤖 GitLab Bot 🤖