Upgrading from Joomla 3 to Joomla 4 for dev purposes
Moderator: ooffick
Forum rules
-
- Joomla! Apprentice
- Posts: 9
- Joined: Wed Sep 20, 2017 5:24 pm
Upgrading from Joomla 3 to Joomla 4 for dev purposes
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
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
-
- Joomla! Apprentice
- Posts: 9
- Joined: Wed Sep 20, 2017 5:24 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
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
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
- brian
- 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
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/
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/
-
- Joomla! Enthusiast
- Posts: 190
- Joined: Fri Aug 08, 2014 10:08 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
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??
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??
-
- Joomla! Enthusiast
- Posts: 190
- Joined: Fri Aug 08, 2014 10:08 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
Anybody?? This is really holding up production - "time's a wastin'!!"
- Webdongle
- Joomla! Master
- Posts: 44088
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
https://developer.joomla.org/nightly-builds.html
But no avail ?
Tried Components >>> Joomla update >>> Options ... 'Custom url' ... https://update.joomla.org/core/nightlie ... r_list.xmlTo 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
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Enthusiast
- Posts: 190
- Joined: Fri Aug 08, 2014 10:08 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
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%.
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
- Webdongle
- Joomla! Master
- Posts: 44088
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Enthusiast
- Posts: 190
- Joined: Fri Aug 08, 2014 10:08 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
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...)
- Webdongle
- Joomla! Master
- Posts: 44088
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Enthusiast
- Posts: 190
- Joined: Fri Aug 08, 2014 10:08 pm
Re: Upgrading from Joomla 3 to Joomla 4 for dev purposes
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...
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...