Upgrade to J5 Topic is solved

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
tigger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 247
Joined: Mon Oct 13, 2008 9:10 am

Upgrade to J5

Post by tigger » Tue Jun 25, 2024 5:22 pm

Hello,

My site runs on Joomla 4.4.5 with MySQL 5.7.44.

In order to upgrade it to J5, I should either upgrade MySQL version or switch to Maria DB.

If I change to MariaDB, will the site continue to function?

Or will an intermediate step, like backup/restore be necessary?

Please help!

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

Re: Upgrade to J5

Post by AMurray » Tue Jun 25, 2024 9:30 pm

There should be no problem with MySQL to MariaDB (Maria is based on MySQL).

All you should do is back up your current site with Akeeba Backup. Then restore the site, to the MariaDB with Akeeba Kickstart. That's the easiest way.

The alternative is to export from MySQL with phpMyAdmin and import to MariaDB with phpMyAdmin.

I would suggest you test both methods on a copy of your site. You could install a local server like WAMPServer (my recommendation) on your PC, and import your site's database there, using the above method(s). there. You can also test the update to J5 to ensure it all works.

See https://docs.joomla.org/Copying_a_Joomla_website. Whether you do the local server method, or to a new folder on your live web server, the 'copy' method will work in both cases.

I had a Joomla 4.4.5 version running on MySQL 5.7.x recently, and my web host did the change to MySQL 8 with no intervention from me, and it works as it always has (and even noticeably a bit more responsive/faster). I haven't yet migrated to 5.x for this site, as I'm considering a change of host in any case, decided at a time when the current web host hadn't made any decision about MySQL 8, but then suddenly is doing so, 6 months later.
Regards - A Murray
General Support Moderator

tigger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 247
Joined: Mon Oct 13, 2008 9:10 am

Re: Upgrade to J5

Post by tigger » Wed Jun 26, 2024 8:48 am

Thanks, I'll try the backup-restore method with Akeeba.
Hopefully, everything will be fine.

deepvyas
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Apr 17, 2017 9:36 am

Re: Upgrade to J5

Post by deepvyas » Fri Jun 28, 2024 10:43 am

I think better to write an script migrating data from MySQL to MariaDB

gws
Joomla! Champion
Joomla! Champion
Posts: 6102
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Upgrade to J5

Post by gws » Fri Jun 28, 2024 10:56 am

deepvyas wrote: Fri Jun 28, 2024 10:43 am I think better to write an script migrating data from MySQL to MariaDB
Why?

tigger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 247
Joined: Mon Oct 13, 2008 9:10 am

Re: Upgrade to J5

Post by tigger » Sat Jun 29, 2024 9:41 am

Upgrading to MariaDB was a breeze. It worked just out of the box!
Now, before upgrading to J5, I see there are two extensions that require updating.
Yootheme and Advanced Custom Fields.
Is is possible to try to upgrade anyway and, if anything fails, go back to J4?

gws
Joomla! Champion
Joomla! Champion
Posts: 6102
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Upgrade to J5

Post by gws » Sat Jun 29, 2024 11:00 am

You should upgrade both before updating to J5.

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

Re: Upgrade to J5

Post by AMurray » Sat Jun 29, 2024 10:09 pm

Advance custom fields updated May 2024: https://extensions.joomla.org/extension ... om-fields/

I read on YooTheme website that all their products - extensions, templates, WidgetKit, Zoo, Pagebuilder etc are J5 compatible.

You can go back to J4 by restoring your backup made before you migrate to J5.

https://docs.joomla.org/Joomla_4.4.x_to ... ep_by_Step
Regards - A Murray
General Support Moderator

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

Re: Upgrade to J5

Post by toivo » Sat Jun 29, 2024 10:30 pm

Make sure you do not switch off the Backward Compatibility Plugin Behaviour - Backward Compatibility when using the current version of Advanced Custom Fields.
Toivo Talikka, Global Moderator

tigger
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 247
Joined: Mon Oct 13, 2008 9:10 am

Re: Upgrade to J5

Post by tigger » Sun Jun 30, 2024 11:11 am

Thanks all for the support.
The upgrade process was smooth, and I'm now on J5.
Everything looks ok, except a giant icon on the login page - I'll open a new thread about this.


Post Reply

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