Closed mollux closed 9 months ago
I'm getting an error vhost mautic/messages not found
when trying to send any e-mail using queue:
Looks like is necessary remove the /messages from DSN configuration
This pull request has been mentioned on Mautic Forums. There might be relevant details there:
https://forum.mautic.org/t/delayed-actions-are-not-being-executed/31995/9
the default RabbitMQ vhost is named
/
, which is encoded to%2F
See https://www.cloudamqp.com/blog/what-is-a-rabbitmq-vhost.html#:~:text=When%20configuring%20RabbitMQ%2C%20at%20least,to%20create%20a%20new%20vhost. and https://symfony.com/doc/current/messenger.html#amqp-transport
There is a bug in Mautic 5 (still figuring out what's going on), that prevents storing the
%2F
value when saving the settings via the UI.This PR provides a workaround, by renaming the default RabbitMQ vhost from
/
tomautic
To test this PR:
rabbitmq-worker
example dirinstall Mautic via the UI or CLI UI go to http://localhost:8003
CLI
verify the output of the worker container and check if the queue processing started