ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::EXPR_ARG):

Summary

After Fresh install i get this error when i open in browser:

Started GET "/users/sign_in" for 88.152.201.109 at 2018-05-14 09:37:33 +0200
Processing by SessionsController#new as HTML
Completed 500 Internal Server Error in 22ms (ActiveRecord: 2.0ms)

ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::EXPR_ARG):
    1: %ul.nav-links.new-session-tabs{ role: 'tablist' }
    2:   %li.active{ role: 'presentation' }
    3:     %a{ href: '#login-pane', data: { toggle: 'tab' }, role: 'tab' } Sign in
    4:   - if allow_signup?
  app/views/devise/shared/_tabs_normal.html.haml:1:in `_app_views_devise_shared__tabs_normal_html_haml__2794089085821054632_70035868670420'
  app/views/devise/sessions/new.html.haml:7:in `_app_views_devise_sessions_new_html_haml__2610191576285931848_70035867494160'
  app/controllers/sessions_controller.rb:22:in `new'
  lib/gitlab/i18n.rb:50:in `with_locale'
  lib/gitlab/i18n.rb:56:in `with_user_locale'
  app/controllers/application_controller.rb:351:in `set_locale'
  lib/gitlab/middleware/multipart.rb:95:in `call'
  lib/gitlab/request_profiler/middleware.rb:14:in `call'
  lib/gitlab/middleware/go.rb:17:in `call'
  lib/gitlab/etag_caching/middleware.rb:11:in `call'
  lib/gitlab/middleware/read_only/controller.rb:28:in `call'
  lib/gitlab/middleware/read_only.rb:16:in `call'
  lib/gitlab/request_context.rb:18:in `call'
  lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
  lib/gitlab/middleware/release_env.rb:10:in `call'

Steps to reproduce

(How one can reproduce the issue - this is very important)

What is the current bug behavior?

When i open in Browser i get: Whoops, something went wrong on our end.

What is the expected correct behavior?

The Login form from gitlab

Relevant logs and/or screenshots

Started GET "/users/sign_in" for 88.152.201.109 at 2018-05-14 09:37:33 +0200
Processing by SessionsController#new as HTML
Completed 500 Internal Server Error in 22ms (ActiveRecord: 2.0ms)

ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::EXPR_ARG):
    1: %ul.nav-links.new-session-tabs{ role: 'tablist' }
    2:   %li.active{ role: 'presentation' }
    3:     %a{ href: '#login-pane', data: { toggle: 'tab' }, role: 'tab' } Sign in
    4:   - if allow_signup?
  app/views/devise/shared/_tabs_normal.html.haml:1:in `_app_views_devise_shared__tabs_normal_html_haml__2794089085821054632_70035868670420'
  app/views/devise/sessions/new.html.haml:7:in `_app_views_devise_sessions_new_html_haml__2610191576285931848_70035867494160'
  app/controllers/sessions_controller.rb:22:in `new'
  lib/gitlab/i18n.rb:50:in `with_locale'
  lib/gitlab/i18n.rb:56:in `with_user_locale'
  app/controllers/application_controller.rb:351:in `set_locale'
  lib/gitlab/middleware/multipart.rb:95:in `call'
  lib/gitlab/request_profiler/middleware.rb:14:in `call'
  lib/gitlab/middleware/go.rb:17:in `call'
  lib/gitlab/etag_caching/middleware.rb:11:in `call'
  lib/gitlab/middleware/read_only/controller.rb:28:in `call'
  lib/gitlab/middleware/read_only.rb:16:in `call'
  lib/gitlab/request_context.rb:18:in `call'
  lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'
  lib/gitlab/middleware/release_env.rb:10:in `call'

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

Expand for output related to GitLab environment info

System information System: Debian 8 Current User: git Using RVM: no Ruby Version: 2.5.1p57 Gem Version: 2.7.6 Bundler Version:1.16.1 Rake Version: 12.3.1 Redis Version: 4.0.9 Git Version: 2.17.0 Sidekiq Version:5.0.5 Go Version: go1.8.5 linux/amd64

GitLab information Version: 10.8.0-rc8 Revision: 6f2c90b899 Directory: /home/git/gitlab DB Adapter: postgresql URL: https://git.wo-games.net HTTP Clone URL: https://git.wo-games.net/some-group/some-project.git SSH Clone URL: git@git.wo-games.net:some-group/some-project.git Using LDAP: no Using Omniauth: no

GitLab Shell Version: 7.1.2 Repository storage paths:

  • default: /home/git/repositories Hooks: /home/git/gitlab-shell/hooks Git: /usr/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check

Checking GitLab Shell ...

GitLab Shell version >= 7.1.2 ? ... OK (7.1.2) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... can't check, you have no projects Running /home/git/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK

Access to /home/git/.ssh/authorized_keys: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

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

Checking Sidekiq ... Finished

Reply by email is disabled in config/gitlab.yml Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... skipped (no tmp uploads folder yet) Init script exists? ... yes Init script up-to-date? ... yes Projects have namespace: ... can't check, you have no projects Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.5.1) Git version >= 2.9.5 ? ... yes (2.17.0) Git user has default SSH configuration? ... yes Active users: ... 1

Checking GitLab ... Finished

Edited by Mogelbaum