Skip to content

Frontend broken after update to 8.17 in Scientific Linux 7.3

Summary

After updating the package to 8.17.0 using the RPM repo, the web interface is broken. It was working fine before the update.

I have exactly the same problems that I had in #25159 (closed) and #27552 (closed)

System: Scientific Linux 7.3

Web Server: Apache 2.4 - Using Apache forwarding

Using relative URL: https://<SERVER>/gitlab

Note

Last time was fixed running:

sudo NO_PRIVILEGE_DROP=true USE_DB=false gitlab-rake assets:clean assets:precompile
sudo chown -R git:git /var/opt/gitlab/gitlab-rails/tmp/cache

This time precompilation command does not work, this is the output with --trace:

** Invoke assets:clean (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:clean
** Invoke assets:precompile (first_time)
** Invoke assets:environment 
** Execute assets:precompile
rake aborted!
ExecJS::Error: ExecJS disabled
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/execjs-2.6.0/lib/execjs/disabled_runtime.rb:18:in `compile'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/execjs-2.6.0/lib/execjs/module.rb:27:in `compile'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/uglifier-2.7.2/lib/uglifier.rb:171:in `initialize'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:47:in `new'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:47:in `initialize'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:24:in `new'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:24:in `instance'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/uglifier_compressor.rb:32:in `cache_key'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:93:in `processor_cache_key'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:22:in `block in initialize'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:53:in `processor_cache_key'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:102:in `block in processors_cache_keys'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:102:in `map'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processor_utils.rb:102:in `processors_cache_keys'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/processing.rb:159:in `resolve_processors_cache_key_uri'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets.rb:162:in `block in <module:Sprockets>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/dependencies.rb:67:in `resolve_dependency'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:23:in `block in initialize'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:59:in `resolve_dependency'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:268:in `block in resolve_dependencies'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:268:in `map'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:268:in `resolve_dependencies'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:55:in `block in load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:311:in `block in fetch_asset_from_dependency_cache'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:307:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:307:in `each_with_index'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:307:in `fetch_asset_from_dependency_cache'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/loader.rb:44:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/cached_environment.rb:47:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/base.rb:66:in `find_asset'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:134:in `block in find'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:133:in `find'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/sprockets/manifest.rb:185:in `compile'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.1.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-3.7.0/lib/rake/sprocketstask.rb:147:in `with_logger'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/sprockets-rails-3.1.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:240:in `block in execute'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:235:in `execute'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/opt/gitlab/embedded/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:172:in `invoke_with_call_chain'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/task.rb:165:in `invoke'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:150:in `invoke_task'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:106:in `block in top_level'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:115:in `run_with_threads'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:100:in `top_level'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:78:in `block in run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:176:in `standard_exception_handling'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/lib/rake/application.rb:75:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/rake-10.5.0/bin/rake:33:in `<top (required)>'
/opt/gitlab/embedded/bin/rake:22:in `load'
/opt/gitlab/embedded/bin/rake:22:in `<top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/exe/bundle:34:in `block in <top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.7/exe/bundle:26:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:22:in `load'
/opt/gitlab/embedded/bin/bundle:22:in `<main>'
Tasks: TOP => assets:precompile