Important

You are browsing upcoming documentation for version 6.1 of OroCommerce, scheduled for release in 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Application Commands 

Application Commands 

Run Console 

Run application commands via orocloud-cli app:console, for example:

orocloud-cli app:console oro:user:list
orocloud-cli app:console oro:search:reindex

To pass a command that contains arguments or options, wrap the command in quotes.

orocloud-cli app:console "oro:user:list --all"
orocloud-cli app:console 'oro:search:reindex --scheduled Oro\Bundle\UserBundle\Entity\User'

Spaces and backslashes must be escaped with \.

orocloud-cli app:console "oro:user:list --roles=Sale\ Manager"
orocloud-cli app:console "oro:user:list --roles='Sale Manager'"
orocloud-cli app:console "oro:user:list --roles=\"Sale Manager\""
orocloud-cli app:console 'oro:user:list --roles=Sale\ Manager'
orocloud-cli app:console 'oro:user:list --roles="Sale Manager"'
orocloud-cli app:console 'oro:search:reindex Oro\Bundle\UserBundle\Entity\User'
orocloud-cli app:console "oro:search:reindex Oro\\Bundle\\UserBundle\\Entity\\User"
orocloud-cli app:console "oro:search:reindex Oro\Bundle\UserBundle\Entity\User"

Schema Update 

Note

Be aware that only those consumers that ran before the orocloud-cli app:schema:update will run afterward.

Sometimes, you may be required to perform schema update operations. To do this, use the orocloud-cli app:schema:update command:

app:schema:update

Application Cache 

Note

Be aware that only those consumers that ran before the upgrade will run afterward.

Sometimes, you may be required to clear the application cache (for example, after applying a patch or changing a configuration). This can be done with the orocloud-cli app:cache:clear command that rebuilds the application cache. The command is performed without maintenance mode.

orocloud-cli app:cache:clear

Cached Translated Values 

To add translations to the source code, run:

orocloud-cli app:translation:update

API Cache 

Warmup API and API doc caches

orocloud-cli app:cache:api

Consumer 

To run a consumer for a given queue for two minutes, run:

orocloud-cli app:consumer oro.default

Search Reindex 

To trigger reindexation, run:

orocloud-cli app:search:reindex