Upgrading from Joomla 3 to Joomla 4 for dev purposes

Be informed that this forum is not an official support forum for Joomla! 4.0. Any issues regarding Joomla! 4.0 must be reported at https://issues.joomla.org/.

Joomla 4.0 is still in Beta stage. This forum should be used for sharing information about Joomla! 4.0.

Moderator: ooffick

Forum rules
Locked
jhallshape5
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Sep 20, 2017 5:24 pm

Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by jhallshape5 » Tue Jun 26, 2018 10:33 pm

Hello,

I'm in need of updating a Joomla 3.x site to Joomla 4. Is this still possible? My friend did it and now can't remember how and we need to do this to properly test a patch for our templates to make them J4 compatible.

Thanks to anyone who may know how to do this!

Jonah

jhallshape5
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Wed Sep 20, 2017 5:24 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by jhallshape5 » Tue Jul 03, 2018 8:48 pm

I got it:

1. Logged into current Joomla (May be Joomla3) administrator, and stay logged in there

2. Upload Joomla 4 package files to site's root directory using any file transfer software or using cPanel file manager. You won't need to upload "installation" folder of Joomla 4. In the case of file manager, upload zip package and extract files on site's root directory, rename "installation" folder name to some other name. This way you have all Joomla 4 files.

3. Add "namespace" column in extension table in your site database. `namespace` varchar(500) NOT NULL DEFAULT ''. Also you will need to edit "checked_out_time" current date to "CURRENT_TIMESTAMP"

4. Run this URL administrator/index.php?option=com_installer&task=database.fix This will fix your database version to Joomla 4 and should all good to go now. Ex. if your site's domain is example.com then you should run this url http://example.com/administrator/index. ... tabase.fix

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12787
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by brian » Tue Jul 03, 2018 9:22 pm

Sorry but that wont work as you will have files left over from j3 that are no longer used or have been moved to other places
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

mikerotec
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Fri Aug 08, 2014 10:08 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by mikerotec » Wed Aug 22, 2018 12:51 am

Well... OP asserts it works ("got it").. But Brian says "no"...

Is there an actual workable solution? I have the same requirement... would like to bring my 3.8 site over and 'update it" to J4 to get started on development without having to rebuild the whole site from scratch.


I thought that I read somewhere that 3.9 would be "upgradeable". Is there a 3.9 beta we can use to upgrade a test site from 3.8??

mikerotec
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Fri Aug 08, 2014 10:08 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by mikerotec » Tue Sep 11, 2018 6:13 pm

Anybody?? This is really holding up production - "time's a wastin'!!" ;)

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by Webdongle » Tue Sep 11, 2018 7:11 pm

https://developer.joomla.org/nightly-builds.html
To always use the latest version and test the update component you can use this custom update server: https://update.joomla.org/core/nightlie ... r_list.xml
Tried Components >>> Joomla update >>> Options ... 'Custom url' ... https://update.joomla.org/core/nightlie ... r_list.xml
But no avail ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

mikerotec
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Fri Aug 08, 2014 10:08 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by mikerotec » Tue Sep 11, 2018 8:52 pm

Tried that - made a little progress!
Well, I was able to properly upgrade my 3.8.12 to 3.9, and then to 3.10 ( test versions).
But the upgrade from 3.10 to 4.0 failed after 86%.

Code: Select all

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in [redacted]/html/libraries/src/Event/ErrorEvent.php on line 31

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in [redacted]/html/libraries/src/Session/Storage/JoomlaStorage.php on line 132

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0

Warning: Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by Webdongle » Tue Sep 11, 2018 9:07 pm

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

mikerotec
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Fri Aug 08, 2014 10:08 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by mikerotec » Tue Sep 11, 2018 10:25 pm

Ooops! I jumped the gun, when I should have double checked the github first. (I just naively assumed that since the upgrade was offered, it should probably work...)

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by Webdongle » Tue Sep 11, 2018 10:36 pm

mikerotec wrote:
Tue Sep 11, 2018 10:25 pm
... (I just naively assumed that since the upgrade was offered, it should probably work...)
Me to https://github.com/joomla/joomla-cms/is ... -359186524
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

mikerotec
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Fri Aug 08, 2014 10:08 pm

Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes

Post by mikerotec » Mon Oct 29, 2018 9:25 pm

Joomla! 3.9.0-rc2 seems to be real solid...

Can anyone confirm that it's 3.10 that will have the functional "Updater to 4"??

It sure would be ultra-helpful if I could UPGRADE an existing 3.X for testing code compatibility...


Locked

Return to “Joomla! 4 Related”