• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Laravel Deployment fails

DubStepMad

New Pleskian
Server operating system version
Ubuntu 24.04.3
Plesk version and microupdate number
18.0.71 #2
From the following threads, these are related to the self contained Laravel deployment, where I need to use Git to be able to pull a repo down.

Thread 1: Resolved - Plesk Laravel İnstallation Error

Thread 2: Resolved - laravel toolkit - install fails

I did comment on the first thread but as it is resolved I decided to open a new one.
I'm currently still getting this issue.

I've followed the update guide https://support.plesk.com/hc/en-us/...lesk-extensions-install-disable-remove-update and via the UI there wasn't an update available so I manually did it via ssh but nothing changed.

I removed the extension and installed it again with no luck.

Extension Versions
Laravel Toolkit version is:
1.5.2-3677
Git: 2.5.4-1304


Error:
Code:
The task "ext-git-task\deployment" has failed.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating optimized autoload files
> @php artisan config:clear
Script @php artisan config:clear handling the post-autoload-dump event returned with error code 1

In Application.php line 960:

Class "Laravel\Pail\PailServiceProvider" not found
 
Thank you for the provided details, @DubStepMad . I attempted to reproduce the issue on a test environment through a skeleton installation and remote repository, but both went without errors. Is there anything specific in your attempt? A subdomain, subdirectory installation, etc. ? If you can provide step-by-step instructions on the actions performed so I can give it another try and forward the case for further investigation? Thank you in advance.
 
Thank you for the provided details, @DubStepMad . I attempted to reproduce the issue on a test environment through a skeleton installation and remote repository, but both went without errors. Is there anything specific in your attempt? A subdomain, subdirectory installation, etc. ? If you can provide step-by-step instructions on the actions performed so I can give it another try and forward the case for further investigation? Thank you in advance.
Hi @Sebahat.hadzhi

I am using a sub domain for this process.
I'm also using Deploy Actions as well as part of the deployment process.
Code:
npm install --verbose 2>&1 | tee output.log

composer install > output.log

/opt/plesk/php/8.4/bin/php artisan cache:clear  > output.log

/opt/plesk/php/8.4/bin/php artisan migrate > output.log

/opt/plesk/php/8.4/bin/php artisan optimize > output.log

npm run build > output.log

I did find a bypass, have to untick
Code:
Install composer.json dependencies
option to get it to deploy.
 
Thank you for the additional details. I am still unable to replicate it, unfortunately.
I would suggest opening a ticket with Plesk support for further investigation on your server. To sign-in and open a ticket please go to:
If you got your license from a reseller, your reseller is in charge of providing you with support. You can raise the inquiry with them and they can forward it to our team for further processing.If the reseller does not provide support, here is an alternative to get support directly from Plesk:
 
Back
Top