You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
notice the multiple /scripts/elevate-cpanel --continue section when leap failed as seen below
* 02-19:29:03 (449) [ERROR] The elevation process failed during stage 3.
You can continue the process after fixing the errors by running:
/usr/local/cpanel/scripts/elevate-cpanel --continue
You can check the error log by running:
/usr/local/cpanel/scripts/elevate-cpanel
Last Error:
The 'leapp upgrade' process failed.
Please investigate, resolve then re-run the following command to continue the update:
/scripts/elevate-cpanel --continue
You can read the full leapp report at: /var/log/leapp/leapp-report.txt
* 02-19:29:03 (350) [FATAL] The 'leapp upgrade' process failed.
Please investigate, resolve then re-run the following command to continue the update:
/scripts/elevate-cpanel --continue
You can read the full leapp report at: /var/log/leapp/leapp-report.txt
The 'leapp upgrade' process failed.
Please investigate, resolve then re-run the following command to continue the update:
/scripts/elevate-cpanel --continue
You can read the full leapp report at: /var/log/leapp/leapp-report.txt
The text was updated successfully, but these errors were encountered:
* `run_service_and_notify()` calls `_run_service()`
* If `_run_service()` fails, `run_service_and_notify()` will call `LOGDIE()`
with whatever error was provided - this logs an error and throws an exception
* `_run_service()` and all the subroutines it runs (such as `run_stage_3()`
that handles LEAPP) themselves also call `LOGDIE()` if there's an error,
which logs an error and throws an exception
This means that a `LOGDIE()` is logged and an exception is thrown with an error
logged to the terminal/log file. It is then caught in the caller subroutine and
`LOGDIE()` is called again, causing the same logging message to be logged again.
I tried verifying that every `LOGDIE()` I changed is only called within a stage
so it will be caught by `run_service_and_notify()` and be logged and the process
closed properly.
Resolves GH #36.
notice the multiple
/scripts/elevate-cpanel --continue
section when leap failed as seen belowThe text was updated successfully, but these errors were encountered: