-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while running setup:upgrade #35
Comments
Hi @JamelleG, looking into this. Can you check your env.php file to see if the following code block is present?
It's okay if there are other items in the 'queue' field array but it seems like 'consumers_wait_for_messages' => 1 must be present. If that is missing can you try adding it and see if that resolves the issue? I think that this may be the issue based on https://magento.stackexchange.com/questions/284604/error-while-checking-if-topic-is-synchronous-on-setupupgrade and I verified that on all of my working instances that 'queue' field and item are present in the env.php files. |
Hello @nrostrow-meta, Thank you for picking the following up. We do have that value set in our config but as the following In the meantime, we will set this value to see if it resolves the issue but maybe I might be misunderstanding something because it should ideally work regardless of whether this config is set or not. |
@JamelleG any update on if switching the value to 1 fixed the issue? |
@nrostrow-meta I get this message as well. None of the suggested solutions have helped. Have you made any progress on this? |
Hey @cmorbitzer, sorry to hear you're having issues. From our perspective, communication.xml and queue_publisher.xml are correctly configured to support this. Can you confirm you've cleared cache and run the setup:install commands? Would you also mind providing the output of: sudo bin/magento queue:consumers:list |
If you running and using Redis cache then try to flush Redis cache and then run upgrade command, It help me to fix this issue. command I used to flush redis cache |
Preconditions (*)
2.4.5-p3
1.2.0
8.1
Steps to reproduce (*)
Expected result (*)
bin/magento setup: upgrade
runs as expectedActual result (*)
We get the following error message
Error while checking if topic is synchronous
and the underlying error message we get isTopic "persist.meta.log.immediately" is not configured.
The text was updated successfully, but these errors were encountered: