Symptoms
-
Cannot log into Plesk with the following error:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0".
-
The following error is being output to the panel.log:
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.20. in /usr/local/psa/admin/plib/modules/catalog/vendor/composer/platform_check.php
-
Old Plesk version (e.g. 18.0.34) is in use.
Cause
Catalog extension bug EXTCATALOG-673
Resolution
The fix will be delivered automatically. To install it immediately, run the Plesk daily maintenance task:
# plesk daily
# curl https://support.plesk.com/hc/en-us/article_attachments/14779241862935/catalog-1.16.8-264.zip -o catalog.zip
Install the update manually:# plesk bin extension -i catalog.zip
Comments
16 comments
It's impossible to upgrade Plesk because it is an old version. Please, help us !
Hello,
The development team has rolled out a fix for this issue, you can run the following command on your server to trigger the update:
Sorry, but we are on CentOS6.5 with no system upgrade and no more plesk upgrade.
This is the response at the commande plesk daily :
[2023-05-23 10:18:19.274] ERR [panel] Unable to get information about updates for current release.
[2023-05-23 10:18:19.274] ERR [panel] Autoinstaller exited with error: The product 'plesk' is not installed yet.
[2023-05-23 10:18:20.664] ERR [panel] Unable to get information about available upgrades.
[2023-05-23 10:18:20.664] ERR [panel] Autoinstaller exited with error: There are no suitable product versions.
It's incredible, because, if Plesk don't want to updrage plesk when the system is out of LTS, why this plesk version don't works this worning on two of our servers ?
Hello,
I have updated the article with an instruction how to install the update manually.
Hello, i have ubuntu 16.04
catalog-1.16.8-264.zip is valid for ubuntu ?
Must we understand that Plesk continues to update itself every night in stealth mode even for a Plesk installed on a system that came out of long time support like CentOS 6.5 and that the micro-update of this night went wrong and need a patch? In any case, thank you for the reactivity.
On the other hand, please note that the command was finally executed well and solved the pb despite the composer error above. Do we still have to install the patch manually?
Updated manually with the attachment and worked, Plesk is accessible again. Thanks.
support
Product version: Plesk Obsidian 18.0.31.3
OS version: CentOS 6.10 x86_64
Build date: 2020/12/09 09:00
Revision: 13065ca86af53066a43b22b4c563e199e93ed137
?
I've tried all these solutions and none work, including disabling the Monitoring Extension.
Plesk Daily produced a long string of errors:
[2023-06-15 08:00:26.765] 4167164:648b19761f2ac ERR [panel] Unable to get inform ation about updates for current release.
[2023-06-15 08:00:26.766] 4167164:648b19761f2ac ERR [panel] Autoinstaller exited with error: The currently installed version of the product with ID 'plesk' is n o longer available from the installation source.
Please upgrade to the next available product version to receive software updates .
[2023-06-15 08:00:41.569] 4167270:648b197ede58f ERR [panel] '""' is not a valid hostname for the email address:
0: /usr/local/psa/admin/plib/vendor/laminas/laminas-mail/src/Address.php:72
Laminas\Mail\Address->__construct(string '""@""', string 'admin')
1: /usr/local/psa/admin/plib/vendor/laminas/laminas-mail/src/AddressList.php:236
Laminas\Mail\AddressList->createAddress(string '""@""', string 'admin')
2: /usr/local/psa/admin/plib/vendor/laminas/laminas-mail/src/AddressList.php:29
Laminas\Mail\AddressList->add(string '""@""', string 'admin')
3: /usr/local/psa/admin/plib/vendor/laminas/laminas-mail/src/Message.php:538
Laminas\Mail\Message->updateAddressList(object of type Laminas\Mail\AddressList, string '""@""', string 'admin', string 'Laminas\Mail\Message::addFrom')
4: /usr/local/psa/admin/plib/vendor/laminas/laminas-mail/src/Message.php:131
Laminas\Mail\Message->addFrom(string '""@""', string 'admin')
5: /usr/local/psa/admin/plib/vendor/laminas/laminas-mail/src/Message.php:118
Laminas\Mail\Message->setFrom(string '""@""', string 'admin')
6: /usr/local/psa/admin/plib/functions.php:1350
plesk_mail(array, string '<xhost.xpan.ca> Package Update Manager notification', string '<!DOCTYPE html>
<html lang="en">
<head>
<title>Plesk</title>
<meta http-equiv="Content-Type...', string 'Content-Type: text/html; charset=UTF-8')
7: /usr/local/psa/admin/plib/Notification/Manager.php:52
Plesk\Notification\Manager->sendMessages()
8: /usr/local/psa/admin/plib/DailyMaintainance/Task/InstallSystemPackageUpdates.php:161
DailyMaintainance_Task_InstallSystemPackageUpdates->_sendError(string '2023-06-15 08:00:37 INFO: pum is called with arguments: ['--update', '--json']
2023-06-15 08:00:40 W...')
9: /usr/local/psa/admin/plib/DailyMaintainance/Task/InstallSystemPackageUpdates.php:42
DailyMaintainance_Task_InstallSystemPackageUpdates->run(array)
10: /usr/local/psa/admin/plib/DailyMaintainance/Runner/Task.php:50
DailyMaintainance_Runner_Task->runTask(object of type DailyMaintainance_Task_InstallSystemPackageUpdates, array)
11: /usr/local/psa/admin/plib/DailyMaintainance/Runner/Task.php:27
DailyMaintainance_Runner_Task->run()
12: /usr/local/psa/admin/plib/DailyMaintainance/task-script.php:17
ERROR: Laminas\Mail\Exception\InvalidArgumentException: '""' is not a valid hostname for the email address (Address.php:72)
Composer detected issues in your platform:
Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27.
PHP User Error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27.; File: /usr/local/psa/admin/plib/modules/letsencrypt/vendor/composer/platform_check.php, Line: 24
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27. in /usr/local/psa/admin/plib/modules/letsencrypt/vendor/composer/platform_check.php on line 24
Composer detected issues in your platform:
Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27.
PHP User Error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27.; File: /usr/local/psa/admin/plib/modules/letsencrypt/vendor/composer/platform_check.php, Line: 24
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27. in /usr/local/psa/admin/plib/modules/letsencrypt/vendor/composer/platform_check.php on line 24
Composer detected issues in your platform:
Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27.
PHP User Error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27.; File: /usr/local/psa/admin/plib/modules/letsencrypt/vendor/composer/platform_check.php, Line: 24
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27. in /usr/local/psa/admin/plib/modules/letsencrypt/vendor/composer/platform_check.php on line 24
PHP Warning: XMLWriter::text() expects parameter 1 to be string, array given; File: /usr/local/psa/admin/plib/api-rpc/ExpandXMLLib.php, Line: 203
...
I'm getting this error however:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".
What next?
Hello,
In my case does not work. My plesk version is 18.0.27
root@xxx:/var/tmp# plesk bin extension -i catalog.zip
Plesk 18.0.29 is the earliest version supported by the package.
exit status 1
Same issue with response :
[2023-06-22 08:30:05.276] ERR [panel] Unable to get information about updates for current release.
[2023-06-22 08:30:05.276] ERR [panel] Autoinstaller exited with error: The product 'plesk' is not installed yet.
[2023-06-22 08:30:05.609] ERR [panel] Unable to get information about available upgrades.
[2023-06-22 08:30:05.609] ERR [panel] Autoinstaller exited with error: There are no suitable product versions.
Linux version : Ubuntu 16.04
Manual update not working as well
Monitoring already disabled
Help please
have the issue today,
this time is due to sectigo extension
/usr/local/psa/admin/plib/modules/sectigo/vendor/composer/platform_check.php
just changed (!(PHP_VERSION_ID >= 70400)) to (!(PHP_VERSION_ID >= 70100))
Thanks for your help.
Disabling Sectigo extension fix the issue (I'm not using this extension)
"this time is due to sectigo extension", this answer solved my problem, thanks a lot!
It happened to me today on 11 servers.
It is due to an erroneous update of the SectiGo module. Yesterday they released an update that crashed the servers and today they released a new update that already fixes it.
The steps I have followed are:
- Login to the server via SSH
- run plesk bin extension --disable sectigo
- Now you can enter plesk without problem.
- Go to My extensions --> Updates
- Update SectiGo
- in ssh run plesk bin extension --enable sectigo
With this they have all worked for me.
Same response: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0".
Please sign in to leave a comment.