What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi all, can someone tell me how I remove stores completely (including the vhosts and queues for rabb
Hi all, can someone tell me how I remove stores completely (including the vhosts and queues for rabbitmq)? My elasticsearch just crashed due to missing space (AT and US queues ran full of messages which were not proceeded. I do have a cronjob which purges queues daily).
Not complete solution: would it be enough to just provide the required store (in my case DE ) in project/config/Zed/cronjobs/jobs.php instead of $allStores ?
Comments
-
Hi Daniel, I think you can remove queues and exchange with these commands:
you can run them for each store e.g
APPLICATION_STORE=DE console queue:exchanges:delete-all
0 -
but about vhost I think you need to remove them from Rabbitmq management GUI.
e.g http://zed.de.suite.local:156720 -
I have to remove it from config, too I guess. Else it would cause error messages
PhpAmqpLib\Exception\AMQPProtocolConnectionException - Exception: INTERNAL_ERROR - access to vhost '/AT_development_zed' refused for user 'AT_development': vhost '/AT_development_zed' is down
0 -
Is Jenkins responsible for adding missing queues?
Another point: had to add the DE Vhost manually on our live-system this morning. Ever queue is missing (but event) - what to do there? π
(Rabbitmq had too much messages, so other services couldn't work anymore. DE-Vhost wasn't accessible anymore.. so delete it and re-create it)
0 -
Queues are creating automatically as soon as one of the queue client called like queue:worker jobs in jenkins
0 -
you can disable the jenkins to not mess the rabbitmq setup
0 -
Another point: had to add the DE ..
Please have a look into this file to check if you have all queue configurations
\Pyz\Client\RabbitMq\RabbitMqConfig::getQueueOptions
Also check if the you all permissions and stuff for /vhost is adjusted0 -
0
-
hope these information help you
0 -
Thanks for the information @UK9N7MP96 π
I'll inform you as soon as I know more
0 -
So: seems like the Jenkins ran and created some of the queues were created. Then I deleted the Vhost. Bad timing I guess. Lection learned: stop every process which communicates to rabbitmq before deleting the vhost. Restart these services not before the Vhost is up and running again
0 -
I'll now go ahead and remove the AT and US store
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random