• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved Plesk Update failed 18.0.40

nisamudeen97

Regular Pleskian
Hi,

I am getting the below error message while trying to update plesk from 18.0.40 to 18.0.41.

Installation started in background
File "/usr/local/psa/bin/yum_install", line 33
print msg
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(msg)?
Error: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Visit https://support.plesk.com/ to search for a solution.
 
Hi,

In my case there is no errors on mysql repo's in the system and we are not using Mariadb repo as well. It says error on below

File "/usr/local/psa/bin/yum_install", line 33
print msg
^
 
Plesk is designed to operate under Python 2.7, but looks like python 3+ is in use:

Code:
# python --version
Python 3.6.9

# ls -al /usr/bin/python
lrwxrwxrwx 1 root root 9 Sep 11 19:32 /usr/bin/python -> python3.6

Replace the Python symlink with 2.7 binary:

1. Run the following command:
Code:
# ln -snfT python2.7 /usr/bin/python
2. Confirm the change:
Code:
# python -V
Python 2.7.17
 
Back
Top