file browsing on directorys with latest gitlab version 5.3 does not work
Created by: tabacha
we have updated gitlab to the newest version 5.3, but now the file browsing does not work as expected:
When I click on a diretory, the page is empty. When I click on reload in the browser, the directory contents is displayed like it should.
We have tested this with different browsers (firefox, chorme, ie). the same thing on demo.gitlab.com does work for me.
I see no errors in logfiles (/home/git/gitlab/log or /var/log/nginx/ javascript console).
I see the content in the HTML object tree but with style="display:none"
I can fix the problem when we use the javascript von demo.gitlab.com:
cd /home/git/gitlab/public/assets
cp application-7d93083de17aed493e725681ac46eb51.js application-7d93083de17aed493e725681ac46eb51.js.orig
wget http://demo.gitlab.com/assets/application-aea7cd932ec25e5fd1acefba5d3137c6.js
cp application-aea7cd932ec25e5fd1acefba5d3137c6.js application-7d93083de17aed493e725681ac46eb51.js
You can find a saved copy of the orig file under: http://www.digitec.de/ses/tmp/application-7d93083de17aed493e725681ac46eb51.js.orig
System information
System: Debian 7.1
Current User: root
Using RVM: no
Ruby Version: 1.9.3p194
Gem Version: 1.8.23
Bundler Version:1.1.4
Rake Version: 10.0.4
GitLab information
Version: 5.3.0
Revision: e1c473c
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: https://git.digitec.de
HTTP Clone URL: https://git.digitec.de/some-project.git
SSH Clone URL: git (AAT) git.digitec.de:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.4.0
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
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.4.0 ? ... OK (1.4.0)
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? ... yes
post-receive hooks in repos are links: ...
agorum_workflow ... ok
ses-main ... ok
ses-ox ... ok
top_beispiel ... repository is empty
...
gitlab-shell ... ok
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? ...
agorum_workflow ... yes
...
gitlab-shell ... 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
Best Regads Sven Anders