Open iamserjo opened 6 years ago
Hello @iamserjo
If you want to create all the configuration you need to use the command rabbitmq-supervisor:rebuild
. Calling it would be something like
bin/console rabbitmq-supervisor:rebuild
rabbitmq-supervisor
is the command group. You cannot call it directly. Just the commands inside it.
Best regards Andy
Hi @Phobetor. I am saying that rabbitmq-supervisor:rebuild not found in my command list. It even says that group named rabbitmq-supervisor doesn't exist.
Test case for my issue:
creating a demo app
composer create-project symfony/symfony-demo
cd symfony-demo/
installing rabbitmq-supervisor-bundle
composer require phobetor/rabbitmq-supervisor-bundle
trying to run command
bin/console rabbitmq-supervisor:rebuild
Getting error: There are no commands defined in the "rabbitmq-supervisor" namespace.
Hi @iamserjo
You should add
\Phobetor\RabbitMqSupervisorBundle\RabbitMqSupervisorBundle::class => ['all' => true]
to your bundles.php. After that, you will be able to run the command. I don't know why this bundle does not register itself automatically after installing via composer.
I use symphony 4 Flex. According to the manual I install bundle
composer require phobetor/rabbitmq-supervisor-bundle
Then create file structureBut when I try to run command
bin/console rabbitmq-supervisor
i got error
Command "rabbitmq-supervisor" is not defined.
bin/console shows me all the commands but there is no group rabbitmq-supervisor
What am I doing wrong?