Error 500 When i signin


I can log in my self hosted Gitlab throught the url : http://xxxxx/myName
but i cannot access after the sign in form, cause i receive an ERROR 500.

I cannot acces too :



Steps to reproduce

Going to the URL :
or page after signin

Relevant logs and/or screenshots

Production.log :

Processing by SessionsController#new as HTML
  Parameters: {"session"=>{}}
Started GET "/users/sign_in" for XXXXXX at 2021-02-25 12:28:38 +0100
Processing by SessionsController#new as HTML
  Parameters: {"session"=>{}}
Completed 200 OK in 517ms (Views: 405.3ms | ActiveRecord: 72.0ms | Elasticsearch: 0.0ms | Allocations: 169164)
Completed 200 OK in 574ms (Views: 475.1ms | ActiveRecord: 69.4ms | Elasticsearch: 0.0ms | Allocations: 165743)
Started GET "/" for at 2021-02-25 18:32:45 +0100
Processing by RootController#index as HTML
Completed 500 Internal Server Error in 24164ms (ActiveRecord: 640.8ms | Elasticsearch: 0.0ms | Allocations: 886566)

ActionView::Template::Error (13:exit status 128. debug_error_string:{"created":"@1614274389.498505599","description":"Error received from peer unix:/var/opt/gitlab/gitaly/gitaly.socket","file":"src/core/lib/surface/","file_line":1055,"grpc_messa$
    25:           - if project.creator && use_creator_avatar
    26:             = image_tag avatar_icon_for_user(project.creator, 48), class: "avatar s48", alt:''
    27:           - else
    28:             = project_icon(project, alt: '', class: 'avatar project-avatar s48', width: 48, height: 48)
    29:     .project-details.d-sm-flex.flex-sm-fill.align-items-center{ data: { qa_selector: 'project_content', qa_project_name: } }
    30:       .flex-wrapper
    31:         .d-flex.align-items-center.flex-wrap.project-title

lib/gitlab/gitaly_client.rb:177:in `execute'
lib/gitlab/gitaly_client/call.rb:18:in `block in call'
lib/gitlab/gitaly_client/call.rb:55:in `recording_request'
lib/gitlab/gitaly_client/call.rb:17:in `call'
lib/gitlab/gitaly_client.rb:167:in `call'
lib/gitlab/gitaly_client/ref_service.rb:39:in `default_branch_name'
lib/gitlab/git/repository.rb:90:in `root_ref'
app/models/repository.rb:531:in `root_ref'
lib/gitlab/metrics/instrumentation.rb:160:in `block in _uncached_root_ref'
lib/gitlab/metrics/method_call.rb:27:in `measure'

Output of checks

Self hosted GITLAB CE

Results of GitLab environment info

Expand for output related to GitLab environment info : sudo gitlab-rake gitlab:env:info
System information
System:         Debian 10
Current User:   git
Using RVM:      no
Ruby Version:   2.7.2p137
Gem Version:    3.1.4
Bundler Version:2.1.4
Rake Version:   13.0.3
Redis Version:  6.0.10
Git Version:    2.29.0
Sidekiq Version:5.2.9
Go Version:     unknown

GitLab information
Version: 13.9.1
Revision: 03979b4aaf0
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 12.5
URL: http://xxxxxxxxxxxxxxxxx
HTTP Clone URL: http://xxxxxxxxxxxxxxxxx/some-group/some-project.git
SSH Clone URL: ssh://xxxxxxxxxxxxxxxxx/some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:

GitLab Shell
Version: 13.16.1
Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories
    GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
    Git: /opt/gitlab/embedded/bin/git
Expand for output related to GitLab environment info :

sudo gitlab-rake gitlab:check SANITIZE=true

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

Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 13.16.1 ? ... OK (13.16.1)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Internal API available: OK
Redis available via internal API: OK
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

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

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

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? ... yes
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/1 ... yes
8/3 ... yes
8/4 ... yes
3/37 ... yes
Redis version >= 4.0.0? ... yes
Ruby version >= 2.7.2 ? ... yes (2.7.2)
Git version >= 2.29.0 ? ... yes (2.29.0)
Git user has default SSH configuration? ... yes
Active users: ... 3
Is authorized keys file accessible? ... yes
GitLab configured to store new projects in hashed storage? ... yes
All projects are in hashed storage? ... yes

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

No body can help me: :sleepy: :smiling_face_with_three_hearts: :smiling_face_with_three_hearts: