Cant reprocess emails in a docker environment

Infos:

  • Used Zammad version: 6.4.1
  • Used Zammad installation type: docker-compose

Expected behavior:

  • reprocess the emails

Actual behavior:

  • I’v got several not processed emails in the failed_emails databas table. When I try to reprocess them I got the following message

Steps to reproduce the behavior:

  • running the following command:
    *docker exec -it zammad-railsserver-1 bash -c “cd /opt/zammad && rake email_parser:failed_email:reprocess_all --trace”
    shows error:

rake aborted!
Don’t know how to build task ‘email_parser:failed_email:reprocess_all’ (See the list of available tasks with rake --tasks)
/usr/local/bundle/gems/rake-13.2.1/lib/rake/task_manager.rb:59:in []' /usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:187:in invoke_task’
/usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:138:in block (2 levels) in top_level' /usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:138:in each’
/usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:138:in block in top_level' /usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:147:in run_with_threads’
/usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:132:in top_level' /usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:83:in block in run’
/usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:214:in standard_exception_handling' /usr/local/bundle/gems/rake-13.2.1/lib/rake/application.rb:80:in run’
/usr/local/bundle/gems/rake-13.2.1/exe/rake:27:in <top (required)>' /usr/local/bundle/bin/rake:25:in load’
/usr/local/bundle/bin/rake:25:in `’

Hi @MironaThetin. You have to use the correct command.

Holy! Thank you very match - you are absolutely right - I have to use the right command :slight_smile:
for the record: the command docker exec -it zammad-railsserver-1 bash -c “cd /opt/zammad && rake zammad:email_parser:failed_email:reprocess_all --trace” worked.

1 Like