How to fix «running full reindexation of search index» / «Value must be a number» on `app/console oro:platform:update --env=prod --force`?

running full reindexation of search index
[InvalidArgumentException]
Value must be a number

I have just run app/console oro:platform:update --env=prod --force again.