Advertisement

The update completed with errors

Need help upgrading your Joomla! website or converting to Joomla! 5.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
galanopd
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Sat Dec 29, 2018 3:12 am

The update completed with errors

Post by galanopd » Wed Jun 12, 2024 10:01 pm

Joomla Version Update Status
Notice The update completed with errors. Please examine the update logs C:/wamp64/www/testsite/administrator/logs/joomla_update.php for more details.
It is recommended to restore the site from backup, fix the issues that caused the update failure and try to update again.
You always can ask for help on Joomla! forum https://forum.joomla.org/

Brief list of captured errors
Joomla\Filesystem\File::delete: Failed deleting Joomla_5.1.1-Stable-Update_Package.zip

Advertisement
User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10000
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: The update completed with errors

Post by AMurray » Wed Jun 12, 2024 10:07 pm

what were the errors you encountered (as listed in the update log)? Was it only the one about could not delete the zip file or were there others.

Check the file permissions on the server. The script somehow couldn't delete the zip file.

The folders should be CHMOD 755 and files 644

Follow the advice; restore your backup and try the update again.
Regards - A Murray
General Support Moderator

galanopd
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Sat Dec 29, 2018 3:12 am

Re: The update completed with errors

Post by galanopd » Thu Jun 13, 2024 6:54 am

what were the errors you encountered (as listed in the update log)? Was it only the one about could not delete the zip file or were there others.

Code: Select all

#Fields: datetime	priority clientip	category	message
2024-06-01T12:02:48+00:00	INFO ::1	update	Test logging
2024-06-01T12:02:48+00:00	INFO ::1	update	Uploading update file
2024-06-01T12:03:35+00:00	INFO ::1	update	File [ROOT]\tmp\juA45C.tmp downloaded.
2024-06-01T12:03:35+00:00	INFO ::1	update	Starting installation of new version.
2024-06-01T12:08:46+00:00	INFO ::1	update	Finalising installation.
2024-06-01T12:08:46+00:00	INFO ::1	update	Start of SQL updates.
2024-06-01T12:08:46+00:00	INFO ::1	update	The current database version (schema) is 5.1.0-2024-03-28.
2024-06-01T12:08:46+00:00	INFO ::1	update	Ran query from file 5.1.1-2024-04-18. Query text: UPDATE `#__template_styles` SET `params` = JSON_SET(`params`, '$.colorScheme', '.
2024-06-01T12:08:47+00:00	INFO ::1	update	End of SQL updates.
2024-06-01T12:08:47+00:00	INFO ::1	update	Uninstalling extensions
2024-06-01T12:08:47+00:00	INFO ::1	update	Deleting removed files and folders.
2024-06-01T12:09:02+00:00	WARNING ::1	jerror	Joomla\CMS\Cache\Storage\FileStorage::_deleteFolder Failed deleting c0cdea29d5e8e9790acb2c920be41bcc-cache-page-30a4706839d43e010caa1e04587bd5d2.php
2024-06-01T12:09:02+00:00	WARNING ::1	jerror	Joomla\CMS\Cache\Storage\FileStorage::_deleteFolder Failed deleting c0cdea29d5e8e9790acb2c920be41bcc-cache-page-30a4706839d43e010caa1e04587bd5d2.php
2024-06-01T12:09:04+00:00	INFO ::1	update	Cleaning up after installation.
2024-06-01T12:09:05+00:00	ERROR ::1	update	An error has occurred while running "cleanUp". Code: 0. Message: Joomla\Filesystem\File::delete: Failed deleting juA45C.tmp.
2024-06-01T12:09:05+00:00	DEBUG ::1	update	An error trace: [ROOT]\libraries\vendor\joomla\filesystem\src\File.php:173
#0 [ROOT]\administrator\components\com_joomlaupdate\src\Model\UpdateModel.php(893): Joomla\Filesystem\File::delete('C:\\wamp64\\www\\u...')
#1 [ROOT]\administrator\components\com_joomlaupdate\src\Controller\UpdateController.php(205): Joomla\Component\Joomlaupdate\Administrator\Model\UpdateModel->cleanUp()
#2 [ROOT]\libraries\src\MVC\Controller\BaseController.php(730): Joomla\Component\Joomlaupdate\Administrator\Controller\UpdateController->cleanup()
#3 [ROOT]\libraries\src\Dispatcher\ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute('cleanup')
#4 [ROOT]\libraries\src\Component\ComponentHelper.php(361): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#5 [ROOT]\libraries\src\Application\AdministratorApplication.php(150): Joomla\CMS\Component\ComponentHelper::renderComponent('com_joomlaupdat...')
#6 [ROOT]\libraries\src\Application\AdministratorApplication.php(195): Joomla\CMS\Application\AdministratorApplication->dispatch()
#7 [ROOT]\libraries\src\Application\CMSApplication.php(306): Joomla\CMS\Application\AdministratorApplication->doExecute()
#8 [ROOT]\administrator\includes\app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#9 [ROOT]\administrator\index.php(32): require_once('C:\\wamp64\\www\\u...')
#10 {main}.

------------------------------------------------------------

2024-06-12T16:06:33+00:00	INFO ::1	update	Test logging
2024-06-12T16:06:33+00:00	INFO ::1	update	Update started by user Me (1). Old version is 5.1.1.
2024-06-12T16:06:36+00:00	INFO ::1	update	Downloading update file from https://update.joomla.org/releases/5.1.1/Joomla_5.1.1-Stable-Update_Package.zip.
2024-06-12T16:07:19+00:00	INFO ::1	update	File Joomla_5.1.1-Stable-Update_Package.zip downloaded.
2024-06-12T16:07:20+00:00	INFO ::1	update	Starting installation of new version.
2024-06-12T16:10:56+00:00	INFO ::1	update	Finalising installation.
2024-06-12T16:10:56+00:00	INFO ::1	update	Start of SQL updates.
2024-06-12T16:10:56+00:00	INFO ::1	update	The current database version (schema) is 5.1.1-2024-04-18.
2024-06-12T16:10:56+00:00	INFO ::1	update	End of SQL updates.
2024-06-12T16:10:56+00:00	INFO ::1	update	Uninstalling extensions
2024-06-12T16:10:56+00:00	INFO ::1	update	Deleting removed files and folders.
2024-06-12T16:11:09+00:00	INFO ::1	update	Cleaning up after installation.
2024-06-12T16:11:10+00:00	ERROR ::1	update	An error has occurred while running "cleanUp". Code: 0. Message: Joomla\Filesystem\File::delete: Failed deleting Joomla_5.1.1-Stable-Update_Package.zip.
2024-06-12T16:11:10+00:00	DEBUG ::1	update	An error trace: [ROOT]\libraries\vendor\joomla\filesystem\src\File.php:173
#0 [ROOT]\administrator\components\com_joomlaupdate\src\Model\UpdateModel.php(893): Joomla\Filesystem\File::delete('C:\\wamp64\\www\\u...')
#1 [ROOT]\administrator\components\com_joomlaupdate\src\Controller\UpdateController.php(205): Joomla\Component\Joomlaupdate\Administrator\Model\UpdateModel->cleanUp()
#2 [ROOT]\libraries\src\MVC\Controller\BaseController.php(730): Joomla\Component\Joomlaupdate\Administrator\Controller\UpdateController->cleanup()
#3 [ROOT]\libraries\src\Dispatcher\ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute('cleanup')
#4 [ROOT]\libraries\src\Component\ComponentHelper.php(361): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#5 [ROOT]\libraries\src\Application\AdministratorApplication.php(150): Joomla\CMS\Component\ComponentHelper::renderComponent('com_joomlaupdat...')
#6 [ROOT]\libraries\src\Application\AdministratorApplication.php(195): Joomla\CMS\Application\AdministratorApplication->dispatch()
#7 [ROOT]\libraries\src\Application\CMSApplication.php(306): Joomla\CMS\Application\AdministratorApplication->doExecute()
#8 [ROOT]\administrator\includes\app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#9 [ROOT]\administrator\index.php(32): require_once('C:\\wamp64\\www\\u...')
#10 {main}.

------------------------------------------------------------

2024-06-12T16:43:27+00:00	INFO ::1	update	Test logging
2024-06-12T16:43:27+00:00	INFO ::1	update	Update started by user Me (1). Old version is 5.1.1.
2024-06-12T16:43:30+00:00	INFO ::1	update	Downloading update file from https://update.joomla.org/releases/5.1.1/Joomla_5.1.1-Stable-Update_Package.zip.
2024-06-12T16:44:16+00:00	INFO ::1	update	File Joomla_5.1.1-Stable-Update_Package.zip downloaded.
2024-06-12T16:44:17+00:00	INFO ::1	update	Starting installation of new version.
2024-06-12T16:47:49+00:00	INFO ::1	update	Finalising installation.
2024-06-12T16:47:49+00:00	INFO ::1	update	Start of SQL updates.
2024-06-12T16:47:49+00:00	INFO ::1	update	The current database version (schema) is 5.1.1-2024-04-18.
2024-06-12T16:47:49+00:00	INFO ::1	update	End of SQL updates.
2024-06-12T16:47:49+00:00	INFO ::1	update	Uninstalling extensions
2024-06-12T16:47:49+00:00	INFO ::1	update	Deleting removed files and folders.
2024-06-12T16:49:14+00:00	INFO ::1	update	Cleaning up after installation.
2024-06-12T16:49:16+00:00	INFO ::1	update	Update to version 5.1.1 is complete.

------------------------------------------------------------

2024-06-12T17:21:16+00:00	INFO ::1	update	Test logging
2024-06-12T17:21:16+00:00	INFO ::1	update	Uploading update file
2024-06-12T17:22:14+00:00	INFO ::1	update	File [ROOT]\tmp\juB0B2.tmp downloaded.
2024-06-12T17:22:15+00:00	INFO ::1	update	Starting installation of new version.
2024-06-12T17:26:34+00:00	INFO ::1	update	Finalising installation.
2024-06-12T17:26:34+00:00	INFO ::1	update	Start of SQL updates.
2024-06-12T17:26:34+00:00	INFO ::1	update	The current database version (schema) is 5.1.1-2024-04-18.
2024-06-12T17:26:34+00:00	INFO ::1	update	End of SQL updates.
2024-06-12T17:26:34+00:00	INFO ::1	update	Uninstalling extensions
2024-06-12T17:26:34+00:00	INFO ::1	update	Deleting removed files and folders.
2024-06-12T17:27:41+00:00	INFO ::1	update	Cleaning up after installation.
2024-06-12T17:27:44+00:00	INFO ::1	update	Update to version 5.1.1 is complete.

------------------------------------------------------------

2024-06-12T18:16:04+00:00	INFO ::1	update	Test logging
2024-06-12T18:16:04+00:00	INFO ::1	update	Uploading update file
2024-06-12T21:48:02+00:00	INFO ::1	update	File [ROOT]\tmp\juDAED.tmp downloaded.
2024-06-12T21:48:02+00:00	INFO ::1	update	Starting installation of new version.
2024-06-12T21:52:13+00:00	INFO ::1	update	Finalising installation.
2024-06-12T21:52:13+00:00	INFO ::1	update	Start of SQL updates.
2024-06-12T21:52:13+00:00	INFO ::1	update	The current database version (schema) is 5.1.1-2024-04-18.
2024-06-12T21:52:13+00:00	INFO ::1	update	End of SQL updates.
2024-06-12T21:52:13+00:00	INFO ::1	update	Uninstalling extensions
2024-06-12T21:52:13+00:00	INFO ::1	update	Deleting removed files and folders.
2024-06-12T21:53:18+00:00	INFO ::1	update	Cleaning up after installation.
2024-06-12T21:53:20+00:00	INFO ::1	update	Update to version 5.1.1 is complete.
2024-06-01: The error first appeared during an attempt to update via WiFi. Unfortunately, the last backup was from five days prior, and a lot of work had been done in the meantime.

2024-06-12: I attempted the update again via WiFi without success. Then, I tried updating by moving closer to the WiFi router, suspecting a signal issue might have caused corruption. This attempt was successful, leading me to believe the issue was resolved.

2024-06-12: Later the same day, I faced unusual behavior while trying to save settings from the administrator panel, making me think that it could be somehow related prompting me to upload the file directly. Since then, updates have completed normally, but an error message continues to appear at the end.
Check the file permissions on the server. The script somehow couldn't delete the zip file.
I have already done that and they are as you say. I have also verified with AdminTools
Follow the advice; restore your backup and try the update again.
I am keen to avoid this approach as it would result in the loss of a significant amount of work. If anyone has encountered this issue before and knows how to resolve it, it would be greatly appreciated.

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10000
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: The update completed with errors

Post by AMurray » Thu Jun 13, 2024 10:02 am

So...you didn't backup immediately before doing the update? The system tells you to do this - multiple times.

Can you post the Forum Post Assistant Report; refer to the red box, top of the forum screen under Forum Rules. The link to the FPA is there. Download the script, upload it to your web hosting where Joomla is installed and run the script from your browser. This report will give us (other forum members) a chance to review your Joomla install, and basic hosting environment information (including those file permissions) to see if anything stands out that is causing the errors. The report output is formatted as "BBCode" (the markup language of this forum), so it's nicely laid-out and formatted correctly.
Regards - A Murray
General Support Moderator

galanopd
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Sat Dec 29, 2018 3:12 am

Re: The update completed with errors

Post by galanopd » Fri Jun 14, 2024 4:34 pm

Following your advice, I installed and ran fpa, which found a couple of things that needed attention. I made the
necessary adjustments, I transferred everything from my local setup to my hosting provider and installed Joomla 5.1.1 without any issues.

I'm now left with figuring out why this problem is happening in my local environment, especially since I don't recall making any changes to my WAMP settings...

Thanks for your time and patience anyway

Advertisement

Post Reply

Return to “Migrating and Upgrading to Joomla! 5.x”