• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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