PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
5 Oct 2026

Pull Request resolves #42172 .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

The CLI updater now records the progress of the update in the same way as the web-based updater, including:

  1. The downloaded update file.
  2. The start of the installation.
  3. The cleanup process.
  4. Completion of the update, including the new Joomla version.

Testing Instructions

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

Actual result BEFORE applying this Pull Request

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.

Expected result AFTER applying this Pull Request

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

Link to documentations

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

avatar brianteeman brianteeman - open - 5 Oct 2026
avatar brianteeman brianteeman - change - 5 Oct 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Oct 2026
Category ⇒ Libraries
avatar brianteeman brianteeman - change - 5 Oct 2026
Labels Added: PR-6.2-dev
avatar muhme muhme - test_item - 17 Oct 2026 - Tested successfully
avatar muhme
muhme - comment - 17 Oct 2026

I have tested this item ✅ successfully on 62a6238

Tested with JBT in 6.1-dev installation with php cli/joomla.php core:update

  • Seen missing log entries before PR
  • Imported (as restore) the before exported 61 Joomla instance
  • Overwritten administrator/logs/joomla_update.php from this PR and running core:update
    • Joomla instance is updated w/o problems
    • New lines in log file are:
      • 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.
    • As named, the log entry 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.
avatar muhme
muhme - comment - 17 Oct 2026

I have tested this item ✅ successfully on 62a6238

Tested with JBT in 6.1-dev installation with php cli/joomla.php core:update

  • Seen missing log entries before PR
  • Imported (as restore) the before exported 61 Joomla instance
  • Overwritten administrator/logs/joomla_update.php from this PR and running core:update
    • Joomla instance is updated w/o problems
    • New lines in log file are:
      • 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.
    • As named, the log entry 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.

Add a Comment

Login with GitHub to post a comment