It seems we're deploying from the master branch, which probably isn't what we want. Said branch also seems to be broken at present (or we have a dependency mismatch somewhere).
[2019-01-22T03:43:33.510227 #15489] INFO -- : Writing /srv/discourse/2019012203295822/public/assets/docs/yuidoc-15ccfbcbae101060b3998aa1cb2a9d148b96f81255484f265a5a883d05002f00.json',
'1004.807567869 Compressing: vendor-3eae3eec8fba033cb1b5af6c103a5b8781caa69cf97fe7773ba89ba68980b263.js',
'rake aborted!',
'Uglifier::Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).',
"/var/lib/gems/2.5.0/gems/uglifier-4.1.11/lib/uglifier.rb:234:in `parse_result'",
"/var/lib/gems/2.5.0/gems/uglifier-4.1.11/lib/uglifier.rb:216:in `run_uglifyjs'",
"/var/lib/gems/2.5.0/gems/uglifier-4.1.11/lib/uglifier.rb:178:in `compile_with_map'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:102:in `compress_ruby'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:149:in `compress'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:191:in `block (4 levels) in <top (required)>'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:161:in `block in concurrent?'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:184:in `block (3 levels) in <top (required)>'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:175:in `each'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:175:in `block (2 levels) in <top (required)>'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:161:in `concurrent?'",
"/srv/discourse/2019012203295822/lib/tasks/assets.rake:171:in `block in <top (required)>'",
"/var/lib/gems/2.5.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'",
"/usr/bin/bundle:30:in `block in <main>'",
"/usr/bin/bundle:22:in `<main>'", 'Tasks: TOP => assets:precompile', '(See full trace by running task with --trace)']
It seems we're deploying from the master branch, which probably isn't what we want. Said branch also seems to be broken at present (or we have a dependency mismatch somewhere).
[2019-01- 22T03:43: 33.510227 #15489] INFO -- : Writing /srv/discourse/ 201901220329582 2/public/ assets/ docs/yuidoc- 15ccfbcbae10106 0b3998aa1cb2a9d 148b96f81255484 f265a5a883d0500 2f00.json' , 3eae3eec8fba033 cb1b5af6c103a5b 8781caa69cf97fe 7773ba89ba68980 b263.js' , new(:harmony => true).', gems/2. 5.0/gems/ uglifier- 4.1.11/ lib/uglifier. rb:234: in `parse_result'", gems/2. 5.0/gems/ uglifier- 4.1.11/ lib/uglifier. rb:216: in `run_uglifyjs'", gems/2. 5.0/gems/ uglifier- 4.1.11/ lib/uglifier. rb:178: in `compile_ with_map' ", /20190122032958 22/lib/ tasks/assets. rake:102: in `compress_ruby'", /20190122032958 22/lib/ tasks/assets. rake:149: in `compress'", /20190122032958 22/lib/ tasks/assets. rake:191: in `block (4 levels) in <top (required)>'", /20190122032958 22/lib/ tasks/assets. rake:161: in `block in concurrent?'", /20190122032958 22/lib/ tasks/assets. rake:184: in `block (3 levels) in <top (required)>'", /20190122032958 22/lib/ tasks/assets. rake:175: in `each'", /20190122032958 22/lib/ tasks/assets. rake:175: in `block (2 levels) in <top (required)>'", /20190122032958 22/lib/ tasks/assets. rake:161: in `concurrent?'", /20190122032958 22/lib/ tasks/assets. rake:171: in `block in <top (required)>'", gems/2. 5.0/gems/ rake-12. 3.2/exe/ rake:27: in `<top (required)>'", bundle: 30:in `block in <main>'", bundle: 22:in `<main>'", 'Tasks: TOP => assets:precompile', '(See full trace by running task with --trace)']
'1004.807567869 Compressing: vendor-
'rake aborted!',
'Uglifier::Error: Unexpected token: keyword (const). To use ES6 syntax, harmony mode must be enabled with Uglifier.
"/var/lib/
"/var/lib/
"/var/lib/
"/srv/discourse
"/srv/discourse
"/srv/discourse
"/srv/discourse
"/srv/discourse
"/srv/discourse
"/srv/discourse
"/srv/discourse
"/srv/discourse
"/var/lib/
"/usr/bin/
"/usr/bin/