500 error trying to archive project

Summary

When I try to archive the project, I get 500 error:

(500 Whoops, something went wrong on our end. Try refreshing the page, or going back and attempting the action again. Please contact your GitLab administrator if this problem persists.)

I use Git version 12.4.0 but on previous versions, it happened also.

Steps to reproduce

  1. Choose project
  2. Settings -> General -> Advanced -> press 'Archive project'
  3. Getting window with 500 error

What is the expected correct behavior?

The project has to get archived.

Relevant logs and/or screenshots

==> /var/log/gitlab/nginx/gitlab_access.log <==
192.168.11.125 - - [30/Oct/2019:07:21:20 -0500] "POST /application/security-bundle/archive HTTP/2.0" 500 2926 "https://git.company.com/application/security-bundle/edit" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36"

==> /var/log/gitlab/gitlab-rails/production.log <==
Started POST "/application/security-bundle/archive" for 192.168.11.125 at 2019-10-30 07:21:20 -0500
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
  Parameters: {"authenticity_token"=>"[FILTERED]"}
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms)
Processing by ProjectsController#archive as HTML
  Parameters: {"authenticity_token"=>"[FILTERED]", "namespace_id"=>"application", "id"=>"security-bundle"}
Completed 500 Internal Server Error in 30ms (ActiveRecord: 5.2ms | Elasticsearch: 0.0ms)

OpenSSL::Cipher::CipherError ():

lib/gitlab/crypto_helper.rb:27:in `aes256_gcm_decrypt'
app/models/concerns/token_authenticatable_strategies/encrypted.rb:45:in `get_token'
app/models/concerns/token_authenticatable_strategies/base.rb:27:in `ensure_token'
app/models/concerns/token_authenticatable_strategies/encrypted.rb:32:in `ensure_token'
app/models/concerns/token_authenticatable.rb:38:in `block in add_authentication_token_field'
app/services/projects/update_service.rb:23:in `execute'
app/controllers/projects_controller.rb:168:in `archive'
lib/gitlab/session.rb:11:in `with_session'
app/controllers/application_controller.rb:461:in `set_session_storage'
lib/gitlab/i18n.rb:55:in `with_locale'
lib/gitlab/i18n.rb:61:in `with_user_locale'
app/controllers/application_controller.rb:455:in `set_locale'
lib/gitlab/request_profiler/middleware.rb:17:in `call'
lib/gitlab/middleware/go.rb:20:in `call'
lib/gitlab/etag_caching/middleware.rb:13:in `call'
lib/gitlab/middleware/correlation_id.rb:16:in `block in call'
lib/gitlab/middleware/correlation_id.rb:15:in `call'
lib/gitlab/middleware/multipart.rb:117:in `call'
lib/gitlab/middleware/read_only/controller.rb:48: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:32:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:49:in `call'
lib/gitlab/middleware/release_env.rb:12:in `call'

500

Please, if this known problem let me know how to fix it. Thanks!

Edited Oct 30, 2019 by Andrii Yermakov
Assignee Loading
Time tracking Loading