gitlabhq/gitlabhq — Issue #258: 404 The page you were looking for doesn't exist
Author: kirantpatil
Created: 2012-01-02 07:06:35+00:00
State: open

Current master branch with Merge branch 'feature/repository_tab' as of date Jan 2 2011 IST, unable to add current project repositories to GitLab.

Steps followed:
--------------------
1) git clone of current gitlabhq from github
2) rake db:setup as in ubuntu_gitlab.sh
3) go to gitlab admin page, add ssh key
4) try to create new project which is already in repository, Ex:testing

Before adding testing project to GitLab:
----------------------------------------------------
gitlabhq@gtt-ubuntu:~/gitolite-admin$ ssh -T git@localhost
hello rails, this is gitolite v2.2-11-g8c4d1aa-dt running on git 1.7.0.4
the gitolite config gives you the following access:
R W	gitolite-admin
R W	linux
@R_ @W_	testing

After trying to add testing project to GitLab:
----------------------------------------------------
gitlabhq@gtt-ubuntu:~$ ssh -T git@localhost
hello rails, this is gitolite v2.2-11-g8c4d1aa-dt running on git 1.7.0.4
the gitolite config gives you the following access:
R W	gitolite-admin
R W	linux

Actual output:
------------------
GitLab page looks like below,

http://0.0.0.0:3000/testing?notice=Project+was+successfully+created.

404
The page you were looking for doesn't exist.

You may have mistyped the address or the page may have moved.

log output:
--------------
Started POST "/projects" for 127.0.0.1 at 2012-01-02 12:29:04 +0530
Processing by ProjectsController#create as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"pBQ4ZetR8DWV62Fyvx6uyqg2sCYyHXMN/y51RYS3FFA=", "project"=>{"name"=>"Testing Project", "path"=>"testing", "code"=>"testing", "description"=>"test"}, "commit"=>"Save"}
Rendered projects/create.js.haml (10.7ms)
Completed 200 OK in 1034ms (Views: 11.6ms | ActiveRecord: 3.4ms)
cache: [GET /testing?notice=Project+was+successfully+created.] miss

Started GET "/testing?notice=Project+was+successfully+created." for 127.0.0.1 at 2012-01-02 12:29:05 +0530
Processing by ProjectsController#show as HTML
Parameters: {"notice"=>"Project was successfully created.", "id"=>"testing"}
Rendered public/404.html (0.1ms)
Completed 404 Not Found in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)
cache: [GET /favicon.ico] miss

Started GET "/favicon.ico" for 127.0.0.1 at 2012-01-02 12:29:05 +0530
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"favicon.ico"}
Rendered public/404.html (0.0ms)
Completed 404 Not Found in 6ms (Views: 0.7ms | ActiveRecord: 0.6ms)