Error upgrading from 4.3.4 to 4.4.0

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

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
CarolHaynes
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Nov 01, 2005 8:10 pm

Error upgrading from 4.3.4 to 4.4.0

Post by CarolHaynes » Thu Oct 26, 2023 9:30 am

I have a number of Joomla 4.3.4 websites and I started upgrading them to 4.4.0

The first few went fine but one of my websites gives the following error
Screenshot 2023-10-26 10.06.59.png
As far as I can see all the server settings and installed plugins/components are the same (in fact this website is simpler than most). I have also tried uploading the updater within the admin.

Finally I tried uploading the updater to the site root folder and manually unpacking it there (that caused a different internal Joomla error - which I forgot to note down)

I have restored a backup - but has anyone got any ideas how to troubleshoot this?
You do not have the required permissions to view the files attached to this post.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2748
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Error upgrading from 4.3.4 to 4.4.0

Post by ceford » Thu Oct 26, 2023 2:58 pm

The update process creates a file named administrator/logs/joomla_update.php - open it with a text editor and look down towards the bottom where you will see the progress of the update:

Code: Select all

#Fields: datetime	priority clientip	category	message
2023-10-19T06:11:35+00:00	INFO 127.0.0.1	update	Update started by user xxx. Old version is 4.3.3.
2023-10-19T06:11:36+00:00	INFO 127.0.0.1	update	Downloading update file from https://s3-us-west-2.amazonaws.com/joomla-official-downloads/joomladownloads/joomla4/Joomla_4.4.0-Stable-Update_Package.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA6LXDJLNUINX2AVMH%2F20231019%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20231019T061131Z&X-Amz-Expires=60&X-Amz-SignedHeaders=host&X-Amz-Signature=b98953980812dcb52d029299f7d71764710631d7d62ab043158e3fb94f185a37.
2023-10-19T06:11:45+00:00	INFO 127.0.0.1	update	File Joomla_4.4.0-Stable-Update_Package.zip downloaded.
2023-10-19T06:11:45+00:00	INFO 127.0.0.1	update	Starting installation of new version.
2023-10-19T06:11:51+00:00	INFO 127.0.0.1	update	Finalising installation.
2023-10-19T06:11:51+00:00	INFO 127.0.0.1	update	Start of SQL updates.
2023-10-19T06:11:51+00:00	INFO 127.0.0.1	update	The current database version (schema) is 4.3.2-2023-05-20.
2023-10-19T06:11:51+00:00	INFO 127.0.0.1	update	Ran query from file 4.4.0-2023-05-08. Query text: INSERT INTO `#__extensions` (`package_id`, `name`, `type`, `element`, `folder`, .
2023-10-19T06:11:51+00:00	INFO 127.0.0.1	update	Ran query from file 4.4.0-2023-09-13. Query text: INSERT INTO `#__extensions` (`package_id`, `name`, `type`, `element`, `folder`, .
2023-10-19T06:11:51+00:00	INFO 127.0.0.1	update	End of SQL updates.
2023-10-19T06:11:51+00:00	INFO 127.0.0.1	update	Deleting removed files and folders.
2023-10-19T06:11:52+00:00	INFO 127.0.0.1	update	Cleaning up after installation.
2023-10-19T06:11:52+00:00	INFO 127.0.0.1	update	Update to version 4.4.0 is complete.
/code]

How far did your update get?

CarolHaynes
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Nov 01, 2005 8:10 pm

Re: Error upgrading from 4.3.4 to 4.4.0

Post by CarolHaynes » Thu Oct 26, 2023 3:35 pm

This is all there is from today's attempt - there are other attempts that are identical

2023-10-26T09:35:26+00:00 INFO 86.180.15.129 update Update started by user Carol (219). Old version is 4.3.4.
2023-10-26T09:35:28+00:00 INFO 86.180.15.129 update File Joomla_4.4.0-Stable-Update_Package.zip downloaded.
2023-10-26T09:35:29+00:00 INFO 86.180.15.129 update Starting installation of new version.

That is the end of the file

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2748
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Error upgrading from 4.3.4 to 4.4.0

Post by ceford » Thu Oct 26, 2023 5:11 pm

What happens with the Resume Update button? Where does the Get Help button lead (url please)?

CarolHaynes
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Nov 01, 2005 8:10 pm

Re: Error upgrading from 4.3.4 to 4.4.0

Post by CarolHaynes » Fri Oct 27, 2023 9:37 am

Resume/restart just refreshes the page with the same error.

The help link gives no helpful info on this.

The one bit of info that did help are in the 4.4.0 issue release notes here https://docs.joomla.org/J4.x:Fix_%22Rei ... kend_login

I have found that if I manually unpack the 4.4.0 update in the root directory and then delete administrator/cache/autoload_psr4.php the website seems to work normally with 4.4.0 installed.

Out of curiosity I tried Reinstall Core Files after getting the update to work but it fails with the same error and recreates administrator/cache/autoload_psr4.php

Still not really sure what is going on but at least I am at 4.4.0 now hopefully I don't have a mix of files from failed attempts.

User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2748
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Error upgrading from 4.3.4 to 4.4.0

Post by ceford » Fri Oct 27, 2023 11:11 am

Did you download the latest J4.4 update package?

You can delete administrator/cache/autoload_psr4.php at any time and it will be rebuilt on the next page load from manifest files. When you overwrite the files with the contents of the update package the installer script is not run - hence no error message and the site works.

You may have the same problem at the next update.

CarolHaynes
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Tue Nov 01, 2005 8:10 pm

Re: Error upgrading from 4.3.4 to 4.4.0

Post by CarolHaynes » Fri Oct 27, 2023 12:29 pm

Yes I downloaded the 4.4.0 update zip file, upload and unpacked it. This time it worked but I don't really understand why the upgrade function in the backend does not work on this one website to upgrade or reinstall core files.

My provider has just updated the version of MySQL for Joomla 5 compatibility and I managed to upgrade a test site to 4.4.0 and then 5 without issue. Its on the same server and they use the same extensions. Very odd.


Post Reply

Return to “Installation Joomla! 4.x”