Skip to content

Lumen 5.5 Artisan queue [failed] [retry] #1417

@codeitlikemiley

Description

@codeitlikemiley

Creating this Issue since , for some reason i cant make it work
i did follow the docs
in bootstrap/app.php

$app->configure('app');  //! so i can use configure app config
$app->register(Jenssegers\Mongodb\MongodbServiceProvider::class);

then i create a new file app.php in config.. which is not present in lumen

and add

'providers' => [
        Jenssegers\Mongodb\MongodbQueueServiceProvider::class
    ]

on my queue

'failed' => [
        'database' => env('DB_CONNECTION', 'mysql'),
        'table' => env('QUEUE_FAILED_TABLE', 'failed_jobs'),
    ],

then i my .env

DB_CONNECTION=mongodb

then in my web.php
i queue my job then inside job , i purposely throw an exceptions...
yes im getting failed jobs on db

but i cant simply use the command
php artisan queue:failed and retry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions