BlackbitDigitalCommerce / pimcore-data-director

Import Bundle for Pimcore
16 stars 3 forks source link

Process queue does not start #74

Closed betterapp closed 1 year ago

betterapp commented 1 year ago

I started to have this button on dataport. image

When I click on it nothing happend and I get black modal window. image

The job is queued but nothing happend. image

There is nothing in the php log.

What should we check. Message from button says that there is something wrong with configuration but we did not changed anything. Server is up and running since 554 days. What should we check ?

betterapp commented 1 year ago

We found in logs something like this:

[2023-01-26 13:37:39] php.DEBUG: Notice: Object of class Symfony\Component\Console\Helper\ProgressBar could not be converted to number {"exception":"[object] (Symfony\Component\Debug\Exception\SilencedErrorContext: {\"severity\":8,\"file\":\"/var/www/xxx/www/vendor/blackbit/data-director/Command/QueueProcessorCommand.php\",\"line\":52 7,\"trace\":[{\"function\":\"Blackbit\\DataDirectorBundle\\Command\\{closure}\",\"class\":\"Blackbit\\DataDirectorBundle\\Command\\QueueProcessorCommand\",\"type\":\"::\"}],\"count\":1})"} [] [2023-01-26 13:37:39] doctrine.DEBUG: UPDATE plugin_pim_queue SET started_at=NULL [] []

[2023-01-26 13:37:39] console.CRITICAL: Error thrown while running command "data-director:process-queue". Message: "Warning: Division by zero" {"exception":"[object] (ErrorException(code: 0): Warning: Division by zero at /var/www/xxx/www/vendor/blackbit/data-director/Command/QueueProcessorCommand.php:527, ErrorException(code: 0): Warning: Division by zero at /var/www/xxx/www/vendor/blackbit/data-director/Command/QueueProcessorCommand.php:527)","command":"data-director:process-queue","message":"Warning: Division by zero"} []

[2023-01-26 13:37:39] console.DEBUG: Command "data-director:process-queue" exited with code "1" {"command":"data-director:process-queue","code":1} []

527             $remaining1 = round((time() - $progressBar1) / $progressBar1->getProgress() * ($progressBar1->getMaxSteps() - $progressBar1->getProgress()));
528             $remaining2 = round((time() - $progressBar2) / $progressBar2->getProgress() * ($progressBar2->getMaxSteps() - $progressBar2->getProgress()));
betterapp commented 1 year ago

DD: 3.2.11

betterapp commented 1 year ago

updating DD to 3.2.35.

For now I do not see any errors.