Symptoms
The elevate-cpanel
script fails in stage 3 with an entry similar to the following in the script output.
* 2024-06-01 00:26:57 (6581) [INFO] Actor xfs_info_scanner unexpectedly terminated with exit code: 1 - Please check the above details
An entry similar to the following may also be found in the leapp-upgrade.log
file.
2023-08-25 22:40:06.700 DEBUG PID: 8036 leapp.workflow.FactsCollection.xfs_info_scanner: External command has finished: ['/usr/sbin/xfs_info', '/home/virtfs/cpanelusername/var/log']
Description
This issue occurs when Jailed Apache VHosts are in use. Disabling Jailed Apache VHosts and clearing orphan virtfs mounts will allow the ELevate process to continue.
Workaround
- Log into WHM as the ‘root’ user.
- Navigate to "Home / Server Configuration / Tweak Settings."
- Click on the "Security" tab.
- Scroll down to the "EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell." option.
- Set the "EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell." option to "Off."
- Scroll to the bottom of the page.
- Click the "Save" button.
- Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
- Run the following command.
/scripts/clear_orphaned_virtfs_mounts --clearall
Additional resources
How to turn off Jail Apache Virtual Hosts