Cannot log into Plesk: PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0"

Comments

16 comments

  • Avatar
    Eric

    It's impossible to upgrade Plesk because it is an old version. Please, help us !

    0
  • Avatar
    Nikita Zubovich

    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:

    plesk daily
    0
  • Avatar
    Eric

    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 ?

    0
  • Avatar
    Anton Kuznetsov

    Hello,

    I have updated the article with an instruction how to install the update manually.

    0
  • Avatar
    Giancarlo Lievore

    Hello, i have ubuntu 16.04

    catalog-1.16.8-264.zip  is valid for ubuntu ?

     

    0
  • Avatar
    Eric
    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?
    0
  • Avatar
    Mauro Razzetti

    Updated manually with the attachment and worked, Plesk is accessible again.  Thanks.

    0
  • Avatar
    Unknown User

    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

     

    ?

    0
  • Avatar
    Glenn Taylor

    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?

     

    0
  • Avatar
    Salvador Salas Prieto

    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

    0
  • Avatar
    François Legate (Edited )

    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

    0
  • Avatar
    Unknown User

    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))   

    1
  • Avatar
    François Legate

    Thanks for your help.

    Disabling Sectigo extension fix the issue (I'm not using this extension)

    0
  • Avatar
    Chen Yun

    "this time is due to sectigo extension", this answer solved my problem, thanks a lot!

    0
  • Avatar
    David Artieda

    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.

    0
  • Avatar
    Stephen Moeckel

    Same response: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". 

    0

Please sign in to leave a comment.

Have more questions? Submit a request