Error - gitlab-crt reconfigure

Hello

I have this error when i run “gitlab-crt reconfigure” :

--------- ERROR ------------------------------>
[2023-12-21T15:02:34+01:00] ERROR: Running exception handlers
There was an error running gitlab-ctl reconfigure:

rails_migration[gitlab-rails] (gitlab::database_migrations line 51) had an error: Mixlib::ShellOut::ShellCommandFailed: bash_hide_env[migrate gitlab-rails database] (gitlab::database_migrations line 20) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of “bash” ----
STDOUT: rake aborted!
Feature::InvalidFeatureFlagError: Feature flag ‘advanced_global_search_for_limited_indexing’ is already defined in ‘/opt/gitlab/embedded/service/gitlab-rails/ee/config/feature_flags/development/advanced_global_search_for_limited_indexing.yml’
/opt/gitlab/embedded/service/gitlab-rails/lib/feature/definition.rb:185:in block in load_all_from_path!' /opt/gitlab/embedded/service/gitlab-rails/lib/feature/definition.rb:181:in each’
/opt/gitlab/embedded/service/gitlab-rails/lib/feature/definition.rb:181:in load_all_from_path!' /opt/gitlab/embedded/service/gitlab-rails/lib/feature/definition.rb:166:in block in load_all!’
/opt/gitlab/embedded/service/gitlab-rails/lib/feature/definition.rb:165:in each' /opt/gitlab/embedded/service/gitlab-rails/lib/feature/definition.rb:165:in each_with_object’
/opt/gitlab/embedded/service/gitlab-rails/lib/feature/definition.rb:165:in load_all!' /opt/gitlab/embedded/service/gitlab-rails/lib/feature/definition.rb:112:in reload!’
/opt/gitlab/embedded/service/gitlab-rails/lib/feature.rb:214:in register_definitions' /opt/gitlab/embedded/service/gitlab-rails/config/initializers/0_inject_feature_flags.rb:7:in <top (required)>’
/opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:7:in <top (required)>' <internal:/opt/gitlab/embedded/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:38:in require’
internal:/opt/gitlab/embedded/lib/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb:38:in require' /opt/gitlab/embedded/bin/bundle:25:in load’
/opt/gitlab/embedded/bin/bundle:25:in `’
Tasks: TOP => gitlab:db:configure => environment
(See full trace by running task with --trace)
STDERR:
---- End output of “bash” ----
Ran “bash” returned 1

---------------- ERROR -------------------->

Have you idea ?

Thanks in advance

What changes have you made in your gitlab.rb file?

advanced_global_search_for_limited_indexing which points to a database issue but I don’t know what else changed.

Hello
Thank for yours answer but i dont have modify the file “gitlab.rb”.

Can you give us a breakdown of what steps you did before getting to the gitlab-ctl reconfigure command?

Is this a fresh install or is this an instance that has been functional before?