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
  • #3954

Closed
Open
Created May 15, 2013 by Administrator@rootOwner

404 Page not found when trying to create a new project

Created by: Techbrunch

If I try to create a new project (/projects/new) I am directly redirected to a 404 error page.

Application.log

Started GET "/projects/new" for at 2013-05-15 14:04:52 +0000
Processing by ProjectsController#new as HTML
Rendered projects/_new_form.html.haml (106.6ms)
Rendered projects/new.html.haml within layouts/application (111.7ms)
Rendered layouts/_head.html.haml (1.7ms)
Rendered layouts/_search.html.haml (153.0ms)
Rendered layouts/_head_panel.html.haml (153.8ms)
Completed 500 Internal Server Error in 364ms
ActionController::RoutingError (No route matches {:controller=>"issues", :project_id=>#<Project id: nil, name: nil, path: nil, description: nil, created_at: nil, updated_at: nil, creator_id: nil, default_branch: nil, issues_enabled: true, wall_enabled: true, merge_requests_enabled: true, wiki_enabled: true, namespace_id: nil, public: false, issues_tracker: "gitlab", issues_tracker_id: nil, snippets_enabled: true, last_activity_at: nil>}):
app/helpers/application_helper.rb:101:in `search_autocomplete_source'
app/views/layouts/_search.html.haml:10:in `_app_views_layouts__search_html_haml__95004911_81491250'
app/views/layouts/_head_panel.html.haml:12:in `_app_views_layouts__head_panel_html_haml__561911620_97825640'
app/views/layouts/application.html.haml:5:in `_app_views_layouts_application_html_haml__442244505_80850370'

Apparently I am not the only one having the same issue : https://groups.google.com/forum/#!topic/gitlabhq/bXBp7CnelaU

I have run this command :

sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production

and everything is green.

Here is my environnement info :

root@CI-GIT2:/home/git/gitlab/log# sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
(in /home/git/gitlab)

System information
System:         Debian 6.0.7
Current User:   git
Using RVM:      no
Ruby Version:   1.9.3p327
Gem Version:    1.8.23
Bundler Version:1.3.5
Rake Version:   10.0.4

GitLab information
Version:        5.1.0
Revision:       a06d9a4
Directory:      /home/git/gitlab
DB Adapter:     mysql2
URL:            http://xxx.xxx.xx.xxx
HTTP Clone URL: http://xxx.xxx.xx.xxx/some-project.git
SSH Clone URL:  [email protected]:some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        1.3.0
Repositories:   /home/git/repositories/
Hooks:          /home/git/gitlab-shell/hooks/
Git:            /usr/bin/git

I have upgraded from 5.0 to 5.1.

Assignee
Assign to
Time tracking