[gitlab-1]2016-08-13T14:34:58.019978431Z ==> /var/log/gitlab/gitlab-rails/production.log <==
[gitlab-1]2016-08-13T14:34:58.019993134Z Started GET "/wjdp/deco" for 172.17.0.9 at 2016-08-13 14:34:58 +0000
[gitlab-1]2016-08-13T14:34:58.023463926Z Processing by ProjectsController#show as HTML
[gitlab-1]2016-08-13T14:34:58.023604641Z Parameters: {"namespace_id"=>"wjdp", "id"=>"deco"}
[gitlab-1]2016-08-13T14:34:58.107556652Z Completed 500 Internal Server Error in 84ms (ActiveRecord: 3.9ms)
[gitlab-1]2016-08-13T14:34:58.121356237Z
[gitlab-1]2016-08-13T14:34:58.121376645Z OpenSSL::Cipher::CipherError (bad decrypt):
[gitlab-1]2016-08-13T14:34:58.121386022Z app/models/project.rb:487:in `import_url'
[gitlab-1]2016-08-13T14:34:58.121394458Z app/models/project.rb:523:in `external_import?'
[gitlab-1]2016-08-13T14:34:58.121402098Z app/models/project.rb:515:in `import?'
[gitlab-1]2016-08-13T14:34:58.121409592Z app/models/project.rb:531:in `import_in_progress?'
[gitlab-1]2016-08-13T14:34:58.121417257Z app/controllers/projects_controller.rb:94:in `show'
[gitlab-1]2016-08-13T14:34:58.121425303Z lib/gitlab/middleware/go.rb:16:in `call'
[gitlab-1]2016-08-13T14:34:58.121432808Z
[gitlab-1]2016-08-13T14:34:58.121440440Z
[gitlab-1]2016-08-13T14:34:58.122331687Z
[gitlab-1]2016-08-13T14:34:58.122352629Z ==> /var/log/gitlab/gitlab-workhorse/current <==
[gitlab-1]2016-08-13T14:34:58.122362802Z 2016-08-13_14:34:58.12223 2016/08/13 14:34:58 ErrorPage: serving predefined error page: 500
Getting the above when browsing to certain projects after a restore. Running the official docker image after a restore from a Debain omnibus install.
Configuration follows, I’m running GitLab behind a NGINX proxy which does SSL termination.
gitlab:
environment:
- |
GITLAB_OMNIBUS_CONFIG=external_url 'https://git.domainame.com'
nginx['listen_port'] = 80
nginx['listen_https'] = false
nginx['proxy_set_headers'] = {
"X-Forwarded-Proto" => "https",
"X-Forwarded-Ssl" => "on"
}
- LETSENCRYPT_EMAIL=email@domainname.com
- LETSENCRYPT_HOST=git.domainame.com
- VIRTUAL_HOST=git.domainame.com
hostname: git.domainame.com
image: 'gitlab/gitlab-ce:latest'
ports:
- '22:22'
restart: always
volumes:
- '/srv/gitlab/etc:/etc/gitlab'
- '/srv/gitlab/data:/var/opt/gitlab'
- '/srv/gitlab/logs:/var/log/gitlab'