Queue does not receive any jobs
Hi there,
first of all thank you for the project. I did the installation as written in the doku. I can log in with Jon DOE but, if I register a new user I see in the DB but no email is triggered. And yes, I am running php artisan queue:work.
Do you have any idea, why this might be?
Check your smtp configuration in your env file.
On Mon, 29 Jan, 2024 at 12:29, Christoph Goering @.***> wrote:
Hi there,
first of all thank you for the project. I did the installation as written in the doku. I can log in with Jon DOE but, if I register a new user I see in the DB but no email is triggered. And yes, I am running php artisan queue:work.
Do you have any idea, why this might be?
— Reply to this email directly, view it on GitHub https://github.com/devaslanphp/project-management/issues/105, or unsubscribe https://github.com/notifications/unsubscribe-auth/A57XVW3VXYXEQKFIEKPYVNLYQ52ZTAVCNFSM6AAAAABCPFS3RKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDKMJWGY4TCOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I think the problem is, it is not even creating a job. I create a user but nothing happens in the jobs table in the DB. The failed_jobs are also empty.
Stop your Queue and try this
nohup php artisan queue:work --daemon &
if u have a working smtp .. Im sure it will work.
On Mon, Jan 29, 2024 at 1:30 PM Christoph Goering @.***> wrote:
I think the problem is, it is not even creating a job. I create a user but nothing happens in the jobs table in the DB. The failed_jobs are also empty.
— Reply to this email directly, view it on GitHub https://github.com/devaslanphp/project-management/issues/105#issuecomment-1914502307, or unsubscribe https://github.com/notifications/unsubscribe-auth/A57XVW7KEEQZNLEYOCYXK4DYQ6B6BAVCNFSM6AAAAABCPFS3RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJUGUYDEMZQG4 . You are receiving this because you commented.Message ID: @.***>
Make sure you have this QUEUE_CONNECTION=database into the .env file.
I have an update. If I create a user via the Login Screen and email verification is sent. If I create it within the app. No email to set a Password or to be onboarded is sent.
One can bypass it, by clicking "Forgot Password" but then after setting a new password one need to verify the email first.
It seems like, that a "Verify Email and Set Password" email should be triggered if a user is created within the app.
Or am I missing something?
@ExtremOPS i just have installed and can confirm the same
Can you put in detail the steps so I can have a look?
@mihaisolomon
- add settongs to env file
- create docker image
- deploy the project
- Accces the project from browser (with predefined user)
- add a new user
the result shoud be no email sent (to newly added ) when you adding a user on the admin panel
It is worth mentioning that the "php artisan queue:work" command is not running automatically after docker container starts, either way if this service is started. Even after starting this manually adding the user from admin panel will not send the email.
From what I see it's not configured to run the job from the start, I created a PR https://github.com/devaslanphp/project-management/pull/112 with the supervisor that should fix one of the problems.
On the rest I'll investigate and update this PR
Hi @mihaisolomon do you have any updates? It would be really nice if you could get this working... If I can be of any help, please let me know.