Package: gitlab
Version: 8.11.3+dfsg1-3
Severity: important
Control: forwarded -1 https://gitlab.com/gitlab-org/gitlab-ce/issues/21564

Upgrade from 8.10.5+dfsg-3 to 8.11.3+dfsg1-3 broke some projects:

~~~~
Processing by ProjectsController#show as HTML
  Parameters: {"namespace_id"=>"team", "id"=>"myproject"}
Completed 500 Internal Server Error in 96ms (ActiveRecord: 8.8ms)

OpenSSL::Cipher::CipherError (bad decrypt):
  app/models/project.rb:489:in `import_url'
  app/models/project.rb:525:in `external_import?'
  app/models/project.rb:517:in `import?'
  app/models/project.rb:533:in `import_in_progress?'
  app/controllers/projects_controller.rb:94:in `show'
  lib/gitlab/request_profiler/middleware.rb:15:in `call'
  lib/gitlab/middleware/go.rb:16:in `call'
~~~~

To resolve the problem I had to run the following command
from gitlab rails console:

~~~~
Project.where.not(import_url: nil).each { |p| p.import_data.destroy if 
p.import_data }
~~~~

Since manual step is required to upgrade a NEWS file with instructions
would be much appreciated. It would be even better if it is possible
to automate this action.

Thanks.

-- 
Cheers,
 Dmitry Smirnov.

---

Good luck happens when preparedness meets opportunity.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to