v10.8.4 to v11.0.1 update fails.
Summary
Updating from version 10.8.4 to 11.0.1 fails due to a syntax error
Steps to reproduce
run
sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
see
yarn install v1.7.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 1.22s.
warning "node-libs-browser#buffer#ieee754@^1.1.4" could be deduped from "1.1.11" to "ieee754@1.1.11"
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/es
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/es
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/en
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/en
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/zh_HK
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/zh_HK
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/ko
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/ko
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/uk
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/uk
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/zh_CN
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/zh_CN
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/de
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/de
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/tr_TR
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/tr_TR
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/pt_BR
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/pt_BR
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/fil_PH
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/fil_PH
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/it
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/it
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/nl_NL
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/nl_NL
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/fr
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/fr
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/zh_TW
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/zh_TW
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/pl_PL
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/pl_PL
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/eo
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/eo
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/ru
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/ru
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/ja
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/ja
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/bg
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/bg
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/id_ID
Created app.js in /home/git/gitlab/app/assets/javascripts/locale/id_ID
All files created, make sure they are being added to your assets.
If they are not, you can add them with this line (configurable):
//= require_tree ./locale
//= require gettext/all
/home/git/gitlab/node_modules/.bin/webpack --config /home/git/gitlab/config/webpack.config.js --bail
/home/git/gitlab/node_modules/monaco-editor-webpack-plugin/index.js:40
[id, ...(language.alias || [])].map((label) => [label, { label, ...language }])
^^^
SyntaxError: Unexpected token ...
at NativeCompileCache._moduleCompile (/home/git/gitlab/node_modules/v8-compile-cache/v8-compile-cache.js:226:18)
at Module._compile (/home/git/gitlab/node_modules/v8-compile-cache/v8-compile-cache.js:172:36)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (/home/git/gitlab/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/home/git/gitlab/config/webpack.config.js:7:29)
at Module._compile (/home/git/gitlab/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (/home/git/gitlab/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at WEBPACK_OPTIONS (/home/git/gitlab/node_modules/webpack-cli/bin/convert-argv.js:133:13)
at requireConfig (/home/git/gitlab/node_modules/webpack-cli/bin/convert-argv.js:135:6)
at /home/git/gitlab/node_modules/webpack-cli/bin/convert-argv.js:142:17
at Array.forEach (native)
at module.exports (/home/git/gitlab/node_modules/webpack-cli/bin/convert-argv.js:140:15)
at yargs.parse.err (/home/git/gitlab/node_modules/webpack-cli/bin/cli.js:241:39)
at Object.parse (/home/git/gitlab/node_modules/webpack-cli/node_modules/yargs/yargs.js:552:18)
at /home/git/gitlab/node_modules/webpack-cli/bin/cli.js:219:8
at Object.<anonymous> (/home/git/gitlab/node_modules/webpack-cli/bin/cli.js:530:3)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/git/gitlab/node_modules/webpack/bin/webpack.js:157:2)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
rake aborted!
Command failed with status (1): [/home/git/gitlab/node_modules/.bin/webpack...]
/home/git/gitlab/vendor/bundle/ruby/2.4.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.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:assets:compile => webpack:compile
What is the current bug behavior?
(What actually happens)
What is the expected correct behavior?
(What you should see instead)
Relevant logs and/or screenshots
see above
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.4.4p296 Gem Version: 2.6.14.1 Bundler Version:1.16.2 Rake Version: 12.3.1 Redis Version: 3.0.6 Git Version: 2.18.0 Sidekiq Version:5.1.3 Go Version: go1.10.3 linux/amd64
GitLab information Version: 11.0.1 Revision: bf968f8a3fd Directory: /home/git/gitlab DB Adapter: mysql2 URL: https://gitlab.matty-inc.tk HTTP Clone URL: https://gitlab.matty-inc.tk/some-group/some-project.git SSH Clone URL: git@gitlab.matty-inc.tk:some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 7.1.4 Repository storage paths:
- default: /home/git/repositories Hooks: /home/git/gitlab-shell/hooks Git: /usr/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Not available as gitlab can't start.
Additional info
os: {
build: 4.4.0-128-generic,
kernel_version: Linux matty-inc 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux,
name: Linux,
version: #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018
},
runtime: {
name: ruby,
version: ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]
}