Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queue does not receive any jobs #105

Open
ExtremOPS opened this issue Jan 29, 2024 · 10 comments
Open

Queue does not receive any jobs #105

ExtremOPS opened this issue Jan 29, 2024 · 10 comments
Assignees

Comments

@ExtremOPS
Copy link

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?

@Anostrofy
Copy link

Anostrofy commented Jan 29, 2024 via email

@ExtremOPS
Copy link
Author

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.

@Anostrofy
Copy link

Anostrofy commented Jan 29, 2024 via email

@mihaisolomon
Copy link
Collaborator

Make sure you have this QUEUE_CONNECTION=database into the .env file.

@ExtremOPS
Copy link
Author

ExtremOPS commented Jan 30, 2024

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?

@otvoslaszlogabriel
Copy link

@ExtremOPS i just have installed and can confirm the same

@mihaisolomon
Copy link
Collaborator

Can you put in detail the steps so I can have a look?

@otvoslaszlogabriel
Copy link

@mihaisolomon

  1. add settongs to env file
  2. create docker image
  3. deploy the project
  4. Accces the project from browser (with predefined user)
  5. add a new user

the result shoud be no email sent (to newly added ) when you adding a user on the admin panel

@otvoslaszlogabriel
Copy link

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.

@mihaisolomon
Copy link
Collaborator

From what I see it's not configured to run the job from the start, I created a PR #112 with the supervisor that should fix one of the problems.

On the rest I'll investigate and update this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants