Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 157
    • Issues 157
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapod
  • heptapodheptapod
  • Issues
  • #563

Closed
Open
Created Nov 04, 2021 by Arthur Lutz@arthur.lutzDeveloper

500 error on imported from "GitLab Cluster Management" template

We're trying to migrate from "Gitlab Managed Apps" as described in https://forge.extranet.logilab.fr/help/user/clusters/migrating_from_gma_to_project_template.md but we're getting a 500 error when creating the repo from the template.

Started GET "/cubicweb/scaleway-cluster-management" for 82.65.202.15 at 2021-11-04 13:13:24 +0000
Started GET "/api/v4/projects/cubicweb%2Fcubes%2Ftreeview/pipelines?page=1&per_page=1&ref=cubicweb-treeview-version-0.1
.0" for 92.154.88.244 at 2021-11-04 13:13:24 +0000
Processing by ProjectsController#show as HTML
  Parameters: {"namespace_id"=>"cubicweb", "id"=>"scaleway-cluster-management"}
Started GET "/logilab/infra/sysadmin/noteable/issue/6127/notes" for 89.0.49.110 at 2021-11-04 13:13:25 +0000
Completed 304 Not Modified in 0ms (Allocations: 5)
  Rendered layout layouts/project.html.haml (Duration: 528.0ms | Allocations: 21644)
Completed 500 Internal Server Error in 644ms (ActiveRecord: 23.1ms | Elasticsearch: 0.0ms | Allocations: 37118)
  
ActionView::Template::Error (No route matches {:action=>"show", :controller=>"projects/tree", :id=>nil, :namespace_id=>
#<Group id:23 @cubicweb>, :project_id=>#<Project id:727 cubicweb/scaleway-cluster-management>>}, possible unmatched con
straints: [:id]
Did you mean?  namespace_project_tree_url):
    51:           - if @project.empty_repo?
    52:             = render 'stat_anchor_list', anchors: @project.empty_repo_statistics_anchors
    53:           - else
    54:             = render 'stat_anchor_list', anchors: @project.statistics_anchors(show_auto_devops_callout: show_au
to_devops_callout)
    55: 
    56:   .home-panel-home-desc.mt-1
    57:     - if @project.description.present?
  
app/helpers/routing/projects_helper.rb:6:in `project_tree_path'
app/presenters/project_presenter.rb:183:in `files_anchor_data'
app/presenters/project_presenter.rb:29:in `statistics_anchors'
app/views/projects/_home_panel.html.haml:54
app/views/projects/_home_panel.html.haml:48
app/views/projects/show.html.haml:14
app/controllers/application_controller.rb:124:in `render'
app/controllers/application_controller.rb:552:in `block in allow_gitaly_ref_name_caching'
lib/gitlab/gitaly_client.rb:377:in `allow_ref_name_caching'
app/controllers/application_controller.rb:551:in `allow_gitaly_ref_name_caching'
app/controllers/application_controller.rb:501:in `set_current_admin'
lib/gitlab/session.rb:11:in `with_session'
app/controllers/application_controller.rb:492:in `set_session_storage'
lib/gitlab/i18n.rb:99:in `with_locale'
lib/gitlab/i18n.rb:105:in `with_user_locale'
app/controllers/application_controller.rb:486:in `set_locale'
app/controllers/application_controller.rb:480:in `set_current_context'
lib/gitlab/metrics/elasticsearch_rack_middleware.rb:16:in `call'
lib/gitlab/middleware/rails_queue_duration.rb:33:in `call'
lib/gitlab/metrics/rack_middleware.rb:16:in `block in call'
lib/gitlab/metrics/web_transaction.rb:21:in `run'
lib/gitlab/metrics/rack_middleware.rb:16:in `call'
lib/gitlab/middleware/speedscope.rb:13:in `call'
lib/gitlab/request_profiler/middleware.rb:17:in `call'
lib/gitlab/jira/middleware.rb:19:in `call'
lib/gitlab/middleware/go.rb:20:in `call'
lib/gitlab/etag_caching/middleware.rb:21:in `call'
lib/gitlab/middleware/multipart.rb:172:in `call'
lib/gitlab/middleware/read_only/controller.rb:50:in `call'
lib/gitlab/middleware/read_only.rb:18:in `call'
lib/gitlab/middleware/same_site_cookies.rb:27:in `call'
lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call'
lib/gitlab/middleware/request_context.rb:21:in `call'
config/initializers/fix_local_cache_middleware.rb:11:in `call'
lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:74:in `call'
lib/gitlab/middleware/release_env.rb:12:in `call'

Creating the repo as a personnal project seems to work, but we then can't transfer it to the group.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking