plesk / ext-laravel-integration

Plesk Laravel Toolkit integration with Laravel applications.
Apache License 2.0
4 stars 4 forks source link

support for laravel 10 ^10.0 #6

Open donejeh opened 1 year ago

donejeh commented 1 year ago

image

i have issese enable queue on plesk with laravel 10

image

Askancy commented 1 year ago

Did you manage to solve it? I also have "Scheduled Tasks" disabled that you don't want to turn on....

donejeh commented 1 year ago

"Scheduled Tasks"

You have to install Plesk extension to have that toggle button enable automatically

image

rybalov commented 11 months ago

That's right. In order for Laravel Toolkit to manage your queues, you need to add this dependency to your composer.json. More information here: https://docs.plesk.com/en-US/obsidian/administrator-guide/website-management/laravel-toolkit.80010/#managing-queues

Askancy commented 11 months ago

@rybalov The dependency is there and it is updated, are you sure it is compatible with Laravel 10?

image

Askancy commented 11 months ago

@rybalov So the ticket is closed without verification? Nice support though from Plesk... 😂😂

rybalov commented 11 months ago

@Askancy, sorry for our misunderstanding.

If you follow the points mentioned in the documentation, queue support with Laravel 10 works without problems.

Let's make sure that you have fulfilled all the requirements correctly. In addition to installing the component, you need to ensure the following:

  1. This domain uses PHP >= v8.1 (Laravel 10 requirements).

  2. Subscription permission "Scheduler management" must be enabled (either through customization or through a service plan).

    Screenshot 2023-10-11 at 19 17 18
  3. The shell for this subscription must be selected (Domain -> Hosting & DNS -> Hosting -> SSH access).

    Screenshot 2023-10-11 at 19 17 39

As a result, the queue switch is available for enabling.

Screenshot 2023-10-11 at 19 18 14

Let me know if the problem still occurs.

Askancy commented 11 months ago

image

image

my Plesk package did not see subscriptions, however as you see from the screenshot it is enabled:

image

image

I had already followed all the guidelines, but it keeps getting disabled. I will preface by saying that the queues on my Laravel work correctly. however having a panel on plesk would be handy.

rybalov commented 11 months ago

Please hover over "Disabilitate" ("Attività pianificate"). What message in tooltip is displayed?

Askancy commented 11 months ago

image

But scheduler management is active, in fact I have it in the list of "applications" in my domain.

rybalov commented 11 months ago

Indeed, a bug was found in the permissions subsystem that caused the Task Scheduler permissions to be defined incorrectly in some cases.

The fix will appear in the next update (early next week), your Plesk Panel will receive it automatically.

Askancy commented 11 months ago

Now the Scheduled Tasks turn out to be enabled the queues do not once enabled though if I exit and re-enter plesk, the option is turned off, watch the video: If I try to reactivate it, I get the error:

The scheduled task already exists.

In the schduled tasks tab in fact I have the warning:

Scheduled tasks are disabled.

https://github.com/plesk/ext-laravel-integration/assets/789702/c87fda46-02d5-4b1b-ae44-31b7c7f6e945

rybalov commented 10 months ago

Is the problem reproduced on a different domain? Can you show a list of your Scheduled Tasks?

Askancy commented 10 months ago

Is the problem reproduced on a different domain?

I have no way of trying...

Can you show a list of your Scheduled Tasks? image

Now, however, the "scheduled Tasks" is active (perhaps an update?) But Queue continues to be inactive.

image

rybalov commented 10 months ago

Ok. Could you show please a list of your Scheduled Tasks in the Domain Card (not in Laravel Toolkit)?

Askancy commented 10 months ago

Ok. Could you show please a list of your Scheduled Tasks in the Domain Card (not in Laravel Toolkit)?

This?

image