• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Issue Problems with backup and new Python version

Mr. Tate

New Pleskian
Server operating system version
AlmaLinux 8.7
Plesk version and microupdate number
18.0.50 Update #1
Hi everybody, I have just installed Plesk on a new server and something that never happened to me before has sprung up. I have installed Plesk on AlmaLinux 8.7 and upgraded Python to version 3.9 from 3.6. I then used alternatives to set the new Python version as the default version accessed when executing python3. This has broken the backup manager: I can't access the Web page anymore and executing /usr/local/psa/admin/bin/pmmcli --get-tasks-list Backup returns this error:

Traceback (most recent call last):
File "/usr/local/psa/admin/sbin/pmmcli/.bootstrap/_pex/pex.py", line 332, in execute
File "/usr/local/psa/admin/sbin/pmmcli/.bootstrap/_pex/pex.py", line 262, in _wrap_coverage
File "/usr/local/psa/admin/sbin/pmmcli/.bootstrap/_pex/pex.py", line 294, in _wrap_profiling
File "/usr/local/psa/admin/sbin/pmmcli/.bootstrap/_pex/pex.py", line 375, in _execute
File "/usr/local/psa/admin/sbin/pmmcli/.bootstrap/_pex/pex.py", line 433, in execute_entry
File "/usr/local/psa/admin/sbin/pmmcli/.bootstrap/_pex/pex.py", line 438, in execute_module
File "/usr/lib64/python3.9/runpy.py", line 228, in run_module
return _run_code(code, {}, init_globals, run_name, mod_spec)
File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/psa/admin/sbin/pmmcli/pmmcli.py", line 10, in <module>
File "<frozen zipimport>", line 259, in load_module
File "/usr/local/psa/admin/sbin/pmmcli/pmm_api_xml_protocols.py", line 35, in <module>
ModuleNotFoundError: No module named 'lxml'
I checked using pip the presence of lxml for python3.9 and the module is properly installed. So I ran again alternatives --config python3 and set the old 3.6 version as default and everything runs fine. Does anyone know why this happens?

Thank you!
 
It seems so weird to me that such a simple operation like updating Python breaks Plesk's backup and I'm the only one to notice so I wonder if it's something specific to the process I used...
 
Same for my. Python update to 3.11 breaks backup manager. Switching back to 3.10 resolves issue temporarly.
Any idea what to do?
 
I gave up immediately and just left Python 3.6 as default and explicitly called later versions of Python I installed in my scripts.
 
Back
Top