Gitlab 8.13 throws 404 on the first level urls

Summary

I have upgraded my Gitlab-CE to 8.13 (it is installed as https://devcarpet.net/glab/), and assuming following structure of my urls:

  • https://devcarpet.net/glab/games/sa
  • https://devcarpet.net/glab/bluszcz/katiGL

which are working, all below urls stopped to work and are throwing 404 error (although links to them are generated on the screen):

  • https://devcarpet.net/glab/bluszcz/katiGL
  • https://devcarpet.net/glab/games/

Basically urls of users and groups are not working.

Steps to reproduce

It happens for all mentioned urls

Expected behavior

See the webpage of the user or of the group.

Actual behavior

404 error.

Relevant logs and/or screenshots

==> log/production.log <==
Started GET "/glab/bluszcz" for 127.0.0.1 at 2016-10-23 10:00:18 +0000
Processing by ApplicationController#not_found as HTML
  Parameters: {"unmatched_route"=>"bluszcz"}
Completed 404 Not Found in 60ms (Views: 0.6ms | ActiveRecord: 4.9ms)
Started GET "/glab/bluszcz" for 127.0.0.1 at 2016-10-23 10:00:19 +0000
Processing by ApplicationController#not_found as HTML
  Parameters: {"unmatched_route"=>"bluszcz"}
Completed 404 Not Found in 63ms (Views: 0.7ms | ActiveRecord: 5.1ms)

Output of checks

Results of GitLab application Check and environment info

sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
Checking GitLab Shell ...

GitLab Shell version >= 3.6.6 ? ... OK (3.6.6)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ... 
5/2 ... ok
7/3 ... ok
4/4 ... repository is empty
2/5 ... ok
2/6 ... ok
2/7 ... ok
8/8 ... ok
9/9 ... ok
2/11 ... ok
2/12 ... ok
2/13 ... ok
2/14 ... ok
2/16 ... ok
8/17 ... ok
8/20 ... repository is empty
13/21 ... ok
8/22 ... ok
8/23 ... ok
2/24 ... ok
2/25 ... repository is empty
15/26 ... ok
2/27 ... ok
2/28 ... ok
17/29 ... ok
17/30 ... ok
2/31 ... repository is empty
2/32 ... ok
2/33 ... ok
2/34 ... ok
2/35 ... ok
8/36 ... ok
20/37 ... ok
1/38 ... repository is empty
8/39 ... ok
8/41 ... ok
8/42 ... ok
8/43 ... ok
8/44 ... ok
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /home/git/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

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

Checking Sidekiq ... Finished

Checking Reply by email ...

Reply by email is disabled in config/gitlab.yml

Checking Reply by email ... Finished

Checking LDAP ...

LDAP users with access to your GitLab server (only showing the first 100 results)
Server: ldapmain
        .... listed users here ....

Checking LDAP ... Finished

Checking GitLab ...

Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ... 
5/2 ... yes
7/3 ... yes
4/4 ... yes
2/5 ... yes
2/6 ... yes
2/7 ... yes
8/8 ... yes
9/9 ... yes
2/11 ... yes
2/12 ... yes
2/13 ... yes
2/14 ... yes
2/16 ... yes
8/17 ... yes
8/20 ... yes
13/21 ... yes
8/22 ... yes
8/23 ... yes
2/24 ... yes
2/25 ... yes
15/26 ... yes
2/27 ... yes
2/28 ... yes
17/29 ... yes
17/30 ... yes
2/31 ... yes
2/32 ... yes
2/33 ... yes
2/34 ... yes
2/35 ... yes
8/36 ... yes
20/37 ... yes
1/38 ... yes
8/39 ... yes
8/41 ... yes
8/42 ... yes
8/43 ... yes
8/44 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.1.2)
Your git bin path is "/usr/bin/git"
Git version >= 2.7.3 ? ... yes (2.10.1)
Active users: 10

Checking GitLab ... Finished

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

System information
System:         Ubuntu 14.04
Current User:   git
Using RVM:      no
Ruby Version:   2.1.2p95
Gem Version:    2.2.2
Bundler Version:1.7.4
Rake Version:   10.5.0
Sidekiq Version:4.2.1

GitLab information
Version:        8.13.0
Revision:       053a0a2
Directory:      /home/git/gitlab
DB Adapter:     postgresql
URL:            https://devcarpet.net/glab
HTTP Clone URL: https://devcarpet.net/glab/some-group/some-project.git
SSH Clone URL:  ssh://git@devcarpet.net:50022/some-group/some-project.git
Using LDAP:     yes
Using Omniauth: no

GitLab Shell
Version:        3.6.6
Repository storage paths:
- default:      /home/git/repositories/
Hooks:          /home/git/gitlab-shell/hooks/
Git:            /usr/bin/git
Assignee Loading
Time tracking Loading