Unable to start a manual job from pipeline view
Summary
On a self-hosted GitlabCE environment i'm unable to start a manual job from the pipeline overview, ie: https://gitlab.com/gitlab-org/gitlab-ce/pipelines
I am able to run the build from the pipeline detail view (ie: https://gitlab.com/gitlab-org/gitlab-ce/pipelines/8468969)
Steps to reproduce
Have a .gitlab-ci.yml with a manual action. I'm unable to start it from the pipeline overview, but i am able to start it from the detail view
What is the current bug behavior?
Only the details page will start a job, the overview page gives an error
What is the expected correct behavior?
Both views should be able to build a manual job
Relevant logs and/or screenshots
==> nginx/gitlab_access.log <==
212.41.134.182 - - [23/May/2017:10:47:18 +0200] "POST /user/project/builds/657/play.json HTTP/2.0" 500 207 "https://gitlab.xxx/user/project/pipelines" "Chrome/58.0.3029.110"
==> gitlab-rails/production.log <==
Started POST "/user/project/builds/657/play.json" for 10.0.0.1 at 2017-05-23 10:47:18 +0200
LoadError (Unable to autoload constant Build, expected /opt/gitlab/embedded/service/gitlab-rails/app/models/ci/build.rb to define it):
lib/gitlab/middleware/multipart.rb:93:in `call'
lib/gitlab/request_profiler/middleware.rb:14:in `call'
lib/gitlab/middleware/go.rb:16:in `call'
lib/gitlab/etag_caching/middleware.rb:10:in `call'
lib/gitlab/request_context.rb:18:in `call'
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
$ gitlab-rake gitlab:env:infoSystem information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.3.3p222 Gem Version: 2.6.6 Bundler Version:1.13.7 Rake Version: 10.5.0 Redis Version: 3.2.5 Git Version: 2.11.1 Sidekiq Version:5.0.0
GitLab information Version: 9.2.0 Revision: 27cff7d Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://xx HTTP Clone URL: https://xx/some-group/some-project.git SSH Clone URL: git@xx:some-group/some-project.git Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 5.0.3 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
$ gitlab-rake gitlab:check SANITIZE=true Checking GitLab Shell ...GitLab Shell version >= 5.0.3 ? ... OK (5.0.3) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 4/16 ... ok 4/17 ... ok 4/18 ... ok 4/19 ... ok 4/20 ... ok 4/29 ... ok 4/30 ... ok 4/33 ... ok 4/34 ... ok 4/35 ... ok 4/37 ... ok 2/38 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Access to /var/opt/gitlab/.ssh/authorized_keys: OK Send ping to redis server: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) -snip- Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory setup correctly? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) projects have namespace: ... 4/16 ... yes 4/17 ... yes 4/18 ... yes 4/19 ... yes 4/20 ... yes 4/29 ... yes 4/30 ... yes 4/33 ... yes 4/34 ... yes 4/35 ... yes 4/37 ... yes 2/38 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.3) Your git bin path is "/opt/gitlab/embedded/bin/git" Git version >= 2.7.3 ? ... yes (2.11.1) Active users: 10
Checking GitLab ... Finished