diff --git a/debian/patches/series b/debian/patches/series index 533777f86f..533c362237 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -25,3 +25,4 @@ tweaks/0050-add-salsa-link-to-help.patch tweaks/0060-fix-relative-paths.patch tweaks/0070-remove-capybara-screenshot-rspec.patch tweaks/0080-search-binaries-in-path.patch +tweaks/0090-require-sidekiq-job-logger.patch diff --git a/debian/patches/tweaks/0090-require-sidekiq-job-logger.patch b/debian/patches/tweaks/0090-require-sidekiq-job-logger.patch new file mode 100644 index 0000000000..ae4fc0c9f1 --- /dev/null +++ b/debian/patches/tweaks/0090-require-sidekiq-job-logger.patch @@ -0,0 +1,15 @@ +Fixes Unable to load application: NameError: uninitialized constant Sidekiq::JobLogger"} +when starting gitlab-puma service + +Possibly because we have sidekiq 6.3.1 and upstream uses 6.2.2 + +--- a/lib/gitlab/sidekiq_logging/structured_logger.rb ++++ b/lib/gitlab/sidekiq_logging/structured_logger.rb +@@ -2,6 +2,7 @@ + + require 'active_record' + require 'active_record/log_subscriber' ++require 'sidekiq/job_logger' + + module Gitlab + module SidekiqLogging