Bulk Actions won't run

Hi Mall,
When we try to update several product attributes it makes a bulk action.
But the bulk action status stays on not started. So the product attributes are not updated.
Hope you can help.
 
Kind Regards

18 answers

Profile photo of Mall Staff 123080.00 $tone September 20, 2019
Public

Hi Mark van Altena,

Please provide me further information about the issue you mentioned:
Preconditions:

Expect result:

Actual result:

And provide me information of your instance:

  • URL and Admin credentials of your M2 instance
  • SSH credentials of your M2 instance
  • Let me know the path to your M2 folder

I will help to check further and get back to you then.
Regards,
Ubertheme team

#1
Profile photo of Mall Staff 123080.00 $tone September 23, 2019
Public

Hi Mark van Altena,
 
I am sorry for my late reply as I’ve just been back to work from my weekend. 

Please help to provide me credentials for htaccess authentication: http://prntscr.com/p9lz7a (Please make sure you mark your reply private, then it’s safe to share your site info here). 

Could it be that the cron is not running properly?

No, I don’t think so. I saw you have installed a lot of third-party extensions in your site (http://prntscr.com/p9m163). One of these extensions may relate to the issue you mentioned. Meanwhile, I saw an error message which relates to a third-party extension vendor named ‘Temando’ in the Magento’s log as follows:

[2019-09-18 19:17:25] temando.CRITICAL: “accountId” is required. Enter and try again. {“exception”:”[object] (Magento\\Framework\\Exception\\InputException(code: 0): \”accountId\” is required. Enter and try again. at /data/web/magento2/vendor/magento/framework/Exception/InputException.php:91)”} []

Regards,
Mall.

#4
Profile photo of Mall Staff 123080.00 $tone September 23, 2019
Public

Hi Mark van Altena,

When we try to update several product attributes it makes a bulk action.
 Could it be that the cron is not running properly?

I checked your site and saw that it is a working rule of Magento2.3.2 on the Mass Update product’s attributes function. You could find a workaround to solve the issue you mentioned at your end via the following post:
https://magento.stackexchange.com/questions/284658/how-can-i-skip-queue-messages-and-display-action-happend-message-in-magento2-3

In 2.3 queues were added for product mass updates. You would need to run the consumer for product_action_attribute.update for it to process the updates.
In your case it would be bin/magento queue:consumers:start product_action_attribute.update, you could have multiple consumers running at the same time, but I guess one will do.

Regards,
Mall.

#7
Profile photo of Mark van Altena 2060.00 $tone September 23, 2019
Public

Hi Mall,
 
So I need to put these command through cli?
Do I need to do that from the magento root.
And could you see if the cronjob is running?
And when I skip these message with the commands you gave me will the attributes be updated?
Hope you can help

#8
Profile photo of Mark van Altena 2060.00 $tone September 23, 2019
Public

Hi Mall,
 
I also have some issues with the tablerates. In debug.log I receive the following message:

[2019-09-23 15:04:06] main.DEBUG: cache_invalidate: {"method":"POST","url":"https://fotonijmegen3.hypernode.io/fotonijmegen3_admin/admin/system_config/save/key/3ee51f989f4d632ed464eec5787afcd3a617f9e4d7050c6b60d0917849c44906/section/carriers/website/1/","invalidateInfo":{"identifier":"LOCKED_RECORD_INFO_SYSTEM_CONFIG"}} []
#9
Profile photo of Mark van Altena 2060.00 $tone September 23, 2019
Public

Hi Mall,
 
Ok I will check this but I find it strange that this didn’t happen in the other installation. So I think it has someting to do with the migration.
I also saw that there were 2 new products added.
Did you use them for testing?
 
Kind Regards

#11
Profile photo of Mall Staff 123080.00 $tone September 23, 2019
Public

Hi there,

I also saw that there were 2 new products added.
Did you use them for testing?

Yes, please help to delete that products at your end.
Regards,
Mall.

#12
Profile photo of ubdev Staff 50000.00 $tone September 24, 2019
Public

Hi Mark van Altena, 
 
As explained in Mall’s reply, that refers to the core function of Magento. To enable auto update of the attributes, you should enable the cron job. You can check out Magento’s guide here to set up the cron job at your end. 
 
Regards,
Ubertheme team

#14
Profile photo of Mark van Altena 2060.00 $tone September 24, 2019
Public

Hi Ubertheme,
 
The cronjobs are running and the bulk actions are complete, so no issues there from what I see.
I also asked a question about the table rates because it won’t work to upload them.
I still get the following message:

[2019-09-23 15:04:06] main.DEBUG: cache_invalidate: {"method":"POST","url":"https://fotonijmegen3.hypernode.io/fotonijmegen3_admin/admin/system_config/save/key/3ee51f989f4d632ed464eec5787afcd3a617f9e4d7050c6b60d0917849c44906/section/carriers/website/1/","invalidateInfo":{"identifier":"LOCKED_RECORD_INFO_SYSTEM_CONFIG"}} []
 
#15
Profile photo of Mall Staff 123080.00 $tone September 24, 2019
Public

Hi there,

I still get the following message:
[2019-09-23 15:04:06] main.DEBUG: cache_invalidate: {“method”:”POST”,….

Lets tell me know how to clone for that issue at my end. I will help to check further and get back you then.
Regards,
Mall.

#16
Profile photo of Mark van Altena 2060.00 $tone September 24, 2019
Public

Ok,
I exported the csv at Store view / Main Website.
Store -- Configuration -- Sales -- Shipping methods -- Table rate
I choose for Price vs Destination and completed the Table rates CSV with the data below.
When I try to import the CSV I get the following message in Magento Backend

“Something went wrong while importing table rates.”

 

Country,Region/State,”Zip/Postal Code”,”Order Subtotal (and above)”,”Shipping Price”

AUT,*,*,0.0000,14.0000

BEL,*,*,0.0000,7.0000

BGR,*,*,0.0000,22.0000

CHE,*,*,0.0000,39.0000

DEU,*,*,0.0000,7.0000

DNK,*,*,0.0000,14.0000

ESP,*,*,0.0000,17.0000

EST,*,*,0.0000,22.0000

FIN,*,*,0.0000,21.0000

FRA,*,*,0.0000,14.0000

GBR,*,*,0.0000,13.0000

HUN,*,*,0.0000,22.0000

IRL,*,*,0.0000,21.0000

ITA,*,*,0.0000,17.0000

LUX,*,*,0.0000,7.0000

LVA,*,*,0.0000,22.0000

NLD,*,*,0.0000,4.9500

NLD,*,*,50.0000,0.0000

POL,*,*,0.0000,22.0000

PRT,*,*,0.0000,27.0000

ROU,*,*,0.0000,22.0000

SVK,*,*,0.0000,22.0000

SVN,*,*,0.0000,22.0000

SWE,*,*,0.0000,21.0000

 

#17
Profile photo of ubdev Staff 50000.00 $tone September 25, 2019
Public

Hi Mark van Altena, 
We’re afraid that issue refers to the core function of Magento 2, not our migration tool. Please help to check further at your end. 
You can check out this guide for further reference.
PS. Due to our high workload, we can help you with specific issue related to our migration tool only. 
Regards,
Ubertheme team

#18

Please login or Register to Submit Answer

Written By

Comments