• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved I can't log in: Composer detected

musghs

New Pleskian
Server operating system version
CentOS Linux 7
Plesk version and microupdate number
18.0.50
Hi,
Since this morning I can no longer access the system. This error comes out:
- Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".

I tried from SSH the following commands but nothing:
/opt/plesk/php/8.1/bin/php /usr/lib64/plesk-9.0/composer.phar install

Response:
Composer could not find a composer.json file in /root
To initialize a project, please create a composer.json file. See Basic usage - Composer
 
if I run the command:
plesk bin extension --disable monitoring
Composer detected issues in your platform:
Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33.
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33. in /usr/local/psa/admin/plib/vendor/composer/platform_check.php on line 24
exit status 255
 
For now, I am using a work around that at least grants me access to the web interface again:

1. Disable composer
plesk bin extension --disable composer

2. Restart plesk (see plesk docs)
service sw-engine restart && service sw-cp-server restart
 
In our case it was a Plesk component that updated called "catalog" with a minimum requirement not met by our older Plesk version.

A work around for this is to edit: /opt/psa/admin/plib/modules/catalog/vendor/composer/platform_check.php

if (!(PHP_VERSION_ID >= 70400)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
}

Reducing the version requirement gets the panel to load again - but be warned this is unsupported hackery and that requirement is most likely intentional.
 
Hi, I'm logging today, 15 June 2023, Plesk Obsidian 18.0.41 and I get the error:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".

I tried the: plesk bin extension --disable monitoring

And it didn't work. Also trying to disable composer and it says it's not installed. Can I get some help?
 
Back
Top