[go: up one dir, main page]

No files or settings are imported when using custom project templates

Summary

Issue occurs creating a new project from either a custom group-level or instance-level template. The project will be successfully created, but none of the files or settings from the template are imported - instead the project is empty with the default configuration.

On my 11.5.0 instance this feature works as expected, but this problem occurs every time on 11.6.2.

Steps to reproduce

  1. Create a fresh Omnibus 11.6.2 instance
  2. Create and configure a new group and project to use as a template
  3. Enable either instance-wide or group-level custom templates
  4. Start the new project flow, select "Create from Template"
  5. Choose either Instance or Group as the template type, depending on what was chosen in step 3
  6. Select template and proceed with project creation
  7. Project page loads immediately as an empty project, with no 'importing' message is received

What is the current bug behavior?

New project is blank and has default configuration

What is the expected correct behavior?

New project imports files and settings from template

Relevant logs and/or screenshots

No errors seen in logs

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:		Ubuntu 16.04
Proxy:		no
Current User:	git
Using RVM:	no
Ruby Version:	2.5.3p105
Gem Version:	2.7.6
Bundler Version:1.16.6
Rake Version:	12.3.1
Redis Version:	3.2.12
Git Version:	2.18.1
Sidekiq Version:5.2.3
Go Version:	unknown

GitLab information Version: 11.6.2-ee Revision: 308f077 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.11 URL: http://192.168.122.173 HTTP Clone URL: http://192.168.122.173/some-group/some-project.git SSH Clone URL: git@192.168.122.173:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers:

GitLab Shell Version: 8.4.3 Repository storage paths:

  • default: /var/opt/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 subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 8.4.3 ? ... OK (8.4.3) 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 Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

/CC @jameslopez