Advertisement

Is it possible to update from 4.x to a specific 4.y? Topic is solved

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
RaulOG
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Apr 23, 2024 12:32 pm

Is it possible to update from 4.x to a specific 4.y?

Post by RaulOG » Tue Sep 03, 2024 12:12 pm

I saw there's a cli tool for updating Joomla4, but running this command will get you updated to the latest version.

Is there any way I can update joomla4 to a specific 4.x.y version? I have a DTAP setup, and when I'm making an update to joomla, I want certainty that what I deployed to TEST is the same that will be deployed to PRODUCTION.

So that means I need to be able to lock which version I'm updating to. Unfortunately the cli will always update o latest and apparently there's no way to instruct which version you want.

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

Re: Is it possible to update from 4.x to a specific 4.y?

Post by Per Yngve Berg » Tue Sep 03, 2024 1:26 pm

Download the Package and use the Upload&Update Option.

RaulOG
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Apr 23, 2024 12:32 pm

Re: Is it possible to update from 4.x to a specific 4.y?

Post by RaulOG » Tue Sep 03, 2024 2:22 pm

What is Upload&Update? A button somewhere in the administrator dashboard?

I'm looking for an option that allows me to update to a specific version automatically via pipeline. In my DTAP setup, deploying to test or production should suffice to get joomla updated to the target version that worked during testing in local/test/accept environment.

That's why I researched if the cli command to run a core:update would allow me to update to a specific version...

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

Re: Is it possible to update from 4.x to a specific 4.y?

Post by Per Yngve Berg » Tue Sep 03, 2024 3:31 pm

Yes, it's a button in the Joomla Update Component.

RaulOG
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Apr 23, 2024 12:32 pm

Re: Is it possible to update from 4.x to a specific 4.y?

Post by RaulOG » Tue Sep 03, 2024 3:40 pm

Thank you for your answers.

I am still looking for a way to update to a specific version from a pipeline, without having to log in anywhere to press a button.

Perhaps the only way is to build a custom script which runs any .sql from current DB version to target update version.

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

Re: Is it possible to update from 4.x to a specific 4.y?

Post by Per Yngve Berg » Tue Sep 03, 2024 3:52 pm

Have your own update server. Then you have full control of the versions released.

RaulOG
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Apr 23, 2024 12:32 pm

Re: Is it possible to update from 4.x to a specific 4.y?

Post by RaulOG » Wed Sep 04, 2024 7:30 am

That does sound like a solution indeed. Will try. Thank you.

Advertisement

Post Reply

Return to “Installation Joomla! 4.x”