No pipelines created after commit & no execution of job after manual retrying a job

Hi there,

We have running a self-hosted Gitlab instance on a Ubuntu VM with Hyper-V. We want to use Gitlab CI for building, testing and deploying our NodeJS / Vue applications we develop.

I now have another VM (Ubuntu 16.04.3 LTS) running where I want to run a Gitlab CI Runner from. I followed the instructions on Gitlabs own docs: Install GitLab Runner using the official GitLab repositories | GitLab. I installed Docker CE via the recommended way with their repository. Everything looked fine, but when I commit and push my repository, a new pipeline is not created where it created a pipeline before…

I use the following .gitlab-ci.yml:

stages:
  - build
  - deploy

Build production:
  image: node:6
  stage: build
  script:
    - npm install
    - npm run build
  artifacts:
    expire_in: 1 week
    paths:
      - dist

Deploy to test server:
  image: mwienk/docker-lftp:latest
  stage: deploy
  script:
    - lftp -c "set ftp:ssl-allow no; open -u $DEVFTP_USER,$DEVFTP_PASS $DEVFTP_HOST; mirror ./ ./ -Rev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/"
  when: on_success
  environment:
    name: Development
    url: https:/xxx.eu

Deploy to production:
  image: mwienk/docker-lftp:latest
  stage: deploy
  script:
    - lftp -c "set ftp:ssl-allow no; open -u $PRODFTP_USER,$PRODFTP_PASS $PRODFTP_HOST; mirror ./ ./ -Rev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/"
  when: manual
  environment:
    name: Production
    url: https://yyy.eu

When I try a to run a pipeline manually, I encounter a HTTP 500. The production.log says the following about that:

  1. Started POST “/namespace/project/pipelines” for 192.168.1.132 at 2018-11-13 14:40:18 +0100
  2. Processing by Projects::PipelinesController#create as HTML
  3. Parameters: {“utf8”=>“✓”, “authenticity_token”=>“[FILTERED]”, “pipeline”=>{“ref”=>“master”}, “namespace_id”=>“namespace”, “project_id”=>“project”}
  4. Completed 500 Internal Server Error in 358ms (ActiveRecord: 49.0ms | Elasticsearch: 0.0ms)
  5. OpenSSL::Cipher::CipherError (bad decrypt):
  6. app/models/concerns/has_variable.rb:26:in `to_runner_variable’
  7. lib/gitlab/ci/variables/collection/item.rb:39:in `fabricate’
  8. lib/gitlab/ci/variables/collection.rb:14:in `block in append’
  9. lib/gitlab/ci/variables/collection.rb:14:in `tap’
  10. lib/gitlab/ci/variables/collection.rb:14:in `append’
  11. lib/gitlab/ci/variables/collection.rb:18:in `block (2 levels) in concat’
  12. lib/gitlab/ci/variables/collection.rb:18:in `block in concat’
  13. lib/gitlab/ci/variables/collection.rb:18:in `tap’
  14. lib/gitlab/ci/variables/collection.rb:18:in `concat’
  15. app/models/ci/build.rb:370:in `block in scoped_variables’
  16. app/models/ci/build.rb:361:in `tap’
  17. app/models/ci/build.rb:361:in `scoped_variables’
  18. app/models/ci/build.rb:382:in `block in simple_variables’
  19. lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize’
  20. app/models/ci/build.rb:381:in `simple_variables’
  21. app/models/ci/build.rb:310:in `block in expanded_environment_name’
  22. lib/gitlab/utils/strong_memoize.rb:26:in `strong_memoize’
  23. app/models/ci/build.rb:309:in `expanded_environment_name’
  24. lib/gitlab/ci/pipeline/chain/create.rb:19:in `block (2 levels) in perform!’
  25. lib/gitlab/ci/pipeline/chain/create.rb:16:in `block in perform!’
  26. lib/gitlab/ci/pipeline/chain/create.rb:10:in `perform!’
  27. lib/gitlab/ci/pipeline/chain/sequence.rb:17:in `block in build!’
  28. lib/gitlab/ci/pipeline/chain/sequence.rb:14:in `each’
  29. lib/gitlab/ci/pipeline/chain/sequence.rb:14:in `build!’
  30. app/services/ci/create_pipeline_service.rb:44:in `execute’
  31. app/controllers/projects/pipelines_controller.rb:57:in `create’
  32. lib/gitlab/i18n.rb:53:in `with_locale’
  33. lib/gitlab/i18n.rb:59:in `with_user_locale’
  34. app/controllers/application_controller.rb:432:in `set_locale’
  35. lib/gitlab/middleware/multipart.rb:101:in `call’
  36. lib/gitlab/request_profiler/middleware.rb:14:in `call’
  37. ee/lib/gitlab/jira/middleware.rb:15:in `call’
  38. lib/gitlab/middleware/go.rb:17:in `call’
  39. lib/gitlab/etag_caching/middleware.rb:11:in `call’
  40. lib/gitlab/middleware/read_only/controller.rb:40:in `call’
  41. lib/gitlab/middleware/read_only.rb:16:in `call’
  42. lib/gitlab/middleware/basic_health_check.rb:25:in `call’
  43. lib/gitlab/request_context.rb:18:in `call’
  44. lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call’
  45. lib/gitlab/middleware/release_env.rb:10:in `call’

When I google the issue, I only see outdated issues from years ago, so I don’t think that’s the solution, is it?