• 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

Resolved Plesk Laravel İnstallation Error

safakb

New Pleskian
Server operating system version
AlmaLinux 9.6 (Sage Margay)
Plesk version and microupdate number
18.0.71 #2
Hello, when I try to install a Laravel application on a domain, I get the following error. How can I resolve this?

Code:
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 0 updates, 35 removals
- Removing theseer/tokenizer (1.2.3)
- Removing symfony/yaml (v7.3.2)
- Removing staabm/side-effects-detector (1.0.5)
- Removing sebastian/version (5.0.2)
- Removing sebastian/type (5.1.3)
- Removing sebastian/recursion-context (6.0.3)
- Removing sebastian/object-reflector (4.0.1)
- Removing sebastian/object-enumerator (6.0.1)
- Removing sebastian/lines-of-code (3.0.1)
- Removing sebastian/global-state (7.0.2)
- Removing sebastian/exporter (6.3.0)
- Removing sebastian/environment (7.2.1)
- Removing sebastian/diff (6.0.2)
- Removing sebastian/complexity (4.0.1)
- Removing sebastian/comparator (6.3.2)
- Removing sebastian/code-unit-reverse-lookup (4.0.1)
- Removing sebastian/code-unit (3.0.3)
- Removing sebastian/cli-parser (3.0.2)
- Removing phpunit/phpunit (11.5.32)
- Removing phpunit/php-timer (7.0.1)
- Removing phpunit/php-text-template (4.0.1)
- Removing phpunit/php-invoker (5.0.1)
- Removing phpunit/php-file-iterator (5.1.0)
- Removing phpunit/php-code-coverage (11.0.10)
- Removing phar-io/version (3.2.1)
- Removing phar-io/manifest (2.0.4)
- Removing nunomaduro/collision (v8.8.2)
- Removing myclabs/deep-copy (1.13.4)
- Removing mockery/mockery (1.6.12)
- Removing laravel/sail (v1.44.0)
- Removing laravel/pint (v1.24.0)
- Removing laravel/pail (v1.2.3)
- Removing hamcrest/hamcrest-php (v2.1.1)
- Removing filp/whoops (2.18.4)
- Removing fakerphp/faker (v1.24.1)
0/25 [>---------------------------] 0%
24/25 [==========================>-] 96%
25/25 [============================] 100%
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
 
In Application.php line 960: Class "Laravel\Pail\PailServiceProvider" not found
States right there what the problem is. Not sure if you're the developer of the application or not but if you are you might want to make sure you have everything set properly, if you aren't, you might want to reach out to the devs for help.
 
There seems be an issue with the skeleton installation of Laravel trough the toolkit. It's current being investigated by Plesk.
 
The issue was caused by a bug (EXTPLESK-9187). It has already been solved in the latest version of the Laravel extension. As already suggested by @Kaspar , please proceed with the extension update.
 
@safakb could make sure your running the latest version of the Laravel toolkit extension? This link explains how to update manually update extensions (click on the "Updating a Plesk extension" tab in the link): https://support.plesk.com/hc/en-us/...lesk-extensions-install-disable-remove-update

The issue was caused by a bug (EXTPLESK-9187). It has already been solved in the latest version of the Laravel extension. As already suggested by @Kaspar , please proceed with the extension update.
Yes, my problem has been solved, thank you.
 
I'm currently still getting this issue.

I've followed the update guide and via the UI there wasn't one available so I manually did it via ssh but that didn't work.

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

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
 
I'm currently still getting this issue.

I've followed the update guide and via the UI there wasn't one available so I manually did it via ssh but that didn't work.

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

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
I should mention that Laravel Toolkit version is: 1.5.2-3677
 
Hello, @DubStepMad . The issue should be sorted in Laravel Toolkit 1.5.2-3677. Can you please confirm the OS, your Plesk version, and whether you install a skeleton or from a remote repository? Thanks in advance.
 
Back
Top