500 error after upgrading from 8.8.5 to 8.9.1 CE
We have just now upgraded to 8.9 and I see an 500 error page only in some projects (not all of them).
System information:
System information
System: Ubuntu 14.04
Current User: git
Using RVM: no
Ruby Version: 2.1.2p95
Gem Version: 2.2.2
Bundler Version:1.7.3
Rake Version: 10.5.0
Sidekiq Version:4.1.2
GitLab information
Version: 8.9.1
Revision: e24601c
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://10.40.32.1:8079
HTTP Clone URL: http://10.40.32.1:8079/some-group/some-project.git
SSH Clone URL: git@10.40.32.1:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 3.0.0
Repositories: /git/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
And the error generated when visiting the URL http://10.40.32.1:8079/sred/adobeconnect (community edition on-premise, at 8.9.1) is as follows:
Started GET "/sred/adobeconnect" for 127.0.0.1 at 2016-06-27 11:54:32 +0200
Processing by ProjectsController#show as HTML
Parameters: {"namespace_id"=>"sred", "id"=>"adobeconnect"}
Completed 500 Internal Server Error in 46ms (ActiveRecord: 11.7ms)
ArgumentError (key must be 32 bytes or longer):
app/models/project.rb:456:in `import_url'
app/models/project.rb:486:in `external_import?'
app/models/project.rb:478:in `import?'
app/models/project.rb:494:in `import_in_progress?'
app/controllers/projects_controller.rb:93:in `show'
lib/gitlab/middleware/go.rb:16:in `call'
I also saw after running sudo -u git -H bundle install --without postgres development test --deployment
:
....
Using wikicloth 0.8.1
Your bundle is complete!
Gems in the groups postgres, development and test were not installed.
It was installed into ./vendor/bundle
Post-install message from encryptor:
Please be aware that Encryptor v2.0.0 had a major security bug when using AES-*-GCM algorithms.
By default You will not be able to decrypt data that was previously encrypted using an AES-*-GCM algorithm.
Please see the README and https://github.com/attr-encrypted/encryptor/pull/22 for more information.
Post-install message from attr_encrypted:
WARNING: Several insecure default options and features were deprecated in attr_encrypted v2.0.0.
Additionally, there was a bug in Encryptor v2.0.0 that insecurely encrypted data when using an AES-*-GCM algorithm.
This bug was fixed but introduced breaking changes between v2.x and v3.x.
Please see the README for more information regarding upgrading to attr_encrypted v3.0.0.
I found it strange that only some projects produce this error 500.
Another note: if I visit http://10.40.32.1:8079/sred/adobeconnect/issues, it works ok. Also for the rest of projects which the main project page does not work.
Any idea why is this produced? Any idea how I can solve it? Any other installation with the same problem?