Project repository link does not show in UI after first file commited from CLI.
Summary
Project repository link does not show in UI after file commited from CLI.
Steps to reproduce
Create new project in UI with no artifacts (e.g., no README.md or LICENSE.md) $ git clone https://mygitlabinstance/newproject.git $ cd newproject $ echo "Stuff" > somefile.txt $ git add somefile.txt $ git commit somefile.txt -m "Test to see what shows up in the Gitlab UI" $ git push
Go to different machine: $ git clone https://mygitlabinstance/newproject.git $ cd newproject <somefile.txt exists with correct content>
What is the current bug behavior?
After committing file I expect the web UI to update with the Repository link. Instead it says "The repository for this project is empty".
I refresh browser, restart browser, logout/login, use different browsers (Chrome/Firefox). Same result "The repository for this project is empty".
After 4hour+ the UI does reflect the repository link.
What is the expected correct behavior?
UI would show repository link i could click on and then see the file that was committed.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.3.1p112 Gem Version: 2.6.6 Bundler Version:1.13.1 Rake Version: 10.5.0 Sidekiq Version:4.1.4
GitLab information Version: 8.12.2-ee Revision: 1bcad97b Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 9.3.15 URL: https://gitlab-westus.digitalaviationcloud.com HTTP Clone URL: https://gitlab-westus.digitalaviationcloud.com/some-group/some-project.git SSH Clone URL: git@gitlab-westus.digitalaviationcloud.com:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 3.6.0 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/ Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
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? ... skipped (no tmp uploads folder yet) Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... 2/2 ... yes 3/11 ... yes 3/12 ... yes 3/13 ... yes 3/14 ... yes 3/15 ... yes 3/26 ... yes 1/40 ... yes 4/112 ... yes 16/118 ... yes 16/121 ... yes 6/124 ... yes 16/128 ... yes 49/130 ... yes 49/131 ... yes 49/132 ... yes 49/133 ... yes 50/134 ... yes 51/139 ... yes 51/140 ... yes 4/191 ... yes 4/193 ... yes 6/194 ... yes 6/195 ... yes 6/196 ... yes 6/197 ... yes 6/198 ... yes 6/199 ... yes 16/204 ... yes 6/206 ... yes 18/208 ... yes 4/209 ... yes 4/210 ... yes 4/211 ... yes 63/212 ... yes 63/213 ... yes 18/215 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.1) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 2.7.3 ? ... yes (2.7.4) Active users: 20
Checking GitLab ... Finished
Possible fixes
No clue.