Plesk and its command-line utilities do not work due to missing Plesk packages

Follow

Comments

4 comments

  • Avatar
    Leslie Bray

    None of these commands work. 

    plesk-installer     100%[===================>]   9.24K  --.-KB/s    in 0s      

     

    2019-04-28 18:06:15 (222 MB/s) - 'plesk-installer' saved [9465/9465]

     

    bash-4.3$ # chmod +x plesk-installer./plesk-installer

    bash-4.3$ 1. [*] Plesk

    bash: 1.: command not found

    bash-4.3$ 2. [=] BIND DNS server plesk       

    bash: 2.: command not found

    bash-4.3$ * Plesk

    bash-4.3$ (*) Plesk      

    bash: syntax error near unexpected token `Plesk'

    bash-4.3$ 1. (*) Plesk

    bash: syntax error near unexpected token `*'

    bash-4.3$ .plesk-installer

    bash: .plesk-installer: command not found

    bash-4.3$ wget http://autoinstall.plesk.com/plesk-installer

    --2019-04-28 18:13:10--  http://autoinstall.plesk.com/plesk-installer

    Resolving autoinstall.plesk.com (autoinstall.plesk.com)... (//////////)

    Connecting to autoinstall.plesk.com (autoinstall.plesk.com)(----------)... connected.

    HTTP request sent, awaiting response... 200 OK

    Length: 9465 (9.2K) [application/octet-stream]

    Saving to: 'plesk-installer.1'

    plesk-installer.1   100%[===================>]   9.24K  --.-KB/s    in 0s      

     

    2019-04-28 18:13:12 (242 MB/s) - 'plesk-installer.1' saved [9465/9465]

     

    bash-4.3$ chmod +x plesk-installer

    bash-4.3$ (*) Plesk

    bash: syntax error near unexpected token `Plesk'

    bash-4.3$ plesk

    bash: plesk: command not found

    bash-4.3$ * Plesk

    bash-4.3$ = bind dns server

    bash: =: command not found

    bash-4.3$ unlink /usr/local/psa

    bash: unlink: command not found

    bash-4.3$ rm -rf/usr/local/psa

    rm: invalid option -- '/'

    0
    Comment actions Permalink
  • Avatar
    Nikita Nikushkin

    Hi @Leslie Bray,

    As far as I can see, you are not logged as root and thus, most of the commands, do not work for you

    Connect to the server as root and try the commands one more time

    0
    Comment actions Permalink
  • Avatar
    Data Network

    Hello, I remove postfix with apt-get purge postfix command,, I did realize that some plesk packages were deleted, my foul,,
    with command
    grep remove /var/log/dpkg.log | grep 'psa\|plesk'
    I have:
    2019-05-07 11:41:33 remove plesk-config-troubleshooter:amd64 17.8.11-debian9.0.build1708190219.21 <none>
    2019-05-07 11:41:34 remove plesk-l10n:all 17.8.11-debian9.0.build1708181025.13 <none>
    2019-05-07 11:41:36 remove psa-drweb-configurator:amd64 17.8.11-debian9.0.build1708180301.19 <none>
    2019-05-07 11:41:36 remove psa-spamassassin:amd64 17.8.11-debian9.0.build1708180301.19 <none>
    2019-05-07 11:41:39 remove plesk-mail-pc-driver:amd64 17.8.11-debian9.0.build1708180927.11 <none>
    2019-05-07 11:41:43 remove plesk-management-node:amd64 17.8.11-debian9.0.build1708180301.19 <none>
    2019-05-07 11:41:43 remove plesk-repair-kit:all 17.8.11-debian9.0.build1708190322.14 <none>
    2019-05-07 11:41:44 remove psa-firewall:amd64 17.8.11-debian9.0.build1708180301.19 <none>
    2019-05-07 11:41:45 remove psa-updates:all 17.8.11-debian9.0.build1708180326.12 <none>
    2019-05-07 11:41:45 remove plesk-core:amd64 17.8.11-debian9.0.build1708180301.19 <none>

    my question is,,, is it safe ./plesk-installer..?
    will I lost information..?

    0
    Comment actions Permalink
  • Avatar
    Nikita Nikushkin

    Hi @Data Network,

    > my question is,,, is it safe ./plesk-installer..?

    Yes, you are right here - in order to install removed files back, download Plesk installer, run it and follow instructions on the screen:

    # wget https://autoinstall.plesk.com/plesk-installer
    # chmod +x plesk-installer
    # ./plesk-installer

    > will I lost information..?

    Depends on which information we are talking about...Websites, mail, databases will not be affected, however, configuration files were removed by specifying the "purge" directive previously, so, all customization in such configs will be lost

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request