Project

General

Profile

Actions

Feature #33589

closed

How to install and configure Sidekiq as queuing backend

Added by Marius BĂLTEANU over 4 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

I've created the following Wiki page with instruction about how to install and configure Sidekiq:

SidekiqConfiguration

Please let me know what do you think and where we should link the page.

Actions #1

Updated by Marius BĂLTEANU over 4 years ago

  • Description updated (diff)
Actions #2

Updated by pasquale [:dedalus] over 4 years ago

Hi Marius, I read the wiki and it is really well documented. Thanks!

Actions #3

Updated by Bernhard Rohloff over 4 years ago

Very cool! Thank you for sharing this. I'll can't wait to give it a try. :-)

Actions #4

Updated by Mischa The Evil over 4 years ago

I think this is a good howto for setting up these components. I suggest to categorize and link it as such.

Maybe beyond the intended scope of this issue, but I think we also need some short mentions under RedmineInstall#Optional-components and RedmineInstall#Optional-dependencies, and a short description under RedmineInstall#Configuration with a link to a separate wiki page which should contain a (more) generic, more detailed description of (the handling of) background jobs in Redmine specific (e.g. what is handled by background jobs [also thinking about proposed #31076 here]) and Rails in general (how does Redmine relate to Rails in this area [via ActiveMailer, ActiveJob, Queues/QueueAdapters, 3rd-party queuing backends]). This should not be tied specifically to persistent, 3rd-party queuing backends, also the default in-process queuing implementation needs some coverage (see e.g. #31939, #31957).
Additionally, some info for plugin developers would be nice too.

Actions #5

Updated by Connie Nielsen about 4 years ago

SPAM Message (Bernhard Rohloff)

Actions #6

Updated by David Doležal about 4 years ago

Is it possible to solve it under Windows-server? My configuration of Redmine:

Environment:
Redmine version 4.1.1.stable
Ruby version 2.6.6-p146 (2020-03-31) [x64-mingw32]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp

Actions #7

Updated by David Doležal about 4 years ago

David Doležal wrote:

Is it possible to solve it under Windows-server? My configuration of Redmine:

Environment:
Redmine version 4.1.1.stable
Ruby version 2.6.6-p146 (2020-03-31) [x64-mingw32]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp

My problem was diffrent. It was in connector on SMTP server, where was set low limit emails per minute from IP address. So simple! It works with Async and SuckerPunch. So I think it will work with Sidekiq too.

Actions #8

Updated by Marius BĂLTEANU 11 months ago

  • Status changed from New to Closed
  • Target version deleted (Candidate for next major release)
  • Resolution set to Fixed

Mischa The Evil wrote in #note-4:

I think this is a good howto for setting up these components. I suggest to categorize and link it as such.

Maybe beyond the intended scope of this issue, but I think we also need some short mentions under RedmineInstall#Optional-components and RedmineInstall#Optional-dependencies, and a short description under RedmineInstall#Configuration with a link to a separate wiki page which should contain a (more) generic, more detailed description of (the handling of) background jobs in Redmine specific (e.g. what is handled by background jobs [also thinking about proposed #31076 here]) and Rails in general (how does Redmine relate to Rails in this area [via ActiveMailer, ActiveJob, Queues/QueueAdapters, 3rd-party queuing backends]). This should not be tied specifically to persistent, 3rd-party queuing backends, also the default in-process queuing implementation needs some coverage (see e.g. #31939, #31957).
Additionally, some info for plugin developers would be nice too.

For now I made only the short mentions and I've linked the page to RedmineInstall. For the rest of the requirements, we should open a new issue.

Actions #9

Updated by Renaud GOSSE 4 months ago

Hello

Thank you for your tutorial, it was not working on my side, the mails were not sent:
I ran into this issue #69656 and this solved the problem, now the command to run sidekiq is :

bundle exec sidekiq -q default -q mailers

Also I used Valkey instead of Redis and it worked directly without configuration

Cheers !

Actions

Also available in: Atom PDF