Error importing repository into <projectname>- wrong number of arguments (given 3, expected 1)
Summary
I am unable to import a Project from one selfhosted Gitlab-Server to another.
Steps to reproduce
(How one can reproduce the issue - this is very important)
Example Project
- Export Project
- Import Project -> GitLab export -> Import Project
What is the current bug behavior?
It does not import the project. Error is: The repository could not be imported. Error importing repository into "Projectname" - wrong number of arguments (given 3, expected 1)
What is the expected correct behavior?
Something like, Import successful....
Results of GitLab environment info
Expand for output related to GitLab environment info
Both Servers have the same OutputSystem information System: CentOS 7.4.1708 Current User: git Using RVM: no Ruby Version: 2.3.5p376 Gem Version: 2.6.13 Bundler Version:1.13.7 Rake Version: 12.1.0 Redis Version: 3.2.5 Git Version: 2.13.5 Sidekiq Version:5.0.4 Go Version: go1.8.3 linux/amd64
GitLab information Version: 10.1.0 Revision: 5a695c4 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://gitlab.itwm.fraunhofer.de HTTP Clone URL: https://gitlab.itwm.fraunhofer.de/some-group/some-project.git SSH Clone URL: git@gitlab.itwm.fraunhofer.de:some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 5.9.3 Repository storage paths:
- default: /srv/data/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab Shell ...
GitLab Shell version >= 5.9.3 ? ... OK (5.9.3) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 5/3 ... ok 3/4 ... ok 80/7 ... repository is empty 81/8 ... ok 81/11 ... ok 81/12 ... ok 87/13 ... ok 86/14 ... ok 86/15 ... ok 86/16 ... ok 86/17 ... ok 86/18 ... ok 80/29 ... ok 92/30 ... ok 98/31 ... ok 100/32 ... repository is empty 80/33 ... repository is empty 102/34 ... ok 107/36 ... ok 107/39 ... ok 107/40 ... ok 112/41 ... ok 158/42 ... ok 158/45 ... ok 158/46 ... ok 158/47 ... ok 158/48 ... ok 158/49 ... ok 158/50 ... repository is empty 85/51 ... ok 118/56 ... ok 120/58 ... ok 113/63 ... ok 136/64 ... ok 158/65 ... ok 107/66 ... ok 108/69 ... ok 5/70 ... ok 5/71 ... ok 136/72 ... ok 136/73 ... ok 138/74 ... ok 116/75 ... repository is empty 142/76 ... ok 100/77 ... ok 142/78 ... ok 158/79 ... ok 158/80 ... ok 48/81 ... ok 5/82 ... ok 91/83 ... repository is empty 83/84 ... ok 87/87 ... ok 129/88 ... ok 87/89 ... ok 81/90 ... ok 155/91 ... ok 123/93 ... ok 128/94 ... ok 128/95 ... ok 5/96 ... ok 133/97 ... ok 98/98 ... ok 128/99 ... ok 84/100 ... ok 107/101 ... ok 98/102 ... ok 81/103 ... ok 98/104 ... ok 159/106 ... ok 159/107 ... ok 5/108 ... ok 162/109 ... repository is empty 83/110 ... ok 148/111 ... ok 163/112 ... repository is empty 145/114 ... ok 122/124 ... ok 48/129 ... ok 48/137 ... repository is empty Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 5/3 ... yes 3/4 ... yes 80/7 ... yes 81/8 ... yes 81/11 ... yes 81/12 ... yes 87/13 ... yes 86/14 ... yes 86/15 ... yes 86/16 ... yes 86/17 ... yes 86/18 ... yes 80/29 ... yes 92/30 ... yes 98/31 ... yes 100/32 ... yes 80/33 ... yes 102/34 ... yes 107/36 ... yes 107/39 ... yes 107/40 ... yes 112/41 ... yes 158/42 ... yes 158/45 ... yes 158/46 ... yes 158/47 ... yes 158/48 ... yes 158/49 ... yes 158/50 ... yes 85/51 ... yes 118/56 ... yes 120/58 ... yes 113/63 ... yes 136/64 ... yes 158/65 ... yes 107/66 ... yes 108/69 ... yes 5/70 ... yes 5/71 ... yes 136/72 ... yes 136/73 ... yes 138/74 ... yes 116/75 ... yes 142/76 ... yes 100/77 ... yes 142/78 ... yes 158/79 ... yes 158/80 ... yes 48/81 ... yes 5/82 ... yes 91/83 ... yes 83/84 ... yes 87/87 ... yes 129/88 ... yes 87/89 ... yes 81/90 ... yes 155/91 ... yes 123/93 ... yes 128/94 ... yes 128/95 ... yes 5/96 ... yes 133/97 ... yes 98/98 ... yes 128/99 ... yes 84/100 ... yes 107/101 ... yes 98/102 ... yes 81/103 ... yes 98/104 ... yes 159/106 ... yes 159/107 ... yes 5/108 ... yes 162/109 ... yes 83/110 ... yes 148/111 ... yes 163/112 ... yes 145/114 ... yes 122/124 ... yes 48/129 ... yes 48/137 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.3 ? ... yes (2.3.5) Git version >= 2.7.3 ? ... yes (2.13.5) Git user has default SSH configuration? ... yes Active users: ... 64
Checking GitLab ... Finished