Plesk can not be updated or is not accessible: Class Laminas\ServiceManager\ServiceLocatorInterface cannot implement previously implemented interface

Follow

Comments

13 comments

  • Avatar
    dev it

    i can't login to the plesk dashbord , when i try to login an error message : ERROR: Class Laminas\ServiceManager\ServiceLocatorInterface cannot implement previously implemented interface Psr\Container\ContainerInterface (ServiceLocatorInterface.php:18)
     

    so how can i do this with ssh ? 

    0
    Comment actions Permalink
  • Avatar
    Ismael Dobarrio

    Connect to the server via SSH.

    Update the Monitoring extension to the latest version with the command below:

    plesk bin extension --upgrade monitoring

    1
    Comment actions Permalink
  • Avatar
    dev it

    @ismael thank you , is there a possibility to connect to the server without loging on my plesk ? 

    i didnt install ssh on plesk 

    0
    Comment actions Permalink
  • Avatar
    Ismael Dobarrio

    The other possibility is to connect directly through root to the server. (also by ssh)

    0
    Comment actions Permalink
  • Avatar
    dev it

    when i tried with ssh  :

    connection closed by port 22

    0
    Comment actions Permalink
  • Avatar
    Anastasia Zyrianova

    Hello dev it,

    Please contact your hosting provider to obtain SSH access. As soon as this is done, execute the command from the article to update the Monitoring extension.

    1
    Comment actions Permalink
  • Avatar
    dev it

    1
    Comment actions Permalink
  • Avatar
    daniel rodriguez

    # plesk bin extension --upgrade monitoring


    this was used recently by me in windows 2016 server + plesk (RDP login) and it worked properly under CMD, thanx for your support  :)

    1
    Comment actions Permalink
  • Avatar
    Anastasia Zyrianova

    Hello dev it,

    All the Plesk related-commands should be executed under user root or with root privileges. Try using the command below:
    # sudo plesk bin extension --upgrade monitoring

    1
    Comment actions Permalink
  • Avatar
    dev it

    thank you , the problem is resolved 

    i connect to ssh as debian user, then i change to a root 

    then i executed the command and it worked thanks

    1
    Comment actions Permalink
  • Avatar
    Luis Fernando Acevedo

    I have problems, I have followed the steps , the result is

    "the extension was successfully upgraded"

    But still the access to the plesk server is still failing:

    "ERROR: Class Laminas\ServiceManager\ServiceLocatorInterface cannot implement previously implemented interface Psr\Container\ContainerInterface (ServiceLocatorInterface.php:18)"

    0
    Comment actions Permalink
  • Avatar
    Félix Iglesias (Edited )

    Solved as well!

    0
    Comment actions Permalink
  • Avatar
    Goncalo Silva

    plesk bin extension --upgrade monitoring 

    Logged by ssh , solved! 

     

    Thank you

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request