GitLab is not able to show RAW files. Whenever I click on the RAW button it ends with WSOD.

Summary

GitLab is not able to show RAW files. Whenever I click on the RAW button it ends with WSOD.

Steps to reproduce

Easy. Click on the RAW button on any file in the repo.

Expected behavior

The RAW file itself.

Actual behavior

WSOD.

Relevant logs and/or screenshots

You can imagine, it's a WSOD. Nothing on the screen. Really nothing.

Output of checks

Results of GitLab application Check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: 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: ... 2/34 ... ok 2/35 ... ok 2/36 ... ok 2/37 ... ok 2/38 ... ok 2/39 ... ok 2/40 ... ok 2/41 ... ok 2/42 ... ok 2/43 ... ok 2/44 ... ok 2/45 ... ok 2/46 ... ok 2/47 ... ok 2/48 ... ok 2/49 ... ok 2/50 ... ok 2/51 ... ok 2/52 ... ok 2/53 ... ok 2/54 ... ok 2/55 ... ok 2/56 ... ok 2/57 ... ok 2/58 ... ok 2/59 ... ok 1/60 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: FAILED: Failed to connect to internal API gitlab-shell self-check failed Try fixing it: Make sure GitLab is running; Check the gitlab-shell configuration file: sudo -u git -H editor /opt/gitlab/embedded/service/gitlab-shell/config.yml Please fix the error above and rerun the checks.

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 is disabled in config/gitlab.yml

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/34 ... yes 2/35 ... yes 2/36 ... yes 2/37 ... yes 2/38 ... yes 2/39 ... yes 2/40 ... yes 2/41 ... yes 2/42 ... yes 2/43 ... yes 2/44 ... yes 2/45 ... yes 2/46 ... yes 2/47 ... yes 2/48 ... yes 2/49 ... yes 2/50 ... yes 2/51 ... yes 2/52 ... yes 2/53 ... yes 2/54 ... yes 2/55 ... yes 2/56 ... yes 2/57 ... yes 2/58 ... yes 2/59 ... yes 1/60 ... 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: 1

Checking GitLab ... Finished

Results of GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

System information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.3.1p112 Gem Version: 2.6.6 Bundler Version:1.13.5 Rake Version: 10.5.0 Sidekiq Version:4.2.1

GitLab information Version: 8.13.3 Revision: 8d79ab3a Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://gitlab.xxx.net HTTP Clone URL: https://gitlab.xxx.net/some-group/some-project.git SSH Clone URL: git@gitlab.xxx.net:some-group/some-project.git Using LDAP: no Using Omniauth: no

GitLab Shell Version: 3.6.6 Repository storage paths:

  • default: /home/xxx/devel/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/ Git: /opt/gitlab/embedded/bin/git

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Possible fixes

I have no idea.

Assignee Loading
Time tracking Loading