Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5909

Closed
Open
Created Dec 22, 2013 by Administrator@rootOwner

Can't save project. (error 500)

Created by: rettersi

When I try to create new project, gitlab (v 6.3.0) shows the 500 error page.

Gitlab log:

==> production.log <== Started POST "/projects" for xx.xx.xx. at 2013-12-22 22:28:29 +0000 Processing by ProjectsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"dJm8MC7Za8d+kJjCdUe88O2nzS1g7bW8uHLpQ08h+Y8=", "project"=>{"name"=>"test2", "path"=>"", "namespace_id"=>"1", "import_url"=>"", "description"=>""}, "commit"=>"Create project"} Completed 500 Internal Server Error in 136.5ms

NoMethodError (undefined method errors' for nil:NilClass): app/contexts/projects/create_context.rb:60:inrescue in execute' app/contexts/projects/create_context.rb:9:in execute' app/controllers/projects_controller.rb:23:increate' app/controllers/application_controller.rb:54:in `set_current_user_for_thread'

I thing, gitlab is trying to execute this line: @project.errors.add(:base, "Can't save project. Please try again later")

Gitlab will not create repository in the repository path. How can I solve this issue?

Assignee
Assign to
Time tracking