-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Resolve cron install script not in bin/setup #420
Comments
I found an interesting link with a solution for 2.4.0 and 2.4.1, and mentions that the bug has been resolved in 2.4.2, but there must be some other issue related to the fact that it's running in a container? Can anyone confirm their bulk updates is working? |
Thank you for the report, I'll check this out shortly. |
hi @markshust hope you're well... you managed to check this bug out? any recommended solution? |
can anyone confirm if the same issue is happening on their end? :) |
Sorry I haven't checked this out yet, but haven't had reports from anyone else that this wasn't working. Can someone else confirm? |
Doesn't work because cron isn't executing, even after this fix #125 |
Have you tried enabling the Cron within the Docker containers? Note it has to be uncommented in these two places: https://github.com/markshust/docker-magento/blob/master/compose/docker-compose.yml#L59-L66 Then, you must run If it still isn't working, we'll need to confirm if:
We know the latter is failing, but not sure if the process is called in the first place, or if the script is timing out someplace. |
@seanjeanc I found out that 2.4.0 introduced a new way of setting up the cron installer script https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-cron.html#create-the-commerce-crontab Unfortunately, I have not worked with any cron-related tasks, so I wasn't aware of this issue and missed it in the 2.4.0 update. I just pushed an update to remove the existing cron tasks. I'm currently on an underpowered Mac Air, so Docker builds are very pokey. My main laptop should be back in a few days, so I can take care of this then. That said, I also applied to DockerHub's open source application process to get approval back for automated builds, as I believe that recently went away for me which makes building all of these images remotely a possibility. In the mean time, you can get the cron working by running:
Then, enable the cron in docker-compose.yml using the steps from the previous comment. |
Fixed, released and tagged in 39.0.0 |
Description
There's an issue with bulk updating the inventory for several products at once. I think it's related to the message queue and perhaps because it's running in the docker container?
I have tried installing and running cron via command line e.g. bin/magento cron:run ( to run cron as per magento 2 docs), I have also tried "bin/magento queue:consumer:start product_action_attribute.update" but this process is just stuck.
Steps To Reproduce
Expected Result
Bulk update should work.
Actual Result
But I only see the message that it has been sent to the queue, but don't get any sort of confirmation of completion.
The text was updated successfully, but these errors were encountered: