[DRE-maint] Bug#993901: gitlab upgrade from 13.12.9 to 14.0.10 fails with error ArgumentError: wrong number of arguments (given 0, expected 1)/usr/share/gitlab/config/initializer

Pirate Praveen praveen at onenetbeyond.org
Wed Sep 8 15:24:06 BST 2021


On Wed, 08 Sep 2021 03:41:46 +0530 Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
 > When trying to upgrade gitlab from 13.12.9 to 14.0.10, installation
 > fails during the db migration step with error (log below)

On a fresh installation, the same error is shown in production.log when 
creating a new user.

380 Processing by RegistrationsController#create as HTML
381 Parameters: {"authenticity_token"=>"[FILTERED]", 
"new_user"=>{"first_name"=>"Pirate", "las
382 Potential spam detected for IP 192.168.150.161. Invisible Captcha 
timestamp not found in ses
383 Completed 500 Internal Server Error in 448ms (ActiveRecord: 141.2ms 
| Elasticsearch: 0.0ms |
384
385 ArgumentError (wrong number of arguments (given 0, expected 1)):
386
387 config/initializers/postgresql_cte.rb:99:in `build_arel'
388 app/models/route.rb:57:in `delete_conflicting_redirects'
389 app/controllers/registrations_controller.rb:26:in `create'
390 app/controllers/application_controller.rb:487:in `set_current_admin'
391 lib/gitlab/session.rb:11:in `with_session'
392 app/controllers/application_controller.rb:478:in 
`set_session_storage'
393 lib/gitlab/i18n.rb:99:in `with_locale'
394 lib/gitlab/i18n.rb:105:in `with_user_locale'
395 app/controllers/application_controller.rb:472:in `set_locale'
396 app/controllers/application_controller.rb:466:in 
`set_current_context'
397 lib/gitlab/middleware/speedscope.rb:13:in `call'
398 lib/gitlab/request_profiler/middleware.rb:17:in `call'
399 lib/gitlab/jira/middleware.rb:19:in `call'
400 lib/gitlab/middleware/go.rb:20:in `call'



More information about the Pkg-ruby-extras-maintainers mailing list