-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Product export gets "Message is added to queue, wait to get your file soon" #23450
Comments
Hi @mesnitu. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @mesnitu do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hello @mesnitu. Thanks for applying. To get those files now You need Your cron jobs be running. Will You try please to execute php bin/magento cron:run. |
ok, I'm still waiting for the cron to end ( 5 minutes now...) , so, meanwhile, how can I disable this? I didn't do anything, except the update. This csv export, is a operation that expects a immediate conclusion to get the work done. |
Nothing. |
I had the same issue.
Hope this helps. |
Still no luck here. I'm on windows 10.
So I did the setup:upgrade A lot of missed jobs are created : bulk_cleanup, sales_grid_order_shipment_async_insert, sales_send_order_shipment_emails. But i guess the bottom line, is that this was not occurring in 2.3.1 and I don't know why is happening now and how to fix this. |
Reverting to 2.3.1 there's no such issue. |
Same issue. Any solution yet? |
Hi again @mesnitu. Here are our steps after vanilla instance installation of 2.3-develop version: |
Hi |
@mesnitu, please take a not of this Magento official page, in particular the point about Operating Systems. As You can see Magento supports only Linux. Taking into consideration all aforementioned in this ticket we are supposed to close it. But please feel free to reopen it if You find a way to reproduce it on a vanilla Magento instance running on officially supported server environment. (By the way we also tried to reproduce Your issue on 2.3.2 version, the one You reported about, but trhe result was the same - can not reproduce). Thanks for applying. |
Temporary solution for products export:
|
I am also experiencing this issue. I also tried manually running the cron task. |
Clean mag 2.3.2 cloud installation (using docker locally) using centos 7 |
Can everybody who runs against this, check if the message queue consumer processes are running?
You can find such processes with a command like: It should output something like this on a vanilla 2.3.2 installation:
If you can not find running consumer processes even though the cron is running. Then for some reason those process aren't getting spawned. If you think you spotted a bug after debugging, then please let us know! Alternatively you can also manually execute the |
I followed HOSTEP's advice and solved my queue problems |
I am facing the same issue can anyone provide the solution for magento2.3.2 |
Looking at my cron_schedule table I see that the crons are running, even the consumers_runner with success status.
I tried to manually execute the command as @hostep suggested:
and the files were generated correctly! Thank you very much |
After updating to 2.3.2, I started to experience issues that seem to be related to this as well. What I was doing was setting an attribute for multiple products at once. It would give me a message like so; It never processed however. I found them sitting like mentioned above:
|
you have to pass $filename instead of '$Path'. in below file. Magento\ImportExport\Controller\Adminhtml\Export\File\Download.php Before public function execute()
|
Thanks for the reply! Your solution partly solved my problem. In addition, I noticed that the new export files are saved with '664' permissions. |
I can't imagine this being the only solution to this problem. This means I have to open CLI and run this command for EVERY export i'm doing!? That's ridiculous. |
@TawabG - check your cron processes. Run "ps -ef | grep cron" Delete any old processes which may be stuck / still running. I had similar issue in my dev site. I ran this command - php bin/magento queue:consumers:list product_action_attribute.update Cron should be kicking off jobs for these consumers. The exportProcessor is the job which handles the export. You should see similar process in your terminal - Run "ps -ef | grep consumers" php bin/magento queue:consumers:start exportProcessor --single-thread --max-messages=10000 |
There any way to export product csv without run commands ? my magento ver 2.3.4 |
Can you SSH into your server? If so then we can help you out.
…On Tue, Jul 21, 2020, 6:39 AM lesliemcc ***@***.***> wrote:
hi i have no coding experience and i need to export my magento 2.3.2
stores customers over to shopify but when i try the following message
appears and nothing happens.
[image: lkjhbnm,lkjn]
<https://user-images.githubusercontent.com/68594308/88050663-2ad9e780-cb4f-11ea-8e9b-ce5b34c50c69.JPG>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23450 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADAT2FM5E4TE5RSKOOFIRTR4V47DANCNFSM4H35E6BQ>
.
|
I don’t I’m afraid as an independent team deals with it.
Kind Regards,
Leslie McCulloch,
Miskie London LTD
Phone: 07532725328
Email: lesliemcculloch@miskielondon.com
… On 21 Jul 2020, at 14:49, Bruce Gemberling ***@***.***> wrote:
Can you SSH into your server? If so then we can help you out.
On Tue, Jul 21, 2020, 6:39 AM lesliemcc ***@***.***> wrote:
> hi i have no coding experience and i need to export my magento 2.3.2
> stores customers over to shopify but when i try the following message
> appears and nothing happens.
> [image: lkjhbnm,lkjn]
> <https://user-images.githubusercontent.com/68594308/88050663-2ad9e780-cb4f-11ea-8e9b-ce5b34c50c69.JPG>
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#23450 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AADAT2FM5E4TE5RSKOOFIRTR4V47DANCNFSM4H35E6BQ>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
For some reason, Magento Core decided to make exports always asynchronous (run in the background) instead of optionally running big jobs in the background. Which means you have to wait for the job to run and check back on the export page regularly until you see your export file is there. It's a bit rubbish, but that's how it is now! If it never appears, it means your cron is not running (should see a notification about that). That's something you'll need to get your web developer to sort out. |
Add a cron on the control panel of your webhost and set it to run the below command every 2 min.s (or the longest you are willing to wait). If you are unable to do it yourself, perhaps seek help from your webhost helpdesk. php bin/magento queue:consumers:start exportProcessor |
@hostep I debugged in and found the following:
In a nutshell:
If it is not fully clear, what I wrote, please ask for clarification :D |
I've had some issues in the past as well with locks in mysql getting stuck (not necessarily with queue consumers, it was with cronjobs I memory serves me right, but they both use the same locking mechanism). We've found that switching the lock provider from the database to the filesystem to be a lot more stable. I hope this can solve your issue! |
Thanks for the link! While this might solve the "stucking" issue for me, since I can interfere with the file system, I think there is a larger underlying problem.
|
Magento version 2.3.4-p2 Here are the consumer processes:
|
Listing the queue consumers does not mean the processes are running. |
@HenKun Please See the output below:
|
So obviously they are running. Just wanted to make you aware, that |
Alot of us are having this bulk update problem and general messaging broker problems with M 2.4.0. Would be nice to get team Magento to fix this bad problem!! #29797 |
In what module can we run this? public function execute()
} |
This is file. Magento\ImportExport\Controller\Adminhtml\Export\File\Download |
@hostep As per your suggestion, the consumer processes are running. But both bulk product attribute update and export products operation not working. Any ideas ? Thanks |
@magecoders: the status says 'in progress', so they should be running and your screenshot also shows that those particular consumers are running, so that's good! |
@HenKun: you made some good remarks before, could you open a new issue with your findings, because these might be important to get fixed. Thanks! |
@HenKun I agree with your points, I have debug into running consumer process and they stuck due to DB lock in my case. |
Hello there, In our case, we can confirm hostep and HenKun answers :
Switching the lock configuration of Magento to this :
...seems to resolve our problem : Mass products updates and exports work as expected. On the other hand, the related bulk actions (domain.com/admin/bulk/index/index/) were not updated accordingly (tablename Here is how to fix it : #29797 Thank you very much for your help ! |
Feature request: It would be easier to add a checkbox to generate it in the background yes/no on creation |
Hi I have a similar issue as soon as I select any option among Entity Type to export and click continue, the page returns with a notice "Please correct the data sent value." without showing any Entity Attributes. Please help I am new in magento. |
Just updated magento from 2.3.1 to 2.3.2, all looked fine until I wanted to export a csv file for products, etc... Is this a new featured, or how can I simple download / export the products as it was doing a couple hours ago?
The only thing I get is "Message is added to queue, wait to get your file soon".
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: