webpack rake error during update from v9.1.2 to v9.1.3

Summary

bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production NODE_ENV=production
yarn install v0.23.4
[1/4] Resolving packages...
[2/4] Fetching packages...
warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
info "fsevents@1.0.17" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 8.41s.
warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
/home/git/gitlab/node_modules/.bin/webpack --config /home/git/gitlab/config/webpack.config.js --bail
rake aborted!
Command failed with status (): [/home/git/gitlab/node_modules/.bin/webpack...]
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/webpack-rails-0.9.10/lib/tasks/webpack.rake:17:in `block (2 levels) in <top (required)>'
Tasks: TOP => gitlab:assets:compile => webpack:compile
(See full trace by running task with --trace)

Steps to reproduce

Failure occures during execution:

bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production NODE_ENV=production

Relevant logs and/or screenshots

git@git:~/gitlab$ bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production NODE_ENV=production --trace
** Invoke yarn:install (first_time)
** Invoke yarn:available (first_time)
** Execute yarn:available
** Execute yarn:install
yarn install v0.23.4
[1/4] Resolving packages...
[2/4] Fetching packages...
warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
info "fsevents@1.0.17" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 11.48s.
** Invoke gitlab:assets:clean (first_time)
** Invoke assets:clean (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:clean
** Execute gitlab:assets:clean
** Invoke gitlab:assets:compile (first_time)
** Invoke yarn:check (first_time)
** Invoke yarn:available
** Execute yarn:check
warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
** Invoke assets:precompile (first_time)
** Invoke assets:environment
** Execute assets:precompile
** Invoke webpack:compile (first_time)
** Invoke environment
** Execute webpack:compile
/home/git/gitlab/node_modules/.bin/webpack --config /home/git/gitlab/config/webpack.config.js --bail
rake aborted!
Command failed with status (): [/home/git/gitlab/node_modules/.bin/webpack...]
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils.rb:66:in `block in create_shell_runner'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils.rb:57:in `sh'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/file_utils_ext.rb:37:in `sh'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/webpack-rails-0.9.10/lib/tasks/webpack.rake:17:in `block (2 levels) in <top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:199:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:199:in `invoke_prerequisites'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:150:in `invoke_task'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block in top_level'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:115:in `run_with_threads'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:100:in `top_level'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:78:in `block in run'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `run'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-10.5.0/bin/rake:33:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/bin/rake:23:in `load'
/home/git/gitlab/vendor/bundle/ruby/2.3.0/bin/rake:23:in `<main>'
Tasks: TOP => gitlab:assets:compile => webpack:compile

Results of GitLab environment info

System information
System:		Ubuntu 16.04
Current User:	git
Using RVM:	no
Ruby Version:	2.3.1p112
Gem Version:	2.5.1
Bundler Version:1.14.6
Rake Version:	10.5.0
Redis Version:	3.0.6
Git Version:	2.10.0
Sidekiq Version:4.2.7

GitLab information
Version:	9.1.3
Revision:	2e4e522
Directory:	/home/git/gitlab
DB Adapter:	postgresql
URL:		https://git.xxxxxxx.com
HTTP Clone URL:	https://git.xxxxxxx.com/some-group/some-project.git
SSH Clone URL:	git@git.xxxxxxx.com:some-group/some-project.git
Using LDAP:	no
Using Omniauth:	no

GitLab Shell
Version:	5.0.2
Repository storage paths:
- default: 	/home/git/repositories
Hooks:		/home/git/gitlab-shell/hooks
Git:		/usr/bin/git

Results of GitLab application Check

Checking GitLab Shell ...

GitLab Shell version >= 5.0.2 ? ... OK (5.0.2) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 3/1 ... ok 2/2 ... ok 3/3 ... ok 3/4 ... ok 2/5 ... ok 2/6 ... ok 3/7 ... ok 3/8 ... ok 3/9 ... ok 4/10 ... ok 16/11 ... repository is empty 20/12 ... ok 4/13 ... ok 20/14 ... ok 20/15 ... ok 21/16 ... ok 21/17 ... ok 21/18 ... ok 21/19 ... ok 21/20 ... ok 23/21 ... ok 23/22 ... ok 24/24 ... ok 25/25 ... ok 25/26 ... ok 26/27 ... repository is empty 26/28 ... ok 24/29 ... ok 24/30 ... ok 27/31 ... ok 25/32 ... ok 25/33 ... ok 30/34 ... ok 24/35 ... ok 30/36 ... ok 30/37 ... ok 2/38 ... ok 30/39 ... ok 2/40 ... ok 34/41 ... ok 34/42 ... ok 2/43 ... ok 34/44 ... ok 34/45 ... ok 34/46 ... ok 34/47 ... ok 34/48 ... ok 34/50 ... ok 3/51 ... ok 3/52 ... ok 36/54 ... ok 36/55 ... ok 34/56 ... ok 34/57 ... ok 34/58 ... ok 37/59 ... ok 37/60 ... ok 37/61 ... ok 34/62 ... ok 38/63 ... ok 36/64 ... ok 37/67 ... ok 48/68 ... ok 37/70 ... ok 34/71 ... ok 52/72 ... ok 2/73 ... ok 2/74 ... ok 48/75 ... ok 34/76 ... ok 34/77 ... ok 52/78 ... ok 52/79 ... ok 48/80 ... ok 52/82 ... ok 37/83 ... ok 37/84 ... ok 52/85 ... ok 52/86 ... ok 27/87 ... ok 27/88 ... ok 37/89 ... ok 48/90 ... ok 37/99 ... ok 54/103 ... ok 48/104 ... ok 48/105 ... ok 27/109 ... ok 52/110 ... ok 54/111 ... ok 54/112 ... ok 52/113 ... ok 34/114 ... ok 34/115 ... ok 52/116 ... ok 48/117 ... ok 4/118 ... ok 48/121 ... ok 37/122 ... ok 34/123 ... ok 52/124 ... ok 26/125 ... ok 37/126 ... ok 56/127 ... ok 37/128 ... ok 52/129 ... ok 43/130 ... ok 37/131 ... ok 43/132 ... ok 37/133 ... ok 58/134 ... ok 58/139 ... ok 4/140 ... ok 58/141 ... ok 2/142 ... ok 53/143 ... ok 53/144 ... ok 53/145 ... ok 53/146 ... ok 2/147 ... ok 4/148 ... ok 37/149 ... ok 4/150 ... ok 52/151 ... ok Running /home/git/gitlab-shell/bin/check Check GitLab API access: OK Access to /home/git/.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 ...

LDAP is disabled in config/gitlab.yml

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? ... yes Init script up-to-date? ... no Try fixing it: Redownload the init script For more information see: doc/install/installation.md in section "Install Init Script" Please fix the error above and rerun the checks. projects have namespace: ... 3/1 ... yes 2/2 ... yes 3/3 ... yes 3/4 ... yes 2/5 ... yes 2/6 ... yes 3/7 ... yes 3/8 ... yes 3/9 ... yes 4/10 ... yes 16/11 ... yes 20/12 ... yes 4/13 ... yes 20/14 ... yes 20/15 ... yes 21/16 ... yes 21/17 ... yes 21/18 ... yes 21/19 ... yes 21/20 ... yes 23/21 ... yes 23/22 ... yes 24/24 ... yes 25/25 ... yes 25/26 ... yes 26/27 ... yes 26/28 ... yes 24/29 ... yes 24/30 ... yes 27/31 ... yes 25/32 ... yes 25/33 ... yes 30/34 ... yes 24/35 ... yes 30/36 ... yes 30/37 ... yes 2/38 ... yes 30/39 ... yes 2/40 ... yes 34/41 ... yes 34/42 ... yes 2/43 ... yes 34/44 ... yes 34/45 ... yes 34/46 ... yes 34/47 ... yes 34/48 ... yes 34/50 ... yes 3/51 ... yes 3/52 ... yes 36/54 ... yes 36/55 ... yes 34/56 ... yes 34/57 ... yes 34/58 ... yes 37/59 ... yes 37/60 ... yes 37/61 ... yes 34/62 ... yes 38/63 ... yes 36/64 ... yes 37/67 ... yes 48/68 ... yes 37/70 ... yes 34/71 ... yes 52/72 ... yes 2/73 ... yes 2/74 ... yes 48/75 ... yes 34/76 ... yes 34/77 ... yes 52/78 ... yes 52/79 ... yes 48/80 ... yes 52/82 ... yes 37/83 ... yes 37/84 ... yes 52/85 ... yes 52/86 ... yes 27/87 ... yes 27/88 ... yes 37/89 ... yes 48/90 ... yes 37/99 ... yes 54/103 ... yes 48/104 ... yes 48/105 ... yes 27/109 ... yes 52/110 ... yes 54/111 ... yes 54/112 ... yes 52/113 ... yes 34/114 ... yes 34/115 ... yes 52/116 ... yes 48/117 ... yes 4/118 ... yes 48/121 ... yes 37/122 ... yes 34/123 ... yes 52/124 ... yes 26/125 ... yes 37/126 ... yes 56/127 ... yes 37/128 ... yes 52/129 ... yes 43/130 ... yes 37/131 ... yes 43/132 ... yes 37/133 ... yes 58/134 ... yes 58/139 ... yes 4/140 ... yes 58/141 ... yes 2/142 ... yes 53/143 ... yes 53/144 ... yes 53/145 ... yes 53/146 ... yes 2/147 ... yes 4/148 ... yes 37/149 ... yes 4/150 ... yes 52/151 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.1.0 ? ... yes (2.3.1) Your git bin path is "/usr/bin/git" Git version >= 2.7.3 ? ... yes (2.10.0) Active users: XX

Checking GitLab ... Finished

The difference in init.d script is related to 'gitaly' support.