Skip to content

Commit

Permalink
Merge pull request #303 from cpanel/no-leapp
Browse files Browse the repository at this point in the history
Add --no-leapp option to pause the process
  • Loading branch information
toddr authored Sep 7, 2023
2 parents 8378b0f + b209a26 commit b7f0125
Show file tree
Hide file tree
Showing 21 changed files with 668 additions and 166 deletions.
22 changes: 22 additions & 0 deletions docs-website-src/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,28 @@ Remove the `elevate-cpanel` service used during the upgrade process.

A final reboot is performed at the end of this stage.

## Advanced Options

### Using an alternative tool to upgrade your distro

By default, the elevate script runs the [leapp process](https://almalinux.org/elevate/)
to upgrade you from 7 to 8. `Leapp` may not be compatible with your system.

Using the `--no-leapp` option gives you a way to do the actual distro upgrade in your own way.
This, for instance, can be used to allow `Virtuozzo` systems to upgrade cPanel systems, which are not supported by `Leapp`.

A `--no-leapp` upgrade would look like:

1. User runs `/scripts/elevate-cpanel --start --no-leapp` which starts the upgrade process.
2. `elevate-cpanel` does all preparatory steps to upgrade the system prior to the distro upgrade.
3. Elevate will then create the file `/waiting_for_distro_upgrade` to indicate that the operating system is ready for an upgrade.
* This is when you would use your distro upgrade tool.
* When you have completed upgrading your system to 8, simply remove `/waiting_for_distro_upgrade` and reboot the system into normal multi-user mode.
5. Elevate will resume upon reboot and complete the upgrade just like it would have without `--no-leapp`

The regular workflow is the following
NOTE: `--no-leapp` is not required for helper commands like `--continue` or `--status`

## FAQ

### How to check the current status?
Expand Down
Loading

0 comments on commit b7f0125

Please sign in to comment.