User tests: Successful: Unsuccessful:
Pull Request resolves #42172 .
The CLI updater now records the progress of the update in the same way as the web-based updater, including:
Ensure the site is running a Joomla version that has a newer core version available.
Set the Joomla update channel to the appropriate channel containing the update.
Open a command prompt in the Joomla installation directory.
Run:
php cli/joomla.php core:update
Check the Joomla update log at:administrator/logs/joomla_update.php
The installation log is recorded before the finalisation step rather than immediately before the Joomla files are installed, and there is no completion log entry after the update has successfully finished.
This makes the CLI update log incomplete and does not accurately reflect the sequence of operations performed during the update.
The CLI core updater records the complete update process in the correct order just as you get with the web update:
START → URL → FILE → INSTALL → FINALISE → CLEANUP → COMPLETE
NOTE: there is an additional log entry as reported #42171 which is not resolved by this pr
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries |
| Labels |
Added:
PR-6.2-dev
|
||
I have tested this item ✅ successfully on 62a6238
Tested with JBT in 6.1-dev installation with php cli/joomla.php core:update
administrator/logs/joomla_update.php from this PR and running core:update
File Joomla_6.2.0-Stable-Update_Package.zip downloaded.Starting installation of new version.Cleaning up after installation.Update to version 6.1.5-dev is complete.WARNING JInstaller: :Install: Can't find XML setup file. exists before and after this PR.
I have tested this item ✅ successfully on 62a6238
Tested with JBT in 6.1-dev installation with
php cli/joomla.php core:updateadministrator/logs/joomla_update.phpfrom this PR and runningcore:updateFile Joomla_6.2.0-Stable-Update_Package.zip downloaded.Starting installation of new version.Cleaning up after installation.Update to version 6.1.5-dev is complete.WARNING JInstaller: :Install: Can't find XML setup file.exists before and after this PR.This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48572.