Open superchecco99 opened 2 months ago
The dnf python2 module should be installed along with the leapp packages because it is required for leapp. Can you check if the python2-dnf package is installed? If the package is installed, do you have any custom settings in the path variables ($PATH, $PYTHONPATH, etc)?
Hi, I am running Centos2alma-1.4.0 on Product version: Plesk Obsidian 18.0.62.2 OS version: CentOS 7.9.2009 x86_64 When performing Centos2alma it stops with errors:
From /var/log/leapp/leapp-report.txt File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/repofileutils.py", line 54, in get_repodirs with dnf.base.Base() as base: NameError: global name 'dnf' is not defined
From /var/log/plesk/centos2alma.log INFO - Actor system_facts unexpectedly terminated with exit code: 1 - Please check the above details ERROR - Command ['/usr/bin/leapp', 'preupgrade'] failed with return code 1 ERROR - Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'preupgrade']' returned non-zero exit status 1. DEBUG - Going to write json '/usr/local/psa/var/centos2alma/actions.json' with new data DEBUG - Sent error report DEBUG - Trying to send status of conversion by report-update utility '/var/cache/parallels_installer/report-update' ERROR - centos2alma process has failed. Error: Failed: doing the conversion. The reason: Command '['/usr/bin/leapp', 'preupgrade']' returned non-zero exit status 1. INFO - Going to free lockfile '/usr/local/psa/var/centos2alma/centos2alma.lock'... ~