500 - Whoops, something went wrong on our end.

Summary

hello,

we are getting 500 error.

Steps to reproduce

Force Refresh Windows 10 / Firefox 51.0.1 : ctrl + F5

What is the current bug behavior?

the error "Whoops, something went wrong on our end." appears after upgrade.

What is the expected correct behavior?

No 500 error should appear.

Relevant logs and/or screenshots

/var/log/gitlab/gitlab-rails/production.log

ompleted 500 Internal Server Error in 52ms (ActiveRecord: 5.1ms | Elasticsearch: 0.0ms)

ActionView::Template::Error (exception object expected):
     7: - skip_namespace = false unless local_assigns[:skip_namespace] == true
     8: - show_last_commit_as_description = false unless local_assigns[:show_last_commit_as_description] == true
     9: - remote = false unless local_assigns[:remote] == true
    10: - load_pipeline_status(projects)
    11:
    12: .js-projects-list-holder
    13:   - if projects.any?
  lib/gitlab/cache/ci/project_pipeline_status.rb:27:in `block in cached_results_for_projects'
  lib/gitlab/redis.rb:19:in `block in with'
  lib/gitlab/redis.rb:19:in `with'
  lib/gitlab/cache/ci/project_pipeline_status.rb:26:in `cached_results_for_projects'
  lib/gitlab/cache/ci/project_pipeline_status.rb:19:in `load_in_batch_for_projects'
  app/helpers/projects_helper.rb:191:in `load_pipeline_status'
  app/views/shared/projects/_list.html.haml:10:in `_app_views_shared_projects__list_html_haml__2989847028883841196_70005214989820'
  app/views/dashboard/projects/_projects.html.haml:1:in `_app_views_dashboard_projects__projects_html_haml___3994018388736151431_70005215359140'
  app/views/dashboard/projects/index.html.haml:19:in `_app_views_dashboard_projects_index_html_haml__4542332512356797384_70005202553580'
  app/controllers/dashboard/projects_controller.rb:10:in `index'
  app/controllers/root_controller.rb:16:in `index'
  lib/gitlab/i18n.rb:39:in `with_locale'
  lib/gitlab/i18n.rb:45:in `with_user_locale'
  app/controllers/application_controller.rb:307:in `set_locale'
  lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in `call'
  lib/gitlab/middleware/multipart.rb:93:in `call'
  lib/gitlab/request_profiler/middleware.rb:14:in `call'
  lib/gitlab/middleware/go.rb:16:in `call'
  lib/gitlab/etag_caching/middleware.rb:11:in `call'
  lib/gitlab/middleware/readonly_geo.rb:30:in `call'
  lib/gitlab/request_context.rb:18:in `call'

Completed 500 Internal Server Error in 17ms (ActiveRecord: 1.7ms | Elasticsearch: 0.0ms)

NoMethodError (undefined method `bytesize' for 1:Fixnum
Did you mean?  bytes):
  lib/gitlab/auth.rb:171:in `lfs_token_check'
  lib/gitlab/auth.rb:33:in `find_for_git_client'
  app/controllers/projects/git_http_client_controller.rb:128:in `handle_basic_authentication'
  app/controllers/projects/git_http_client_controller.rb:35:in `authenticate_user'
  lib/gitlab/i18n.rb:39:in `with_locale'
  lib/gitlab/i18n.rb:45:in `with_user_locale'
  app/controllers/application_controller.rb:307:in `set_locale'
  lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in `call'
  lib/gitlab/middleware/multipart.rb:93:in `call'
  lib/gitlab/request_profiler/middleware.rb:14:in `call'
  lib/gitlab/middleware/go.rb:16:in `call'
  lib/gitlab/etag_caching/middleware.rb:11:in `call'
  lib/gitlab/middleware/readonly_geo.rb:30:in `call'
  lib/gitlab/request_context.rb:18:in `call'

--
Completed 500 Internal Server Error in 12ms (ActiveRecord: 1.2ms | Elasticsearch: 0.0ms)

Redis::CommandError (ERR unknown command '$24'):
  lib/gitlab/lfs_token.rb:22:in `block in token'
  lib/gitlab/redis.rb:19:in `block in with'
  lib/gitlab/redis.rb:19:in `with'
  lib/gitlab/lfs_token.rb:21:in `token'
  lib/gitlab/auth.rb:171:in `lfs_token_check'
  lib/gitlab/auth.rb:33:in `find_for_git_client'
  app/controllers/projects/git_http_client_controller.rb:128:in `handle_basic_authentication'
  app/controllers/projects/git_http_client_controller.rb:35:in `authenticate_user'

Results of GitLab environment info

`System information
System:         Debian 8.8
Proxy:          no
Current User:   git
Using RVM:      no
Ruby Version:   2.3.3p222
Gem Version:    2.6.6
Bundler Version:1.13.7
Rake Version:   10.5.0
Redis Version:  3.2.5
Git Version:    2.13.0
Sidekiq Version:5.0.0
Go Version:     unknown

GitLab information
Version:        9.3.0-ee
Revision:       7523f02
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     postgresql
DB Version:     9.6.3
URL:            https://gitlab.xxx.com
HTTP Clone URL: https://gitlab.xxx.com/some-group/some-project.git
SSH Clone URL:  git@gitlab.xxx.com:some-group/some-project.git
Elasticsearch:  no
Geo:            no
Using LDAP:     yes
Using Omniauth: no

GitLab Shell
Version:        5.0.5
Repository storage paths:
- default:      /var/opt/gitlab/git-data/repositories
Hooks:          /opt/gitlab/embedded/service/gitlab-shell/hooks
Git:            /opt/gitlab/embedded/bin/git
Edited Jun 23, 2017 by iamdevnull
Assignee Loading
Time tracking Loading