0

We are planning to upgrade Joomla 3.3.6 to Version 4. Currently, we are at Postgres version 9.6. Since the final release for PostgreSQL 9.6 is slated for November 11th, 2021, we are planning to upgrade the Postgres to version 11 also.

Can anyone please provide a step by step guide for doing this?

2 Answers 2

0

There is no detail about your environment and each environment can be very different so this general advice regarding the steps you should consider.

I think you should break down the migration into smaller tasks(update Joomla, update PostgreSQL, Upgrade to Joomla 4) and perform tests migrations on a copy of your site until you are sure it all works rather than try and do all of this in one go.

Update to Joomla 3.10.x First clone your Joomla 3.3.6 site so that you have a working copy of your site that you can delete and start again if the update(s) fail. Whether you do that on a local machine or a different directory on your Hosting Account depends on your environment and skills.

Look at any extensions that need to be updated to work with Joomla 3.10.x and update them.

Because you are so far behind with Joomla 3.3.6 you may find you will have to find some older versions of Joomla 3.x and update through the various releases, Joomla 3.5 to 3.6 to 3.8 to 3.9 to 3.10 for example. Or you could just try and go straight to Joomla 3.10.x and if it works then you got lucky otherwise it might break your test site and you will have to either start with a fresh copy of your existing site to try and fix the errors along the way.

There are so many potential issues that could arise it is is near impossible to provide a simple 'do this, do that' set of instructions.

Once you have a working copy of your site on Joomla 3.10 you should back the test site up as a fallback position if the next steps fail.

You now have a choice to either replace your existing live site with the Joomla 3.10.x version of your site, which is how I would do it, or you back up your site 3.3.6 site again and go through the same steps to bring it up to date with 3.10.x now that you know what needs to be done. How often the data on your site is updated can have a bearing on which is the best way to go here.

Update PostgreSQL Once you have a working Joomla 3.10.x site you can create a new clone and test updating the PostgreSQL version.

I am not familiar with PostgreSQL or your hosting environment to know whether you can run multiple version of PostgreSQL in the same account or what methods for migrating data from one version to another is required or if just restoring your Joomla 3.10.x back up into a PostGgreSQL 11.x environment is all that is required.

Upgrade Joomla 4 Now you can consider the tasks needed to migrate up to Joomla 4 but the steps are essentially the same, take a copy of your Joomla 3.10.x site elsewhere that you can work on and test upgrading to Joomla 4 and see what works and doesn't work and address those issues until you have a working Joomla 4.x that you can replace your live site with.

0
  1. Make sure you are running the latest Joomla 3.10.x version before proceeding.
  2. Take a backup of your live 3.10.x site. You can use a suggested tool (see the Suggested Tools at the bottom of page) or you can do this manually.
  3. Make sure your environment meets the technical requirements for Joomla 4.
  4. Create a new database and new user to restore your 3.10.x site to.
  5. Create a testing site or build area to work in and restore the backup copy of your 3.10.x site in one of the following places:
    • A subdomain.
    • A subdirectory.
    • A local device. Joomla has a detailed tutorial on installing XAMPP at XAMPP. However WAMP, MAMP, LAMP are all suitable alternatives.
    • A new hosting account on a temporary domain in the root. (If you would like to change hosts in the process of migration.)
  6. In your test location, update your Joomla! 3.10.x instance to the latest maintenance release.
  7. Make sure you have the latest database schema updated to the latest version 3.10.x version by going to Extension Manager  Database tab. If your schema is not up to date as in the following image, click the Fix button:
  8. Empty trash: Do you have any articles in the trash? Delete them (and any associated media if not in use elsewhere on the site). Articles (categories and menu items too) left in the trash can cause migration issues.
  9. Test.
  10. Backup again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.