How to enable Queues in the Laravel project for Plesk Laravel Toolkit

Follow

Comments

4 comments

  • Avatar
    Mario Küpfer (Edited )

    This change throws an error on all existing projects that do not have the corresponding package installed:
    There are no commands defined in the "plesk-ext-laravel" namespace.

    [2023-01-26T13:21:00.443049+00:00] production.ERROR: There are no commands defined in the "plesk-ext-laravel" namespace. {"exception":"[object] (Symfony\Component\Console\Exception\NamespaceNotFoundException(code: 0): There are no commands defined in the "plesk-ext-laravel" namespace. at /var/www/vhosts/***redacted***/application/vendor/symfony/console/Application.php:632)"} []
    1
    Comment actions Permalink
  • Avatar
    Mario Küpfer (Edited )

    Ensure you not run "php artisan optimize" during deployment. Otherwise the toggle is deactivated.

    0
    Comment actions Permalink
  • Avatar
    Martin Allen

    Seeing the same issue - looks like it might be occurring when artisan schedule:run is being called each minute??

     There are no commands defined in the "plesk-ext-laravel" namespace
    [2023-01-27 15:09:44] development.ERROR: There are no commands defined in the "plesk-ext-laravel" namespace. {"exception":"[object]

    (Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException(code:

    0): There are no commands defined in the \"plesk-ext-laravel\"

    namespace. at

    /var/www/vhosts/xxxxx/vendor/symfony/console/Application.php:624)

    [stacktrace]

    #0

    /var/www/vhosts/xxxxx/vendor/symfony/console/Application.php(675):

    Symfony\\Component\\Console\\Application->findNamespace()

    #1

    /var/www/vhosts/xxxxx/vendor/symfony/console/Application.php(259):

    Symfony\\Component\\Console\\Application->find()

    #2

    /var/www/vhosts/xxxxx/vendor/symfony/console/Application.php(171):

    Symfony\\Component\\Console\\Application->doRun()

    #3

    /var/www/vhosts/xxxxx/vendor/laravel/framework/src/Illuminate/Console/Application.php(111):

    Symfony\\Component\\Console\\Application->run()

    #4

    /var/www/vhosts/xxxxx/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(155):

    Illuminate\\Console\\Application->run()

    #5 /var/www/vhosts/xxxxxx/artisan(37):

    Illuminate\\Foundation\\Console\\Kernel->handle()

    #6 {main}

    "}
    0
    Comment actions Permalink
  • Avatar
    Ken Cline

    Yep. It's broken. 

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request