I18n::InvalidLocaleData (can not load translations from /opt/zammad/config/locales/de-de.yml: expects it to return a hash, but does not):

  • Used Zammad version: 3.6.0-1607430494.246b029e.buster
  • Used Zammad installation source: Debian Package
  • Operating system: Debian Buster
  • Browser + version: irrelevant

Expected behavior:

Zammad should not show any failures and send emails for ticket answers/new tickets.

Actual behavior:

  • Zammad not sending mails
  • Errors in the log

Steps to reproduce the behavior:

  • I have no idea.

I moved my Zammad installation using the internatl backup and restore. However the installation still shows some issues. I guess it has something to do with the locales but I’m unable to find the error.

Production.log shows several:

E, [2020-12-14T22:11:45.103786 #12117-47322630302720] ERROR – : Retrying SearchIndexAssociationsJob in #<Proc:0x0000561450a96d60@/opt/zammad/app/jobs/search_index_job.rb:6 (lambda)> seconds, due to a StandardError. The original exception was nil.
I, [2020-12-14T22:11:45.105360 #12117-47322630302720] INFO – : Won’t enqueue SearchIndexAssociationsJob (Job ID: ac1d3b60-551c-4395-80cc-f4765a22ed42) because of already existing job with lock key ‘SearchIndexAssociationsJob/StatsStore/8’.
I, [2020-12-14T22:11:45.285291 #12117-47322630302720] INFO – : Enqueued SearchIndexAssociationsJob (Job ID: ac1d3b60-551c-4395-80cc-f4765a22ed42) to DelayedJob(default) at 2020-12-14 22:11:55 UTC with arguments: “StatsStore”, 8
I, [2020-12-14T22:11:45.486197 #12117-47322630302720] INFO – : 2020-12-14T22:11:45+0000: [Worker(host:zammad pid:12117)] Job SearchIndexAssociationsJob [ac1d3b60-551c-4395-80cc-f4765a22ed42] from DelayedJob(default) with arguments: [“StatsStore”, 8] (id=65965976) (queue=default) COMPLETED after 0.4248
I, [2020-12-14T22:11:45.587012 #12117-47322630302720] INFO – : 2020-12-14T22:11:45+0000: [Worker(host:zammad pid:12117)] Job SearchIndexJob [b02bc680-53d4-4896-8777-e142aa8c53da] from DelayedJob(default) with arguments: [“StatsStore”, 9] (id=65965977) (queue=default) RUNNING
I, [2020-12-14T22:11:45.620975 #12117-47322630302720] INFO – : Performing SearchIndexJob (Job ID: b02bc680-53d4-4896-8777-e142aa8c53da) from DelayedJob(default) with arguments: “StatsStore”, 9
E, [2020-12-14T22:11:45.624306 #12117-47322630302720] ERROR – : Error performing SearchIndexJob (Job ID: b02bc680-53d4-4896-8777-e142aa8c53da) from DelayedJob(default) in 3.13ms: I18n::InvalidLocaleData (can not load translations from /opt/zammad/config/locales/de-de.yml: expects it to return a hash, but does not):
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:228:in load_file' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in block in load_translations’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in each' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in load_translations’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/simple.rb:80:in init_translations' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/simple.rb:50:in available_locales’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:45:in available_locales' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:51:in available_locales_set’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:336:in locale_available?' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:342:in enforce_available_locales!’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:15:in locale=' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:59:in locale=’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:311:in with_locale' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/translation.rb:9:in block (2 levels) in module:Translation
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:26:in block (4 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications.rb:168:in block in instrument’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications/instrumenter.rb:23:in instrument' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications.rb:168:in instrument’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:25:in block (3 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:46:in block in tag_logger’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:71:in block in tagged' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:28:in tagged’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:71:in tagged' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:46:in tag_logger’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:22:in block (2 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:136:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:38:in perform_now' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:24:in block in execute’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:109:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/railtie.rb:28:in block (4 levels) in class:Railtie
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/execution_wrapper.rb:87:in wrap' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/reloader.rb:73:in block in wrap’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/execution_wrapper.rb:87:in wrap' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/reloader.rb:72:in wrap’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/railtie.rb:27:in block (3 levels) in <class:Railtie>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:136:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:22:in execute' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/queue_adapters/delayed_job_adapter.rb:42:in perform’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/backend/base.rb:81:in block in invoke_job' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:61:in block in initialize’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:66:in execute' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:40:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/backend/base.rb:78:in invoke_job' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:230:in block (2 levels) in run’
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/timeout.rb:93:in block in timeout' /opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/timeout.rb:103:in timeout’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:230:in block in run' /opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in realtime’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:229:in run' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:312:in block in reserve_and_run_one_job’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:61:in block in initialize' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:66:in execute’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:40:in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:312:in reserve_and_run_one_job’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:213:in block in work_off' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:212:in times’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:212:in work_off' /opt/zammad/app/models/scheduler.rb:372:in block (3 levels) in worker’
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in realtime' /opt/zammad/app/models/scheduler.rb:370:in block (2 levels) in worker’
/opt/zammad/app/models/scheduler.rb:366:in loop' /opt/zammad/app/models/scheduler.rb:366:in block in worker’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in block in create_with_logging_context' E, [2020-12-14T22:11:45.624454 #12117-47322630302720] ERROR -- : Retrying SearchIndexJob in #<Proc:0x0000561450a96d60@/opt/zammad/app/jobs/search_index_job.rb:6 (lambda)> seconds, due to a StandardError. The original exception was nil. I, [2020-12-14T22:11:45.626449 #12117-47322630302720] INFO -- : Won't enqueue SearchIndexJob (Job ID: b02bc680-53d4-4896-8777-e142aa8c53da) because of already existing job with lock key 'SearchIndexJob/StatsStore/9'. I, [2020-12-14T22:11:45.791441 #12117-47322630302720] INFO -- : Enqueued SearchIndexJob (Job ID: b02bc680-53d4-4896-8777-e142aa8c53da) to DelayedJob(default) at 2020-12-14 22:11:55 UTC with arguments: "StatsStore", 9 I, [2020-12-14T22:11:45.992134 #12117-47322630302720] INFO -- : 2020-12-14T22:11:45+0000: [Worker(host:zammad pid:12117)] Job SearchIndexJob [b02bc680-53d4-4896-8777-e142aa8c53da] from DelayedJob(default) with arguments: ["StatsStore", 9] (id=65965977) (queue=default) COMPLETED after 0.4049 I, [2020-12-14T22:11:46.090163 #12117-47322630302720] INFO -- : 2020-12-14T22:11:46+0000: [Worker(host:zammad pid:12117)] Job SearchIndexAssociationsJob [366fab74-5a7a-4f53-8797-3fc57ea5f77f] from DelayedJob(default) with arguments: ["StatsStore", 9] (id=65965978) (queue=default) RUNNING I, [2020-12-14T22:11:46.095955 #12474-47096584075620] INFO -- : # 200 I, [2020-12-14T22:11:46.096266 #12474-47096584075620] INFO -- : # curl -X put "http://localhost:9200/zammad_production_stats_store" I, [2020-12-14T22:11:46.149333 #12117-47322630302720] INFO -- : Performing SearchIndexAssociationsJob (Job ID: 366fab74-5a7a-4f53-8797-3fc57ea5f77f) from DelayedJob(default) with arguments: "StatsStore", 9 E, [2020-12-14T22:11:46.180370 #12117-47322630302720] ERROR -- : Error performing SearchIndexAssociationsJob (Job ID: 366fab74-5a7a-4f53-8797-3fc57ea5f77f) from DelayedJob(default) in 30.8ms: I18n::InvalidLocaleData (can not load translations from /opt/zammad/config/locales/de-de.yml: expects it to return a hash, but does not): /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:228:in load_file’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in block in load_translations' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in each’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in load_translations' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/simple.rb:80:in init_translations’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/simple.rb:50:in available_locales' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:45:in available_locales’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:51:in available_locales_set' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:336:in locale_available?’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:342:in enforce_available_locales!' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:15:in locale=’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:59:in locale=' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:311:in with_locale’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/translation.rb:9:in block (2 levels) in <module:Translation>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:26:in block (4 levels) in module:Logging
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications.rb:168:in block in instrument' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications/instrumenter.rb:23:in instrument’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications.rb:168:in instrument' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:25:in block (3 levels) in module:Logging
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:46:in block in tag_logger' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:71:in block in tagged’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:28:in tagged' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:71:in tagged’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:46:in tag_logger' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:22:in block (2 levels) in module:Logging
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:136:in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:38:in perform_now’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:24:in block in execute' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:109:in block in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/railtie.rb:28:in block (4 levels) in <class:Railtie>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/execution_wrapper.rb:87:in wrap’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/reloader.rb:73:in block in wrap' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/execution_wrapper.rb:87:in wrap’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/reloader.rb:72:in wrap' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/railtie.rb:27:in block (3 levels) in class:Railtie
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:136:in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:22:in execute’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/queue_adapters/delayed_job_adapter.rb:42:in perform' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/backend/base.rb:81:in block in invoke_job’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:61:in block in initialize' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:66:in execute’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:40:in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/backend/base.rb:78:in invoke_job’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:230:in block (2 levels) in run' /opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/timeout.rb:93:in block in timeout’
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/timeout.rb:103:in timeout' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:230:in block in run’
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in realtime' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:229:in run’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:312:in block in reserve_and_run_one_job' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:61:in block in initialize’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:66:in execute' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:40:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:312:in reserve_and_run_one_job' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:213:in block in work_off’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:212:in times' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:212:in work_off’
/opt/zammad/app/models/scheduler.rb:372:in block (3 levels) in worker' /opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in realtime’
/opt/zammad/app/models/scheduler.rb:370:in block (2 levels) in worker' /opt/zammad/app/models/scheduler.rb:366:in loop’
/opt/zammad/app/models/scheduler.rb:366:in block in worker' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in block in create_with_logging_context’
E, [2020-12-14T22:11:46.180565 #12117-47322630302720] ERROR – : Retrying SearchIndexAssociationsJob in #<Proc:0x0000561450a96d60@/opt/zammad/app/jobs/search_index_job.rb:6 (lambda)> seconds, due to a StandardError. The original exception was nil.
I, [2020-12-14T22:11:46.182612 #12117-47322630302720] INFO – : Won’t enqueue SearchIndexAssociationsJob (Job ID: 366fab74-5a7a-4f53-8797-3fc57ea5f77f) because of already existing job with lock key ‘SearchIndexAssociationsJob/StatsStore/9’.
I, [2020-12-14T22:11:46.386619 #12117-47322630302720] INFO – : Enqueued SearchIndexAssociationsJob (Job ID: 366fab74-5a7a-4f53-8797-3fc57ea5f77f) to DelayedJob(default) at 2020-12-14 22:11:56 UTC with arguments: “StatsStore”, 9
I, [2020-12-14T22:11:46.585829 #12117-47322630302720] INFO – : 2020-12-14T22:11:46+0000: [Worker(host:zammad pid:12117)] Job SearchIndexAssociationsJob [366fab74-5a7a-4f53-8797-3fc57ea5f77f] from DelayedJob(default) with arguments: [“StatsStore”, 9] (id=65965978) (queue=default) COMPLETED after 0.4929
I, [2020-12-14T22:11:46.786398 #12117-47322630302720] INFO – : 2020-12-14T22:11:46+0000: [Worker(host:zammad pid:12117)] Job SearchIndexJob [425e0bfe-5a95-481f-ad1f-e6d692d339aa] from DelayedJob(default) with arguments: [“StatsStore”, 10] (id=65965979) (queue=default) RUNNING
I, [2020-12-14T22:11:46.806961 #12117-47322630302720] INFO – : Performing SearchIndexJob (Job ID: 425e0bfe-5a95-481f-ad1f-e6d692d339aa) from DelayedJob(default) with arguments: “StatsStore”, 10
E, [2020-12-14T22:11:46.813558 #12117-47322630302720] ERROR – : Error performing SearchIndexJob (Job ID: 425e0bfe-5a95-481f-ad1f-e6d692d339aa) from DelayedJob(default) in 6.43ms: I18n::InvalidLocaleData (can not load translations from /opt/zammad/config/locales/de-de.yml: expects it to return a hash, but does not):
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:228:in load_file' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in block in load_translations’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in each' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in load_translations’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/simple.rb:80:in init_translations' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/simple.rb:50:in available_locales’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:45:in available_locales' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:51:in available_locales_set’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:336:in locale_available?' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:342:in enforce_available_locales!’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:15:in locale=' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:59:in locale=’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:311:in with_locale' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/translation.rb:9:in block (2 levels) in module:Translation
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:26:in block (4 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications.rb:168:in block in instrument’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications/instrumenter.rb:23:in instrument' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications.rb:168:in instrument’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:25:in block (3 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:46:in block in tag_logger’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:71:in block in tagged' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:28:in tagged’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:71:in tagged' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:46:in tag_logger’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:22:in block (2 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:136:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:38:in perform_now' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:24:in block in execute’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:109:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/railtie.rb:28:in block (4 levels) in class:Railtie
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/execution_wrapper.rb:87:in wrap' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/reloader.rb:73:in block in wrap’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/execution_wrapper.rb:87:in wrap' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/reloader.rb:72:in wrap’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/railtie.rb:27:in block (3 levels) in <class:Railtie>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:136:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:22:in execute' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/queue_adapters/delayed_job_adapter.rb:42:in perform’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/backend/base.rb:81:in block in invoke_job' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:61:in block in initialize’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:66:in execute' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:40:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/backend/base.rb:78:in invoke_job' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:230:in block (2 levels) in run’
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/timeout.rb:93:in block in timeout' /opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/timeout.rb:103:in timeout’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:230:in block in run' /opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in realtime’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:229:in run' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:312:in block in reserve_and_run_one_job’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:61:in block in initialize' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:66:in execute’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:40:in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:312:in reserve_and_run_one_job’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:213:in block in work_off' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:212:in times’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:212:in work_off' /opt/zammad/app/models/scheduler.rb:372:in block (3 levels) in worker’
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in realtime' /opt/zammad/app/models/scheduler.rb:370:in block (2 levels) in worker’
/opt/zammad/app/models/scheduler.rb:366:in loop' /opt/zammad/app/models/scheduler.rb:366:in block in worker’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context’
E, [2020-12-14T22:11:46.813689 #12117-47322630302720] ERROR – : Retrying SearchIndexJob in #<Proc:0x0000561450a96d60@/opt/zammad/app/jobs/search_index_job.rb:6 (lambda)> seconds, due to a StandardError. The original exception was nil.
I, [2020-12-14T22:11:46.815418 #12117-47322630302720] INFO – : Won’t enqueue SearchIndexJob (Job ID: 425e0bfe-5a95-481f-ad1f-e6d692d339aa) because of already existing job with lock key ‘SearchIndexJob/StatsStore/10’.
^C

Locale shows:

root@zammad:~# locale
LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE=“de_DE.UTF-8”
LC_NUMERIC=“de_DE.UTF-8”
LC_TIME=“de_DE.UTF-8”
LC_COLLATE=“de_DE.UTF-8”
LC_MONETARY=“de_DE.UTF-8”
LC_MESSAGES=“de_DE.UTF-8”
LC_PAPER=“de_DE.UTF-8”
LC_NAME=“de_DE.UTF-8”
LC_ADDRESS=“de_DE.UTF-8”
LC_TELEPHONE=“de_DE.UTF-8”
LC_MEASUREMENT=“de_DE.UTF-8”
LC_IDENTIFICATION=“de_DE.UTF-8”
LC_ALL=

The referenced /opt/zammad/config/locales/de-de.yml looks normal to me.

Edit:

postgres@zammad:/$ psql
psql (11.9 (Debian 11.9-0+deb10u1))
Geben Sie »help« für Hilfe ein.

postgres=# SHOW SERVER_ENCODING;
 server_encoding
-----------------
 UTF8
(1 Zeile)

postgres=# SELECT pg_encoding_to_char(encoding) FROM pg_database WHERE datname = 'zammad';
 pg_encoding_to_char
---------------------
 UTF8
(1 Zeile)

postgres=#

Any hints where I should start to debug or control settings?

I18n::InvalidLocaleData (can not load translations from /opt/zammad/config/locales/de-de.yml: expects it to return a hash, but does not):

That can’t work. The file referenced isn’t available in a default installation.

Did you follow the documentation steps during and after the migration?
If not, a forced reinstall of Zammad should fix your issue as mentioned in:
https://docs.zammad.org/en/latest/appendix/backup-and-restore.html#what-to-do-after-restoration-has-been-completed

Hi,

I think I followed the restore-procedure closely. I will however try a forced reinstall.

The installation I transferred was quite old (I think from 2016). So there might have been some old problems inside.

Thanks for your help!

If it’s an old version the best way is to upgrade to the most current version on the old system.
Other wise you’ll need to upgrade in chunks.

At least these chunks:

  • 1.x -> 2.0
  • 2.x -> 3.0
  • 3.x -> latest

The “old” Zammad-Installation was kept up2date using the package manager.

When moving to the new installation I updated both installations to the most recent version. Then I created the backup, rsynced it over to the new host and restored it.

I already had some trouble since the backup script also took outcommented databases into account (see the other thread).

I tried now to remove zammad and reinstalled it - as suggested. The problem still occurs.

I, [2021-01-04T11:15:02.658703 #2095-47316065160220] INFO – : Performing SearchIndexJob (Job ID: c291f9f3-d872-4e4d-9269-969e2547f9cb) from DelayedJob(default) with arguments: “User”, 18509
E, [2021-01-04T11:15:02.674013 #2095-47316065160220] ERROR – : Error performing SearchIndexJob (Job ID: c291f9f3-d872-4e4d-9269-969e2547f9cb) from DelayedJob(default) in 15.15ms: I18n::InvalidLocaleData (can not load translations from /opt/zammad/config/locales/de-de.yml: expects it to return a hash, but does not):
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:228:in load_file' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in block in load_translations’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in each' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/base.rb:18:in load_translations’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/simple.rb:80:in init_translations' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/backend/simple.rb:50:in available_locales’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:45:in available_locales' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:51:in available_locales_set’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:336:in locale_available?' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:342:in enforce_available_locales!’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n/config.rb:15:in locale=' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:59:in locale=’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/i18n-1.8.5/lib/i18n.rb:311:in with_locale' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/translation.rb:9:in block (2 levels) in module:Translation
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:26:in block (4 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications.rb:168:in block in instrument’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications/instrumenter.rb:23:in instrument' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/notifications.rb:168:in instrument’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:25:in block (3 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:46:in block in tag_logger’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:71:in block in tagged' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:28:in tagged’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/tagged_logging.rb:71:in tagged' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:46:in tag_logger’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/logging.rb:22:in block (2 levels) in <module:Logging>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:136:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:38:in perform_now' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:24:in block in execute’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:109:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/railtie.rb:28:in block (4 levels) in class:Railtie
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/execution_wrapper.rb:87:in wrap' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/reloader.rb:73:in block in wrap’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/execution_wrapper.rb:87:in wrap' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/reloader.rb:72:in wrap’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/railtie.rb:27:in block (3 levels) in <class:Railtie>' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in instance_exec’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:118:in block in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/callbacks.rb:136:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/execution.rb:22:in execute' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/activejob-5.2.4.4/lib/active_job/queue_adapters/delayed_job_adapter.rb:42:in perform’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/backend/base.rb:81:in block in invoke_job' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:61:in block in initialize’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:66:in execute' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:40:in run_callbacks’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/backend/base.rb:78:in invoke_job' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:230:in block (2 levels) in run’
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/timeout.rb:93:in block in timeout' /opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/timeout.rb:103:in timeout’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:230:in block in run' /opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in realtime’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:229:in run' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:312:in block in reserve_and_run_one_job’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:61:in block in initialize' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:66:in execute’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/lifecycle.rb:40:in run_callbacks' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:312:in reserve_and_run_one_job’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:213:in block in work_off' /opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:212:in times’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/delayed_job-4.1.7/lib/delayed/worker.rb:212:in work_off' /opt/zammad/app/models/scheduler.rb:372:in block (3 levels) in worker’
/opt/zammad/vendor/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:308:in realtime' /opt/zammad/app/models/scheduler.rb:370:in block (2 levels) in worker’
/opt/zammad/app/models/scheduler.rb:366:in loop' /opt/zammad/app/models/scheduler.rb:366:in block in worker’
/opt/zammad/vendor/bundle/ruby/2.6.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context’
E, [2021-01-04T11:15:02.674142 #2095-47316065160220] ERROR – : Retrying SearchIndexJob in #<Proc:0x00005611418df420@/opt/zammad/app/jobs/search_index_job.rb:6 (lambda)> seconds, due to a StandardError. The original exception was nil.
I, [2021-01-04T11:15:02.675683 #2095-47316065160220] INFO – : Won’t enqueue SearchIndexJob (Job ID: c291f9f3-d872-4e4d-9269-969e2547f9cb) because of already existing job with lock key ‘SearchIndexJob/User/18509’.

If you want to I can also provide you a longer log. However I would then like to send it to you directly - there might be personal data included.

Any suggestions what to do next?

Edit: Oh and /opt/zammad/config/locales/de-de.yml exists…

root@zammad:~# ls -lha /opt/zammad/config/locales/de-de.yml
-rw-r–r-- 1 zammad zammad 145K Dez 12 2016 /opt/zammad/config/locales/de-de.yml
root@zammad:~#

We have been debugging the problem and tried to resolve it adding the same locales like on the old system (which is en_GB UTF8). We have not been successfull and the problem still exists.

What I understood from the restore process it always restores all the config files etc. so the problem would still exist after a new installation.

Is there a way to only save the Mails/Tickets/Customers and start with a fresh installation?

This ticket-system is only used for a small voluntary organisation (Freifunk) but it is creating a problem being unable to respond to mails directly…

Edit:
We tried changing the locales to

root@zammad:~# locale
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE=“en_GB.UTF-8”
LC_NUMERIC=“en_GB.UTF-8”
LC_TIME=“en_GB.UTF-8”
LC_COLLATE=“en_GB.UTF-8”
LC_MONETARY=“en_GB.UTF-8”
LC_MESSAGES=“en_GB.UTF-8”
LC_PAPER=“en_GB.UTF-8”
LC_NAME=“en_GB.UTF-8”
LC_ADDRESS=“en_GB.UTF-8”
LC_TELEPHONE=“en_GB.UTF-8”
LC_MEASUREMENT=“en_GB.UTF-8”
LC_IDENTIFICATION=“en_GB.UTF-8”
LC_ALL=
root@zammad:~#

=====

as well as

running “/opt/zammad/contrib/packager.io/postinstall.sh” and “zammad run rails r ‘p Translation.fetch’” since this was recommended somewhere…

Hi,

I really don’t like to push… but we are still facing this problem.
If there is no solution I will start with a fresh Installation - however this would be a huge loss of data for our Freifunk community.

If there is anything I can do to make debugging easier - please give me a hint.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.