Attempting to access any pushed remote branches results in 404
Closed
Attempting to access any pushed remote branches results in 404
Created by: rage-shadowman
When I push a remote branch (git push --mirror gitlab-repo
) the logs say:
Root User pushed new branch refs/remotes/branchA at Projects / ProjectA
...but when I click on the link (refs/remotes/branchA
), I get a 404 error rather than a list of commits on the branch.
If I look specifically for the SHA1 hash of the commit at the HEAD
of refs/remotes/branchA
(by modifying the URL in the address bar) I can see the commits then. But clicking on the link from the project's home page gives me a 404.
I'm running GitLab from branch 6-0-stable
v6.0.2 SHA1 87ee403
.
$ sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.0 ? ... OK (1.7.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
post-receive hook up-to-date? ... can't check because of previous errors
post-receive hooks in repos are links: ... can't check because of previous errors
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have satellites? ...
CRC Libraries / FEU Libs ... yes
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)
Checking GitLab ... Finished
$ sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
System information
System: Debian 7.1
Current User: git
Using RVM: no
Ruby Version: 2.0.0p299
Gem Version: 2.0.7
Bundler Version:1.3.5
Rake Version: 10.1.0
GitLab information
Version: 6.0.2
Revision: 87ee403
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://mylocal.local
HTTP Clone URL: http://mylocal.local/some-project.git
SSH Clone URL: git@mylocal.local:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.7.1
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
Please register or sign in to reply