500 Error on Bitbucket import
I recently upgraded from 7.11.4 to 7.12.0 on our CentOS7 machine, using the repository/omnibus packages (community edition). I have configured the Bitbucket import according to these instructions. After I configured, running the previous version, I successfully imported several projects from Bitbucket. After upgrade, if I tried to import another project, I would see the list of available projects, but if I clicked import on any of them (even my private ones), I would get an "access denied, check that you are allowed to add deployment keys" error.
I then thought maybe there is something wrong with the access keys, so I generated a new application key on Bitbucket, and deleted/reauthenticated my account, and ran 'gitlab-ctl reconfigure' etc. Now I do not see a list of available applications anymore, but just a '500 error, something went wrong'.
I see the same error in the log files in nginx/gitlab_access.log and gitlab-rails/production.log, but have not found more detailed information of what is failing in any of the log files.
...
gitlab-rails/production.log:Completed 500 Internal Server Error in 529ms (ActiveRecord: 5.1ms)
...
nginx/gitlab_access.log:194.00.000.00 - - [24/Jun/2015:17:47:35 +0200] "GET /import/bitbucket/status HTTP/1.1" 500 415 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0"
nginx/gitlab_access.log:194.00.000.00 - - [24/Jun/2015:17:47:37 +0200] "GET /import/bitbucket/status HTTP/1.1" 500 415 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0"