Advertisement
Update from 3.0 to 5.xx
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.
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.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Fri Feb 23, 2024 1:25 pm
Update from 3.0 to 5.xx
Hi, i have a backaup of my old site that i think was running on 3.0x (or 3.9). It wont run on my new webserver service.
So, is it possible to update my site 3.0x somehow to 5.xx , i cant reach any admin pages to update that way . Is there a way via ftp, i upload a upgrade pack and then start the update on site somehow.
OR
is the any free webservice where i can upload my old site free and start the upgrade from there, then backup everything and upload on my new site..
/Michael
So, is it possible to update my site 3.0x somehow to 5.xx , i cant reach any admin pages to update that way . Is there a way via ftp, i upload a upgrade pack and then start the update on site somehow.
OR
is the any free webservice where i can upload my old site free and start the upgrade from there, then backup everything and upload on my new site..
/Michael
Advertisement
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
- Use Wamp https://wampserver.aviatechno.net/
- Create a folder in Wamp's \www folder e.g. \test1
- Start Wamp and select suitable php and database versions (install them into wamp if needed)
- Copy your site to \www\test1 https://docs.joomla.org/Copying_a_Jooml ... s_with_FTP when making the database in Wamp call it test1
- Use Akeeba to backup your site https://www.akeeba.com/compatibility.html
- Uninstall old/incompatible/vulnerable extensions/templates
- Update Joomla, save, make a backup, 'rinse repeat' until the site breaks
- Create a new folder in Wamp's \www folder e.g. \test2
- Change the php/database versions wamp to suit the site
- Use the last good backup to install into Wamp's \www\test2. The install will create the database to the name you chose during installation. (suggest test2)
- Continue steps #5 #9 (with new folders/databases as needed) until you are up to date.
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! Apprentice
- Posts: 25
- Joined: Tue Sep 27, 2016 7:34 am
Re: Update from 3.0 to 5.xx
Important: There is no way to go directly from Joomla 3.9.x to Joomla 5.x without causing serious problems.
Basically, the way shown is correct (especially the advice to back up and the local test installation).
But the way using Akeeba Backup is less complicated (also described in the article mentioned above).
However, the following intermediate steps must be taken to be on the safe side:
Basically, the way shown is correct (especially the advice to back up and the local test installation).
But the way using Akeeba Backup is less complicated (also described in the article mentioned above).
However, the following intermediate steps must be taken to be on the safe side:
- First, update your Joomla 3.9 site to version 3.10.x - this version includes a compatibility check for the move to 4.x.
https://docs.joomla.org/Joomla_3.x_to_4 ... _Migration
https://docs.joomla.org/Joomla_4.4.x_to ... ep_by_Step
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
The instructions are more than basic they are quite detailed. There is no 'one size fits all' so "some juggling" is needed to get the correct php/database versions that will work with the update from one Joomla to another. Some updates will fail because the next version of Joomla needs a higher version of php/database.
Nothing complicated about the Akeeba instructions. "10. Use the last good backup to install into Wamp's \www\test2. The install will create the database to the name you chose during installation. (suggest test2) "
Installing to a fresh folder/database prevent folder/file mismatch. It also keeps each update stage distinct (good house keeping).
When an update fails because of higher php/database version installing to a new folder/database of different php/database version is necessary.
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! Apprentice
- Posts: 25
- Joined: Tue Sep 27, 2016 7:34 am
Re: Update from 3.0 to 5.xx
The good tips about the different version requirements and the corresponding PHP versions do not change the fact that the necessary intermediate steps (J3.9.x → J3.10.x → J4.4.x → J5.0.x) were not pointed out.
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
No need as the Joomla update component will automatically show the correct version to update to. Although neither you nor myself mentioned to select the 'Next' update channel in the Update components Options. (well I have mentioned it now).
If the OP has problems they can always post back. But they haven't logged back in since 3 hours before I posted my first reply. Never mind it is there for others to see (as of now the thread has had 266 views).
As I mentioned before there is no 'one size fits all.
Bottom line
No matter what we post we cannot cover every eventuality, no matter how many holes you find in other peoples posts.
If the OP has problems they can always post back. But they haven't logged back in since 3 hours before I posted my first reply. Never mind it is there for others to see (as of now the thread has had 266 views).
As I mentioned before there is no 'one size fits all.
Bottom line
No matter what we post we cannot cover every eventuality, no matter how many holes you find in other peoples posts.
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! Apprentice
- Posts: 25
- Joined: Tue Sep 27, 2016 7:34 am
Re: Update from 3.0 to 5.xx
Perhaps your technically demanding description of the upgrade was beyond the OP's capabilities and scared him off - we'll never know until he gets back in touch.
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
Well as he has not logged in to read them we don't know if he found them technically demanding or not. If he does not have the technical skills to update from an old version then the forum is not the place to teach such skills. All we can do is explain the procedure and advice from our experience.
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! Apprentice
- Posts: 7
- Joined: Fri Feb 23, 2024 1:25 pm
Re: Update from 3.0 to 5.xx
HI, i tested all the suggestions above. But the site wont show. Seems to be database problem.
(session_start(): Failed to read session data: user (path: c:/wamp64/tmp) in C:\wamp64\www\matmonster\libraries\joomla\session\handler\native.php on line 260)
I have set all permissions to folder. Its like the old backup of my site requests a login to continue. I also tried to install joomla 3.8 then copy my files over the installations. Then i get same error like above..
So seems like it's something that stops joomla to startup.
I also setup a user in mysql with same login and password like old database, but same error..
(session_start(): Failed to read session data: user (path: c:/wamp64/tmp) in C:\wamp64\www\matmonster\libraries\joomla\session\handler\native.php on line 260)
I have set all permissions to folder. Its like the old backup of my site requests a login to continue. I also tried to install joomla 3.8 then copy my files over the installations. Then i get same error like above..
So seems like it's something that stops joomla to startup.
I also setup a user in mysql with same login and password like old database, but same error..
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
Do you have a backup of the j3.x site?
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! Apprentice
- Posts: 7
- Joined: Fri Feb 23, 2024 1:25 pm
Re: Update from 3.0 to 5.xx
I have a "pure" ftp backup.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Fri Feb 23, 2024 1:25 pm
Re: Update from 3.0 to 5.xx
I know some plugins in the website dont like the newest php 8.x
Verison 7 should work fine.
Verison 7 should work fine.
- Per Yngve Berg
- Joomla! Master
- Posts: 31281
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Update from 3.0 to 5.xx
Edit configuration.php and change Session Handler from 'database' to 'none'.
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
And a database sql that matches the files?
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! Apprentice
- Posts: 7
- Joined: Fri Feb 23, 2024 1:25 pm
Re: Update from 3.0 to 5.xx
I exported a sql fil from mysql. I tried to import it to "new system" nothing changes..
Also try the "None" method, same
Also try the "None" method, same
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
If you zip up the files and sql files and send them to me I can have a quick first hand look?
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! Apprentice
- Posts: 7
- Joined: Fri Feb 23, 2024 1:25 pm
Re: Update from 3.0 to 5.xx
Would be great if you could help out.. send me a mail where i can share the file. (cant send PM yet)
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
info at my domain. Send a test email first to make sure you send correct
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".
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
The database is corrupt. It appears that the backup files and database sql are from after a failed update. I need the files and database backup from before the failed backup.
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! Apprentice
- Posts: 7
- Joined: Fri Feb 23, 2024 1:25 pm
Re: Update from 3.0 to 5.xx
S**t..
I could import the sql into a current mysql, but maybe it didnt help? Thank you very much for your help!!
The problem started when my webserver company upgraded ph to 8.0.. All crashed,. Its a cook book, and i need the recipies
I could import the sql into a current mysql, but maybe it didnt help? Thank you very much for your help!!
The problem started when my webserver company upgraded ph to 8.0.. All crashed,. Its a cook book, and i need the recipies
- Webdongle
- Joomla! Master
- Posts: 44547
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Update from 3.0 to 5.xx
You can get those from the database. Use Notepad++ to edit the sql file and you can copy/paste.
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".
Advertisement