Unable to edit repository settings.

Summary

Unable to visit the Settings->Repository page of project. This is only happening in one of our repositories (that I know of).

Steps to reproduce

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

  1. Visit the project.
  2. Hover over the settings cog.
  3. Click on "Repository"

What is the current bug behavior?

A 500 page is received.

What is the expected correct behavior?

I should be able to edit the repository's settings.

Relevant logs and/or screenshots

{"method":"GET","path":"/captiveyes/FreshServiceBundle/settings/repository","format":"html","controller":"Projects::Settings::RepositoryController","action":"show","status":500,"error":"ActionView::Template::Error: bad decrypt","duration":50.51,"view":0.0,"db":5.52,"time":"2018-03-23T17:52:01.173Z","params":[{"key":"namespace_id","value":"captiveyes"},{"key":"project_id","value":"FreshServiceBundle"}],"remote_ip":"xx.xx.xx.xx","user_id":8,"username":"david","gitaly_calls":2}

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
~⟫ sudo gitlab-rake gitlab:env:info

System information System: Ubuntu 16.04 Proxy: no Current User: git Using RVM: no Ruby Version: 2.3.6p384 Gem Version: 2.6.13 Bundler Version:1.13.7 Rake Version: 12.3.0 Redis Version: 3.2.11 Git Version: 2.14.3 Sidekiq Version:5.0.5 Go Version: unknown

GitLab information Version: 10.6.0-ee Revision: ea9f9c5 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.8 URL: https://git.bloomintelligence.com HTTP Clone URL: https://git.bloomintelligence.com/some-group/some-project.git SSH Clone URL: git@git.bloomintelligence.com:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: no

GitLab Shell Version: 6.0.4 Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check
~⟫ sudo gitlab-rake gitlab:check SANITIZE=true
Checking GitLab Shell ...

GitLab Shell version >= 6.0.4 ? ... OK (6.0.4) 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: ... 4/2 ... ok 4/3 ... ok 5/4 ... ok 4/5 ... ok 3/6 ... ok 2/7 ... ok 4/9 ... ok 4/10 ... ok 8/12 ... ok 4/15 ... ok 4/16 ... ok 4/17 ... ok 3/18 ... ok 6/19 ... ok 2/20 ... repository is empty 4/22 ... ok 4/23 ... ok 4/24 ... ok 7/26 ... ok 10/29 ... ok 7/30 ... ok 2/31 ... ok 2/32 ... ok 7/33 ... ok 10/34 ... ok 2/35 ... ok 2/36 ... ok 2/37 ... ok 10/38 ... ok 2/39 ... ok 7/40 ... ok 2/41 ... ok 4/42 ... ok 10/43 ... ok 7/44 ... ok 7/45 ... ok 7/46 ... ok 10/47 ... ok 11/48 ... ok 2/49 ... ok 2/50 ... ok 10/51 ... ok 4/52 ... ok 12/53 ... ok 10/54 ... ok 4/55 ... ok 2/56 ... ok 10/57 ... ok 4/58 ... ok 2/59 ... ok 10/60 ... ok 11/61 ... ok 2/62 ... ok 14/63 ... ok 10/64 ... ok 19/66 ... ok 21/69 ... ok 2/71 ... ok 4/72 ... ok 19/73 ... ok 2/74 ... ok 2/75 ... ok 23/76 ... ok 10/77 ... ok 4/79 ... ok 23/80 ... ok 10/81 ... ok 4/82 ... ok 23/83 ... ok 23/84 ... ok 10/85 ... ok 23/86 ... ok 2/87 ... ok 2/88 ... ok 2/89 ... ok 26/90 ... ok 26/91 ... ok 26/92 ... ok 26/93 ... ok 26/94 ... ok 27/95 ... ok 27/96 ... ok 4/97 ... ok 2/98 ... ok 23/99 ... ok 23/100 ... ok 4/101 ... ok 10/102 ... ok 23/103 ... ok 10/104 ... ok 28/105 ... ok 4/106 ... ok 29/107 ... ok 2/108 ... ok 2/109 ... ok 37/110 ... ok 23/111 ... ok 39/112 ... repository is empty 40/113 ... ok 41/114 ... ok 31/115 ... ok 27/116 ... ok 29/117 ... ok 27/118 ... ok 37/119 ... ok 46/121 ... ok 48/122 ... ok 10/123 ... ok 4/124 ... ok 46/125 ... ok 2/126 ... ok 10/127 ... ok 46/129 ... ok 10/130 ... ok 10/131 ... ok 2/132 ... ok 56/134 ... ok 56/135 ... ok 46/136 ... ok 46/137 ... ok 55/138 ... ok 46/139 ... ok 55/140 ... ok 46/141 ... ok 55/142 ... ok 46/143 ... ok 55/144 ... ok 46/145 ... ok 55/147 ... ok 4/148 ... ok 55/149 ... ok 55/150 ... ok 4/154 ... ok 60/155 ... ok 10/156 ... ok 46/159 ... ok 55/160 ... ok 60/161 ... ok 23/162 ... ok 4/163 ... ok 10/164 ... ok 60/165 ... ok 59/166 ... ok 4/167 ... ok 60/169 ... ok 4/170 ... repository is empty 51/171 ... ok 41/172 ... ok 10/173 ... ok 4/175 ... ok 10/176 ... ok 4/177 ... ok 4/178 ... ok 55/179 ... ok 59/180 ... ok 55/181 ... ok 55/182 ... ok 59/183 ... ok 59/184 ... ok 10/185 ... ok 10/186 ... ok 55/187 ... ok 66/188 ... ok 66/189 ... ok 4/190 ... ok 58/191 ... ok 66/192 ... ok 66/193 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK

Access to /var/opt/gitlab/.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? ... 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: ... 4/2 ... yes 4/3 ... yes 5/4 ... yes 4/5 ... yes 3/6 ... yes 2/7 ... yes 4/9 ... yes 4/10 ... yes 8/12 ... yes 4/15 ... yes 4/16 ... yes 4/17 ... yes 3/18 ... yes 6/19 ... yes 2/20 ... yes 4/22 ... yes 4/23 ... yes 4/24 ... yes 7/26 ... yes 10/29 ... yes 7/30 ... yes 2/31 ... yes 2/32 ... yes 7/33 ... yes 10/34 ... yes 2/35 ... yes 2/36 ... yes 2/37 ... yes 10/38 ... yes 2/39 ... yes 7/40 ... yes 2/41 ... yes 4/42 ... yes 10/43 ... yes 7/44 ... yes 7/45 ... yes 7/46 ... yes 10/47 ... yes 11/48 ... yes 2/49 ... yes 2/50 ... yes 10/51 ... yes 4/52 ... yes 12/53 ... yes 10/54 ... yes 4/55 ... yes 2/56 ... yes 10/57 ... yes 4/58 ... yes 2/59 ... yes 10/60 ... yes 11/61 ... yes 2/62 ... yes 14/63 ... yes 10/64 ... yes 19/66 ... yes 21/69 ... yes 2/71 ... yes 4/72 ... yes 19/73 ... yes 2/74 ... yes 2/75 ... yes 23/76 ... yes 10/77 ... yes 4/79 ... yes 23/80 ... yes 10/81 ... yes 4/82 ... yes 23/83 ... yes 23/84 ... yes 10/85 ... yes 23/86 ... yes 2/87 ... yes 2/88 ... yes 2/89 ... yes 26/90 ... yes 26/91 ... yes 26/92 ... yes 26/93 ... yes 26/94 ... yes 27/95 ... yes 27/96 ... yes 4/97 ... yes 2/98 ... yes 23/99 ... yes 23/100 ... yes 4/101 ... yes 10/102 ... yes 23/103 ... yes 10/104 ... yes 28/105 ... yes 4/106 ... yes 29/107 ... yes 2/108 ... yes 2/109 ... yes 37/110 ... yes 23/111 ... yes 39/112 ... yes 40/113 ... yes 41/114 ... yes 31/115 ... yes 27/116 ... yes 29/117 ... yes 27/118 ... yes 37/119 ... yes 46/121 ... yes 48/122 ... yes 10/123 ... yes 4/124 ... yes 46/125 ... yes 2/126 ... yes 10/127 ... yes 46/129 ... yes 10/130 ... yes 10/131 ... yes 2/132 ... yes 56/134 ... yes 56/135 ... yes 46/136 ... yes 46/137 ... yes 55/138 ... yes 46/139 ... yes 55/140 ... yes 46/141 ... yes 55/142 ... yes 46/143 ... yes 55/144 ... yes 46/145 ... yes 55/147 ... yes 4/148 ... yes 55/149 ... yes 55/150 ... yes 4/154 ... yes 60/155 ... yes 10/156 ... yes 46/159 ... yes 55/160 ... yes 60/161 ... yes 23/162 ... yes 4/163 ... yes 10/164 ... yes 60/165 ... yes 59/166 ... yes 4/167 ... yes 60/169 ... yes 4/170 ... yes 51/171 ... yes 41/172 ... yes 10/173 ... yes 4/175 ... yes 10/176 ... yes 4/177 ... yes 4/178 ... yes 55/179 ... yes 59/180 ... yes 55/181 ... yes 55/182 ... yes 59/183 ... yes 59/184 ... yes 10/185 ... yes 10/186 ... yes 55/187 ... yes 66/188 ... yes 66/189 ... yes 4/190 ... yes 58/191 ... yes 66/192 ... yes 66/193 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.3.6) Git version >= 2.9.5 ? ... yes (2.14.3) Git user has default SSH configuration? ... yes Active users: ... 19 Elasticsearch version 5.1 - 5.5? ... skipped (elasticsearch is disabled)

Checking GitLab ... Finished

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Assignee Loading
Time tracking Loading