execute[clear the gitlab-rails cache] (gitlab::gitlab-rails line 426) had an error

When trying to execute 'gitlab-ctl reconfigure' get

execute[clear the gitlab-rails cache] (gitlab::gitlab-rails line 426) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ---- STDOUT: bundler: failed to load command: rake (/opt/gitlab/embedded/service/gitlab-rails/vendor/bundle/ruby/2.6.0/bin/rake) STDERR: Bundler::GemNotFound: Could not find RedCloth-4.3.2 in any of the sources /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/spec_set.rb:91:in block in materialize' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/spec_set.rb:85:in map!' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/spec_set.rb:85:in materialize' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/definition.rb:170:in specs' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/definition.rb:237:in specs_for' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/definition.rb:226:in requested_specs' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:108:in block in definition_method' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:20:in setup' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler.rb:107:in setup' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bundler/setup.rb:20:in <top (required)>' /opt/gitlab/embedded/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' /opt/gitlab/embedded/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' ---- End output of /opt/gitlab/bin/gitlab-rake cache:clear ---- Ran /opt/gitlab/bin/gitlab-rake cache:clear returned 1

Edited by rocket