• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved plesk: command not found

bluchip

New Pleskian
Hello,

I upgraded MariaDB 5.5 to 10.1 and in the process I have some Plesk packages removes because of their dependency to MariaDB. After succesfull upgrade of MariaDB, I am trying to reinstall the packages.

I have 2 problems that I can't find solution for.

- I can find a way to install plesk-base pacakge using yum. Message I am getting is No package plesk-base available. I have the same issue with other plesk-* packages. How can I install plesk-base package again.
- Every time I try to run plesk command e.g. plesk repair installation i get the following message -bash: plesk: command not found.

Any help will be much apreciated

Thanks
 
Please, download the installer script:

# wget https://installer.plesk.com/plesk-installer

Enable execution mode for the downloaded installer script:

# chmod +x ./plesk-installer

Run the script to launch the interactive installer for the latest stable Plesk version in command line:

# sh ./plesk-installer

Follow to menu.
 
Hello,

Thanks for you help. I followed your instructions and Plesk seems to be working now. I had problem login in to Plesk with the previous password. For anyone having the same issue you need to run plesk bin admin --set-password -passwd <your_new_password> in order to set a new password.

Thanks again for your help
 
Thanks, still works with installer script from @IgorG and keeps all your data of webspaces, emails,. etc. [puuuuuh :D]

=> saved hours and days of new installation.

problem occures:
while updating server with plesk obisidian 18.0.34 under CENTOS7
mariaDB from 10.2 to 10.3

=> Package MariaDB-server.x86_64 0:10.2.37-1.el7.centos will be erased

and then: command plesk won't work any more.

use IgorG's commands

and upgrade your mysql-server by
mysql_upgrade -uadmin -p`cat /etc/psa/.psa.shadow`
so you won't have to search any password :)

############ copy of console mesages ################

Removed:
MariaDB-server.x86_64 0:10.2.37-1.el7.centos

Dependency Removed:
plesk-backup-utilities.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210302.1436
plesk-completion.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210225.1437
plesk-core-utilities.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210302.1436
plesk-dovecot.x86_64 0:2.3.13-2.centos.7+p18.0.34.0+t210301.0813
plesk-dovecot-imap-driver.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210301.0813
plesk-dovecot-pigeonhole.x86_64 0:0.5.13-2.centos.7+p18.0.34.0+t210225.1437
plesk-git-http.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210225.1437
plesk-l10n.noarch 0:18.0-2.centos.7+p18.0.34.0+t210305.0309
plesk-mail-pc-driver.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210302.1436
plesk-modsecurity-configurator.noarch 0:18.0-2.centos.7+p18.0.34.0+t210304.1649
plesk-mysql-server.noarch 0:18.0-2.centos.7+p18.0.33.1+t210225.1402
plesk-repair-kit.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210305.0957
plesk-resctrl.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210225.1437
plesk-roundcube.noarch 0:1.4.11-2.centos.7+p18.0.34.0+t210301.0813
plesk-service-node-utilities.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210302.1436
plesk-web-hosting.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210302.1436
plesk-web-socket.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210225.1437
pp18.0.33-bootstrapper.x86_64 0:18.0-2.centos.7+p18.0.33.1+t210225.1402
pp18.0.34-bootstrapper.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210303.1637
psa.x86_64 0:18.0.34-2.centos.7+p18.0.34.0+t210301.0813
psa-horde.noarch 0:5.2.23-2.centos.7+p18.0.34.0+t210301.0813
psa-imp.noarch 0:6.2.27-2.centos.7+p18.0.34.0+t210225.1437
psa-ingo.noarch 0:3.2.16-2.centos.7+p18.0.34.0+t210225.1437
psa-kronolith.noarch 0:4.2.29-2.centos.7+p18.0.34.0+t210225.1437
psa-libpam-plesk.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210302.1436
psa-libxml-proxy.x86_64 0:2.9.7-2.centos.7+p18.0.34.0+t210225.1437
psa-locale-base-en-US.noarch 0:18.0-2.centos.7+p18.0.34.0+t210305.0309
psa-logrotate.x86_64 0:3.8.2-2.centos.7+p18.0.34.0+t210225.1437
psa-mail-driver-common.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210226.1909
psa-mnemo.noarch 0:4.2.14-2.centos.7+p18.0.34.0+t210225.1437
psa-passwd.noarch 0:5.0.7-2.centos.7+p18.0.34.0+t210225.1437
psa-proftpd.x86_64 0:1.3.6c-2.centos.7+p18.0.34.0+t210302.1436
psa-spamassassin.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210301.0813
psa-turba.noarch 0:4.2.25-2.centos.7+p18.0.34.0+t210225.1437
psa-updates.noarch 0:18.0-2.centos.7+p18.0.34.0+t210225.1437
psa-vhost.noarch 0:18.0-2.centos.7+p18.0.34.0+t210302.1436

Failed:
plesk-config-troubleshooter.noarch 0:18.0-2.centos.7+p18.0.34.0+t210301.0813
plesk-core.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210304.2157
psa-firewall.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210301.0813
psa-phpmyadmin.noarch 0:5.0.3-2.centos.7+p18.0.34.0+t210225.1437
psa-watchdog.x86_64 0:18.0-2.centos.7+p18.0.34.0+t210225.1437

Complete!
[root@970d1fd yum.repos.d]# yum install MariaDB-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-server.x86_64 0:10.3.28-1.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================
Installing:
MariaDB-server x86_64 10.3.28-1.el7.centos mariadb 24 M

Transaction Summary
==============================================================================================================================
Install 1 Package

Total download size: 24 M
Installed size: 121 M
Is this ok [y/d/N]: y
Downloading packages:
MariaDB-server-10.3.28-1.el7.centos.x86_64.rpm | 24 MB 00:00:04
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : MariaDB-server-10.3.28-1.el7.centos.x86_64 1/1
Verifying : MariaDB-server-10.3.28-1.el7.centos.x86_64 1/1

Installed:
MariaDB-server.x86_64 0:10.3.28-1.el7.centos

Complete!
[root@970d1fd yum.repos.d]# systemctl start mariadb

#####
 
Back
Top