To-Do List page get 500 error
Summary
Every user on our self-hosted instance gets 500 error when click To-Do List page
Steps to reproduce
Nothing to do.it happens since we updated 15.7.5 version of gitlab-ce.
What is the current bug behavior?
Can't see To-Do list page.
All pages it normal, except the to-do list:
500
Whoops, something went wrong on our end.
What is the expected correct behavior?
Able to see To-Do list page.
Relevant logs and/or screenshots
gitlab-rails/production.log
{"method":"GET","path":"/dashboard/todos","format":"html","controller":"Dashboard::TodosController","action":"index","status":500,"time":"2023-01-30T08:07:40.503Z","params":[],"correlation_id":"01GR0VFBGHV1GQPY8Q0N2X0RTH","meta.caller_id":"Dashboard::TodosController#index","meta.remote_ip":"#ourremoteip","meta.feature_category":"team_planning","meta.user":"#username","meta.user_id":62,"meta.client_id":"user/62","remote_ip":"#ourremoteip","user_id":62,"username":"#username","ua":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15","request_urgency":"low","target_duration_s":5,"cf_ray":"7918b71cb956ba8b-MXP","redis_calls":12,"redis_allowed_cross_slot_calls":1,"redis_duration_s":0.002653,"redis_read_bytes":1328,"redis_write_bytes":44776,"redis_cache_calls":7,"redis_cache_duration_s":0.001937,"redis_cache_read_bytes":1044,"redis_cache_write_bytes":43567,"redis_sessions_calls":4,"redis_sessions_allowed_cross_slot_calls":1,"redis_sessions_duration_s":0.000542,"redis_sessions_read_bytes":284,"redis_sessions_write_bytes":1155,"redis_shared_state_calls":1,"redis_shared_state_duration_s":0.000174,"redis_shared_state_write_bytes":54,"db_count":30,"db_write_count":0,"db_cached_count":3,"db_replica_count":0,"db_primary_count":30,"db_main_count":30,"db_main_replica_count":0,"db_replica_cached_count":0,"db_primary_cached_count":3,"db_main_cached_count":3,"db_main_replica_cached_count":0,"db_replica_wal_count":0,"db_primary_wal_count":0,"db_main_wal_count":0,"db_main_replica_wal_count":0,"db_replica_wal_cached_count":0,"db_primary_wal_cached_count":0,"db_main_wal_cached_count":0,"db_main_replica_wal_cached_count":0,"db_replica_duration_s":0.0,"db_primary_duration_s":0.079,"db_main_duration_s":0.079,"db_main_replica_duration_s":0.0,"cpu_s":0.165322,"mem_objects":69701,"mem_bytes":6579206,"mem_mallocs":26675,"mem_total_bytes":9367246,"pid":579939,"worker_id":"puma_3","rate_limiting_gates":[],"exception.class":"ActionView::Template::Error","exception.message":"undefined method `name' for nil:NilClass","exception.backtrace":["app/helpers/todos_helper.rb:62:in `todo_parent_path'","app/views/dashboard/todos/_todo.html.haml:15","app/views/dashboard/todos/index.html.haml:82","app/controllers/application_controller.rb:142:in `render'","app/controllers/application_controller.rb:533:in `set_current_admin'","lib/gitlab/session.rb:11:in `with_session'","app/controllers/application_controller.rb:524:in `set_session_storage'","lib/gitlab/i18n.rb:107:in `with_locale'","lib/gitlab/i18n.rb:113:in `with_user_locale'","app/controllers/application_controller.rb:512:in `set_locale'","app/controllers/application_controller.rb:506:in `set_current_context'","lib/gitlab/middleware/memory_report.rb:13:in `call'","lib/gitlab/middleware/speedscope.rb:13:in `call'","lib/gitlab/database/load_balancing/rack_middleware.rb:23:in `call'","lib/gitlab/jira/middleware.rb:19:in `call'","lib/gitlab/middleware/go.rb:20:in `call'","lib/gitlab/etag_caching/middleware.rb:21:in `call'","lib/gitlab/middleware/query_analyzer.rb:11:in `block in call'","lib/gitlab/database/query_analyzer.rb:37:in `within'","lib/gitlab/middleware/query_analyzer.rb:11:in `call'","lib/gitlab/middleware/multipart.rb:173:in `call'","lib/gitlab/middleware/read_only/controller.rb:50:in `call'","lib/gitlab/middleware/read_only.rb:18:in `call'","lib/gitlab/middleware/same_site_cookies.rb:27:in `call'","lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call'","lib/gitlab/middleware/basic_health_check.rb:25:in `call'","lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call'","lib/gitlab/middleware/request_context.rb:21:in `call'","lib/gitlab/middleware/webhook_recursion_detection.rb:15:in `call'","config/initializers/fix_local_cache_middleware.rb:11:in `call'","lib/gitlab/middleware/compressed_json.rb:37:in `call'","lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call'","lib/gitlab/middleware/sidekiq_web_static.rb:20:in `call'","lib/gitlab/metrics/requests_rack_middleware.rb:77:in `call'","lib/gitlab/middleware/release_env.rb:13:in `call'"],"db_duration_s":0.02346,"view_duration_s":0.0,"duration_s":0.15263}
Output of checks
Results of GitLab environment info
Gitlab-ce 15.7.5 docker installation
Expand for output related to GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.7.7p221 Gem Version: 3.1.6 Bundler Version:2.3.15 Rake Version: 13.0.6 Redis Version: 6.2.8 Sidekiq Version:6.5.7 Go Version: unknown GitLab information Version: 15.7.5 Revision: 358d690d91c Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 13.8 URL: http://repo.bulutmd.com HTTP Clone URL: http://repo.bulutmd.com/some-group/some-project.git SSH Clone URL: git@repo.bulutmd.com:some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 14.14.0 Repository storages: - default: unix:/var/opt/gitlab/gitaly/gitaly.socket GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 14.14.0 ? ... OK (14.14.0) 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 (cluster/worker) ... 1/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 ...
Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Cable config exists? ... yes Resque config exists? ... 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 Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units) Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has neither init script nor systemd units) Projects have namespace: ... 165/1 ... yes 154/3 ... yes 163/4 ... yes 162/5 ... yes 140/6 ... yes 11/7 ... yes 14/8 ... yes 14/9 ... yes 154/10 ... yes 154/11 ... yes 154/12 ... yes 154/13 ... yes 154/14 ... yes 14/15 ... yes 150/17 ... yes 164/18 ... yes 158/19 ... yes 158/20 ... yes 159/21 ... yes 128/22 ... yes 156/23 ... yes 156/24 ... yes 152/25 ... yes 154/26 ... yes 154/28 ... yes 134/29 ... yes 14/30 ... yes 9/31 ... yes 9/32 ... yes 11/35 ... yes 11/36 ... yes 11/37 ... yes 128/38 ... yes 14/39 ... yes 14/40 ... yes 14/41 ... yes 155/42 ... yes 128/43 ... yes 128/44 ... yes 14/45 ... yes 14/46 ... yes 154/47 ... yes 14/48 ... yes 14/49 ... yes 8/50 ... yes 14/51 ... yes 150/52 ... yes 14/54 ... yes 140/55 ... yes 142/56 ... yes 142/57 ... yes 140/58 ... yes 150/59 ... yes 14/60 ... yes 14/61 ... yes 161/62 ... yes 150/64 ... yes 128/65 ... yes 166/67 ... yes 14/68 ... yes 26/69 ... yes 128/70 ... yes 14/71 ... yes 14/72 ... yes 14/74 ... yes 28/76 ... yes 138/77 ... yes 160/79 ... yes 150/80 ... yes 139/81 ... yes 139/82 ... yes 160/84 ... yes 138/86 ... yes 128/87 ... yes 138/89 ... yes 183/90 ... yes 28/91 ... yes 183/93 ... yes 28/96 ... yes 40/97 ... yes 149/98 ... yes 31/99 ... yes 31/100 ... yes 31/101 ... yes 31/102 ... yes 31/103 ... yes 31/104 ... yes 31/105 ... yes 31/106 ... yes 31/107 ... yes 31/108 ... yes 28/109 ... yes 40/111 ... yes 40/112 ... yes 40/113 ... yes 183/118 ... yes 31/119 ... yes 183/120 ... yes 183/121 ... yes 183/122 ... yes 140/123 ... yes 140/125 ... yes 141/129 ... yes 141/130 ... yes 46/131 ... yes 150/132 ... yes 134/133 ... yes 150/134 ... yes 134/136 ... yes 14/137 ... yes 148/138 ... yes 148/139 ... yes 138/140 ... yes 159/141 ... yes 142/143 ... yes 148/144 ... yes 142/145 ... yes 40/150 ... yes 138/151 ... yes 40/152 ... yes 40/153 ... yes 148/154 ... yes 131/155 ... yes 131/156 ... yes 135/157 ... yes 63/158 ... yes 135/159 ... yes 147/161 ... yes 63/163 ... yes 58/166 ... yes 58/167 ... yes 58/168 ... yes 150/169 ... yes 63/170 ... yes 105/171 ... yes 63/172 ... yes 63/173 ... yes 105/174 ... yes 131/176 ... yes 31/177 ... yes 128/178 ... yes 131/179 ... yes 54/180 ... yes 146/181 ... yes 4/182 ... yes 146/183 ... yes 146/184 ... yes 146/185 ... yes 151/186 ... yes 148/187 ... yes 63/188 ... yes 5/190 ... yes 31/191 ... yes 105/192 ... yes 31/193 ... yes 63/194 ... yes 63/195 ... yes 14/196 ... yes 14/197 ... yes 5/200 ... yes 14/201 ... yes 14/202 ... yes 105/203 ... yes 14/204 ... yes 4/205 ... yes 108/206 ... yes 54/207 ... yes 4/208 ... yes 4/209 ... yes 4/210 ... yes 108/211 ... yes 143/212 ... yes 108/213 ... yes 14/214 ... yes 100/215 ... yes 143/217 ... yes 14/218 ... yes 14/219 ... yes 54/220 ... yes 120/221 ... yes 108/222 ... yes 127/223 ... yes 108/224 ... yes 108/225 ... yes 137/229 ... yes 137/232 ... yes 14/233 ... yes 108/234 ... yes 99/235 ... yes 14/236 ... yes 108/238 ... yes 14/239 ... yes 178/240 ... yes 114/241 ... yes 167/243 ... yes 108/244 ... yes 116/245 ... yes 127/246 ... yes 116/247 ... yes 30/248 ... yes 117/249 ... yes 117/250 ... yes 117/251 ... yes 117/252 ... yes 168/256 ... yes 150/257 ... yes 117/259 ... yes 127/260 ... yes 178/261 ... yes 193/262 ... yes 193/263 ... yes 193/264 ... yes 124/266 ... yes 127/267 ... yes 120/268 ... yes 193/269 ... yes 120/270 ... yes 117/271 ... yes 117/272 ... yes 114/273 ... yes 40/274 ... yes 14/275 ... yes 128/278 ... yes 144/279 ... yes 30/280 ... yes 114/281 ... yes 117/282 ... yes 126/285 ... yes 120/286 ... yes 127/287 ... yes 167/288 ... yes 108/289 ... yes 193/290 ... yes 193/292 ... yes 117/293 ... yes 117/294 ... yes 124/295 ... yes 169/296 ... yes 169/297 ... yes 170/298 ... yes 172/299 ... yes 172/300 ... yes 193/302 ... yes 30/303 ... yes 14/305 ... yes 174/306 ... yes 174/307 ... yes 174/308 ... yes 177/309 ... yes 193/310 ... yes 11/311 ... yes 100/312 ... yes 54/313 ... yes 180/314 ... yes 117/315 ... yes 117/316 ... yes 117/317 ... yes 117/318 ... yes 40/319 ... yes 117/320 ... yes 120/322 ... yes 191/324 ... yes 191/325 ... yes 191/326 ... yes 191/327 ... yes 191/328 ... yes 144/330 ... yes 168/331 ... yes 196/332 ... yes 195/333 ... yes 30/334 ... yes 200/335 ... yes 200/336 ... yes 200/337 ... yes 117/339 ... yes 204/340 ... yes 204/341 ... yes 206/342 ... yes 203/343 ... yes 207/345 ... yes 209/347 ... yes 209/348 ... yes 209/349 ... yes 209/350 ... yes 169/351 ... yes 209/352 ... yes 200/353 ... yes 210/354 ... yes 210/355 ... yes 206/356 ... yes 226/357 ... yes 128/358 ... yes 114/359 ... yes 213/361 ... yes 202/362 ... yes 231/363 ... yes 14/364 ... yes 218/366 ... yes 218/367 ... yes 219/368 ... yes 219/369 ... yes 224/370 ... yes 224/371 ... yes 224/377 ... yes 225/378 ... yes 225/379 ... yes 225/380 ... yes 225/381 ... yes 224/382 ... yes 224/383 ... yes 224/384 ... yes 224/385 ... yes 224/386 ... yes 224/387 ... yes 222/389 ... yes 222/390 ... yes 226/391 ... yes 226/392 ... yes 227/393 ... yes 224/394 ... yes 224/395 ... yes 224/396 ... yes 131/397 ... yes 224/398 ... yes 223/399 ... yes 191/400 ... yes 224/401 ... yes 224/402 ... yes 224/403 ... yes 174/404 ... yes 124/405 ... yes 191/406 ... yes 224/407 ... yes 40/408 ... yes 40/409 ... yes 224/410 ... yes 226/411 ... yes 231/412 ... yes 124/413 ... yes 232/415 ... yes 231/416 ... yes 224/417 ... yes 190/418 ... yes 223/420 ... yes 124/421 ... yes 203/423 ... yes 128/424 ... yes 128/425 ... yes 201/426 ... yes 597/427 ... yes 597/428 ... yes 597/429 ... yes 597/430 ... yes 597/431 ... yes 224/432 ... yes 224/434 ... yes 618/439 ... yes 170/440 ... yes 617/441 ... yes 224/442 ... yes 619/443 ... yes 114/444 ... yes 626/445 ... yes 231/446 ... yes 231/447 ... yes 595/449 ... yes 618/450 ... yes 617/451 ... yes 618/452 ... yes 597/453 ... yes 193/455 ... yes 639/456 ... yes Redis version >= 6.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.7) Git user has default SSH configuration? ... yes Active users: ... 38 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
