Advertisement

Update from 3.0 to 5.xx

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
upplands
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Feb 23, 2024 1:25 pm

Update from 3.0 to 5.xx

Post by upplands » Fri Feb 23, 2024 1:34 pm

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

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

Re: Update from 3.0 to 5.xx

Post by Webdongle » Fri Feb 23, 2024 5:35 pm

  1. Use Wamp https://wampserver.aviatechno.net/
  2. Create a folder in Wamp's \www folder e.g. \test1
  3. Start Wamp and select suitable php and database versions (install them into wamp if needed)
  4. 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.
        It will take some juggling but so long as you keep a backup you can always install to a fresh folder/database and try again. keeping the folder names and database names the same prevents a lot of confusion.
        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".

        dziller
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 25
        Joined: Tue Sep 27, 2016 7:34 am

        Re: Update from 3.0 to 5.xx

        Post by dziller » Sun Feb 25, 2024 6:01 pm

        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:

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Sun Feb 25, 2024 6:35 pm

        dziller wrote: Sun Feb 25, 2024 6:01 pm ...
        Basically, the way shown is correct (especially the advice to back up and the local test installation).
        ...
        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.


        dziller wrote: Sun Feb 25, 2024 6:01 pm ...
        But the way using Akeeba Backup is less complicated (also described in the article mentioned above).
        ...
        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".

        dziller
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 25
        Joined: Tue Sep 27, 2016 7:34 am

        Re: Update from 3.0 to 5.xx

        Post by dziller » Sun Feb 25, 2024 7:02 pm

        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.

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Sun Feb 25, 2024 7:34 pm

        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.
        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".

        dziller
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 25
        Joined: Tue Sep 27, 2016 7:34 am

        Re: Update from 3.0 to 5.xx

        Post by dziller » Sun Feb 25, 2024 7:50 pm

        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. ;)

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Sun Feb 25, 2024 9:07 pm

        dziller wrote: Sun Feb 25, 2024 7:50 pm Perhaps your technically demanding description of the upgrade was beyond the OP's capabilities and scared him off - ...
        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".

        upplands
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 7
        Joined: Fri Feb 23, 2024 1:25 pm

        Re: Update from 3.0 to 5.xx

        Post by upplands » Fri Mar 01, 2024 5:25 pm

        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..

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Fri Mar 01, 2024 5:31 pm

        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".

        upplands
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 7
        Joined: Fri Feb 23, 2024 1:25 pm

        Re: Update from 3.0 to 5.xx

        Post by upplands » Fri Mar 01, 2024 5:32 pm

        I have a "pure" ftp backup.

        upplands
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 7
        Joined: Fri Feb 23, 2024 1:25 pm

        Re: Update from 3.0 to 5.xx

        Post by upplands » Fri Mar 01, 2024 5:33 pm

        I know some plugins in the website dont like the newest php 8.x
        Verison 7 should work fine.

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

        Re: Update from 3.0 to 5.xx

        Post by Per Yngve Berg » Fri Mar 01, 2024 6:28 pm

        Edit configuration.php and change Session Handler from 'database' to 'none'.

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Fri Mar 01, 2024 6:49 pm

        upplands wrote: Fri Mar 01, 2024 5:32 pm I have a "pure" ftp backup.
        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".

        upplands
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 7
        Joined: Fri Feb 23, 2024 1:25 pm

        Re: Update from 3.0 to 5.xx

        Post by upplands » Fri Mar 01, 2024 6:56 pm

        I exported a sql fil from mysql. I tried to import it to "new system" nothing changes..

        Also try the "None" method, same :(

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Fri Mar 01, 2024 7:26 pm

        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".

        upplands
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 7
        Joined: Fri Feb 23, 2024 1:25 pm

        Re: Update from 3.0 to 5.xx

        Post by upplands » Fri Mar 01, 2024 11:53 pm

        Would be great if you could help out.. send me a mail where i can share the file. (cant send PM yet)

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Sat Mar 02, 2024 12:02 am

        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".

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Sat Mar 02, 2024 5:46 pm

        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".

        upplands
        Joomla! Apprentice
        Joomla! Apprentice
        Posts: 7
        Joined: Fri Feb 23, 2024 1:25 pm

        Re: Update from 3.0 to 5.xx

        Post by upplands » Sat Mar 02, 2024 9:49 pm

        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 :)

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

        Re: Update from 3.0 to 5.xx

        Post by Webdongle » Sat Mar 02, 2024 10:02 pm

        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".

        Advertisement

        Post Reply

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