Update 5.0.3 to 5.1

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
J_NZ
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Apr 21, 2024 7:20 am

Update 5.0.3 to 5.1

Post by J_NZ » Sun Apr 21, 2024 7:32 am

When I try to update from backend the Requird Settings show Database Table Structure Up To Date as 'No'

When I navigate to System-Maintenance-Database it shows 'No matching results' and the Update Structure button is greyed-out.

This is a clean Bitnami appliance on VMWare 6.0 running Debian 11.

Any help greatfully appreciated.

J_NZ
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sun Apr 21, 2024 7:20 am

Re: Update 5.0.2 to 5.1

Post by J_NZ » Mon Apr 22, 2024 7:58 am

Sorry, should have said 5.0.2 to 5.1

Apolgies.

emmett_culley
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Mar 12, 2024 8:54 pm

Re: Update 5.0.3 to 5.1

Post by emmett_culley » Wed May 08, 2024 10:27 pm

I am seeing the same thing on a bitnami installaiton of Joomla 5. Except that I see no way to navigate to "System-Maintenance-Database ".

From the system dashboard I see no "maintenance" link. So I am stuck with no way to update the database as suggested in the update check page.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31099
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Update 5.0.3 to 5.1

Post by Per Yngve Berg » Thu May 09, 2024 6:17 am

/administrator/index.php?option=com_installer&view=database

emmett_culley
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Mar 12, 2024 8:54 pm

Re: Update 5.0.3 to 5.1

Post by emmett_culley » Thu May 09, 2024 10:35 pm

Thanks Yngve.

After using the link I discovered that the system-maintenance-database link was there all the time. I was looking for a "maintenance" link in the system page.

So now I have the same problem as J_NZ. Except that I do see the akeeba backup entry in the list.

However checking it and clicking on update structure button get me nowhere. I still see the following error message when I click on the button that says 5.1.0 is available:

"Warning: Undefined array key 0 in /bitnami/joomla/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php on line 1349

Warning: Trying to access array offset on value of type null in /bitnami/joomla/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php on line 1352"

I don't see any path from there. I've looked a the PHP fil mentioned in the message, but as expected I have no clue why $model->getItems()[0] is not set.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31099
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Update 5.0.3 to 5.1

Post by Per Yngve Berg » Fri May 10, 2024 4:22 am

Have you checked the Update Sites List?

Mr. Wimpy
Joomla! Explorer
Joomla! Explorer
Posts: 474
Joined: Fri Dec 02, 2005 10:46 am
Location: The Netherlands

Re: Update 5.0.2 to 5.1

Post by Mr. Wimpy » Fri May 10, 2024 11:41 am

5.0.2 to 5.1
Note that J5.0.2 has an issue with the Pre-update check. It says there are no extensions installed eventhough you (may) have. And displays a green checkmark even if there are extensions that may have issues.

Update to 5.0.3 first.

User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Mon Jul 14, 2008 1:39 pm

Re: Update 5.0.3 to 5.1

Post by reggaebkk » Sun May 12, 2024 4:01 am

I'm having similar problems, I've been unable to update for several months and I've been hoping that there would be a manual upgrade package from 5.0.3 to 5.1, but there's only from 4.4 to 5.1.
Has this issue been resolved yet? What happens if I install a new 5.1 on top of 5.0.3? That's going to crash the website or at least remove all info right? What is the best thing to do without rebuilding the whole website?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17517
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Update 5.0.3 to 5.1

Post by toivo » Sun May 12, 2024 5:08 am

reggaebkk wrote: Sun May 12, 2024 4:01 amthere's only from 4.4 to 5.1
Not true. The following update package is for "updates from Joomla! 4.4 and previous 5.x releases to 5.1.0":
Joomla! Downloads - Download Joomla! 5.1.0

reggaebkk wrote: Sun May 12, 2024 4:01 amWhat happens if I install a new 5.1 on top of 5.0.3? That's going to crash the website
Joomla does not support update by overwriting the filesystem. If you try to do that, the website will have issues sooner or later.
Toivo Talikka, Global Moderator

User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 178
Joined: Mon Jul 14, 2008 1:39 pm

Re: Update 5.0.3 to 5.1

Post by reggaebkk » Sun May 12, 2024 6:42 am

But then can we use the update 4.4 to 5.1 even if website is 5.0.3? Because it's very confusing that it doesn't mention it on the dwl page (I see it's be said above but need re-confirmation as it isn't mentioned on dwl page)

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17517
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Update 5.0.3 to 5.1

Post by toivo » Sun May 12, 2024 7:08 am

Yes, you can use the update package for 5.1 to update from Joomla 4.4 to Joomla 5.1. Follow this tutorial: Joomla 4.4.x to 5.x Planning and Upgrade Step by Step
Toivo Talikka, Global Moderator

emmett_culley
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Mar 12, 2024 8:54 pm

Re: Update 5.0.3 to 5.1

Post by emmett_culley » Mon May 13, 2024 2:53 pm

Have I misunderstood? It looks like you are saying we can upgrade from 4.4 to 5.1, but nothing about upgrading from 5.0.3 to 5.1.

emmett_culley
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Mar 12, 2024 8:54 pm

Re: Update 5.0.3 to 5.1

Post by emmett_culley » Mon May 13, 2024 3:37 pm

I am new to Joomla and dont' know what you mean by "Update sites list"

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2656
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: Update 5.0.3 to 5.1

Post by JAVesey » Mon May 13, 2024 3:55 pm

emmett_culley wrote: Mon May 13, 2024 3:37 pm I am new to Joomla and dont' know what you mean by "Update sites list"
Go to the “System” page (link on left-hand side-bar in Atom template) and theres a link to “Update Sites” in the “Updates” module.

Click and you will, by default, bee a link of active/enabled update sites that is checked at various times. Click on “Filter Options” and select “disabled”. You can reenable any there by selecting them then enabling them under the “Actions' button.

HTH
John V
Cardiff, Wales, UK
Joomla 5.1.1 "live" site on PHP 8.2.15 and MariaDB 10.11.7 (with b/c plugin enabled)
Joomla 5.1.1 on XAMMP for MacOS with PHP 8.2.4 and MariaDB 10.4.28 (with b/c plugin enabled)

emmett_culley
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Mar 12, 2024 8:54 pm

Re: Update 5.0.3 to 5.1

Post by emmett_culley » Tue May 28, 2024 1:58 pm

I am currently on 5.0.3 and am seeing the error message I shared above when I click on the update. I've downloaded the upgrade package suggested by toivo. I've also read the upgrade planing doc he suggested. Now what. How do I apply the upgrade package?

I am afraid that the php error I am seeing will prevent any upgrade.

Can someone please specifically addtress the error message I am seeing when I click on "5.1.0 available, update now" link on the dashboard.

Here it is again:

"Warning: Undefined array key 0 in /bitnami/joomla/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php on line 1349

Warning: Trying to access array offset on value of type null in /bitnami/joomla/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php on line 1352"

djfermin
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Aug 04, 2023 11:14 am

Re: Update 5.0.3 to 5.1

Post by djfermin » Mon Jun 03, 2024 9:06 am

Plesk Obsidian Web Host Edition 18.0.60 #1
PHP 8.2.19
FPM - Apache

Joomla 5.0.3
Update to 5.1.1

The same thing happens to me as the user who started this thread and also...

When entering the joomla update page it shows this error and is left thinking about verifying the extensions:

Warning: Undefined array key 0 in .../httpdocs/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php on line 1349

Warning: Trying to access array offset on value of type null in .../httpdocs/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php on line 1352

in the error log:
(I have removed the domain url)

AH01071: Got error 'PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135; PHP message: PHP Deprecated: Creation of dynamic property Joomla\\CMS\\Updater\\Update::$jversion.full is deprecated in .../httpdocs/libraries/src/Object/LegacyPropertyManagementTrait.php on line 135', referer: .../administrator/index.php?option=com_joomlaupdate


Post Reply

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