- 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:
Thank you!
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?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'
Thank you!