Random HTTP 500 errors after updating to 12.2.0
After updating from 12.1.6 to 12.2.0 the system became unusable:
git pull
fatal: unable to access 'https://maximal@gitlab.mydomain.net/sijeko/project.git/': The requested URL returned error: 500
Some logs:
==> gitlab-rails/production_json.log <==
{"method":"GET","path":"/sijeko/project.git/info/refs","format":"*/*","controller":"Gitlab::RequestForgeryProtection::Controller","action":"index","status":200,"duration":0.39,"view":0.0,"db":0.0,"time":"2019-08-22T14:21:40.640Z","params":[{"key":"service","value":"git-upload-pack"}],"remote_ip":null,"user_id":null,"username":null,"ua":null,"queue_duration":null,"correlation_id":null}
==> gitlab-rails/production.log <==
Started GET "/sijeko/project.git/info/refs?service=git-upload-pack" for 95.71.123.103 at 2019-08-22 17:21:40 +0300
Processing by Gitlab::RequestForgeryProtection::Controller#index as */*
Parameters: {"service"=>"git-upload-pack"}
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms)
Redis::CommandError (ERR value is not an integer or out of range):
lib/peek/views/redis_detailed.rb:10:in `call'
lib/gitlab/middleware/read_only/controller.rb:42:in `call'
lib/gitlab/middleware/read_only.rb:18:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/request_context.rb:26:in `call'
config/initializers/fix_local_cache_middleware.rb:9:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:29:in `call'
lib/gitlab/middleware/release_env.rb:12:in `call'
gitlab-ctl restart
may help but for very short amount of time.
Edited by MaximAL