undefined method `empty?' for 1:Integer
Trying to upgrade omnibus gitlab from 13.1.4 to 13.2.0 getting error
Error executing action `create` on resource 'template[/var/opt/gitlab/nginx/conf/gitlab-http.conf]'
...
undefined method `empty?' for 1:Integer
In my config I have:
...
nginx['redirect_http_to_https'] = true
nginx['proxy_set_headers'] = { 'X-GitLab-Show-Login-Captcha' => 1 }
nginx['client_max_body_size'] = '2048m'
...
Please see log file:
Update: After remove
nginx['proxy_set_headers'] = { 'X-GitLab-Show-Login-Captcha' => 1 }
upgrade successfully.
Edited by Бурцев Юрий