Skip to content

"JenkinsDeprecatedService is not a subclass of Service" error when exporting from GitLab EE and importing to GitLab CE

Summary

We include project services when we perform export from GitLab. GitLab EE includes some services that are not available in GitLab CE. This prevents importing the file in GitLab CE.

Steps to reproduce

  1. Create a new repository on GitLab.com
  2. Schedule an export from https://gitlab.com/<repo_name>/edit -> Export project, wait for email, download tar.gz archive
  3. In your local GitLab instance: New project -> GitLab export -> Select the file that you downloaded

Actual behavior

Error message saying:

The repository could not be imported.

Invalid single-table inheritance type: JenkinsDeprecatedService is not a subclass of Service