Joomla Tutorials and Blog Posts

How to Migrate or Upgrade Joomla 1.5 to 1.6

Joomla 1.6Ever since the release  of 1.6, there have been a lot of questions as to how to migrate or upgrade.

This guide will take you step-by-step through the general procedure of how to migrate to Joomla 1.6.

Please read through all the material as this is not a light undertaking.

Short Background Information

Countless hours have been spent by many volunteers from around the world to put Joomla 1.6 together. Although much of the code is the same from Joomla 1.5, much of it has been written from the ground up, and the changes are comparable to the changes from Joomla 1.0 to 1.5.

Jupgrade ExtensionBecause the changes from Joomla 1.5 to 1.6 are so large and because of the massive effort put into getting Joomla 1.6 to where it is today, there is no core upgrade path, this is indeed a migration.

In planned future releases of Joomla (which will be released every 6 months), the changes from version to version will be more incremental and a core upgrade path is planned. Now that Joomla 1.6 is finally here and stable, a community initiative led by the developers of Joomla is turning towards jUpgrade (a 3rd party Joomla extension on the JED originally developed by Matias Aguirre) for help and to help.

Many of Joomla's developers (who are all volunteers that freely contribute their time) are volunteering to put the finishing touches on jUpgrade.

jUpgrade allows you to migrate from Joomla 1.5 to 1.6.

Lets get started!

Requirements

Please, please save yourself (and possibly your clients) a lot of headaches and make sure that your server (and in the case of jUpgrade, your browser too) is up for the task.

The system requirements of Joomla 1.6 can be found here:
http://www.joomla.org/technical-requirements.html

jUpgrade requirements can be found here:
http://www.matware.com.ar/joomla/jupgrade.html

Before You Get Started

Before you get started, there are a few things that you are going to have to check and/or think about:

Is your Joomla 1.5 version up to date? At the time of the writing of this tutorial the most up-to-date version of Joomla 1.5 is 1.5.22. Much of the testing of the migration has been done from Joomla 1.5.22 to Joomla 1.6. If your version is not up-to-date you should probably upgrade to 1.5.25, which is now the latest version, before migrating, especially if you are running Joomla 1.5.11 or lower. For a tutorial on upgrading, please visit this link.

Do all your extensions have Joomla 1.6 native versions? At the time of the writing of this tutorial there are 108 available on the JED. Please note that jUpgrade is not currently able to upgrade Joomla 3rd party extensions, so those will have to be done via their respective upgrade procedures. This is however a work in progress. Because of the transition period, the modules may be flagged for use with 1.6 or 1.7. These will still work with 1.6. Watch for more upgrades as 1.6 matures.

Have you modified any core files? Any changes that you have made to core files in Joomla will be lost so please be forewarned.

Is there a Joomla 1.6 compatible template available from your template provider? If not, do you feel comfortable making the changes yourself? There are a some good resources including Chad Windnagle's Joomla Community blog, Chris Davenport's "Template Changes for Joomla 1.6" presentation and the Joomla docs. Please note that although jUpgrade is not able to currently upgrade templates, the developers are working hard at implementing the feature.

Is your language pack available in Joomla 1.6? http://community.joomla.org/translations/joomla-16-translations.html

Do you have folder or file permissions issues in your Joomla 1.5 installation? http://www.ostraining.com/blog/joomla/admin-tools-the-quick-and-easy-way-to-change-folder-and-file-permissions/

Do you NEED to migrate to Joomla 1.6? Joomla 1.5 is powerful and very mature. For many people there is not a need to rush into Joomla 1.6. Joomla will continue to support Joomla 1.5 for at least another three months, releasing security updates and bug squashing updates when needed.

The two main features of Joomla 1.6 that make it superior to Joomla 1.5 are: Access Control List (ACL) and nested categories. Gone are the days of simply having guests, registered users, authors, and editors, without being able to specify what they can and can't do in the frontend. Also, with 1.6 you can have more flexibility of organizing (and therefore displaying) your content with nicely organized categories within categories. No more being restricted to the section >> category structure. Those are all great things to have (especially the ACL), however, for many 1.5 users, it isn't needed. The main point is to decide for yourself:

Video on How to Upgrade

Step 1: Backup, Backup, Backup

Skipping this part is perhaps the biggest mistake you can make. If you have a proper backup (or several) you can always revert back if needed. However, if you don't properly backup your site and something goes wrong, you are going to waste a lot of valuable time, and sometimes a lot money, getting things back to the way they were. So please backup!

If you don't know how, please see steps 1 through 5 in this tutorial.

Step 2: Download jUpgrade

tutuploadsmedia_1295003314223.png

Download the latest version of jUpgrade. Start at the Joomla Extensions Directory listing. In January 2012, the most curent version is jUpgrade v1.2.4

Step 3: Optional - Testing Environment

If you are really nervous by this point and your heart is beating fast, then you should probably set up a testing environment. You can follow this tutorial to make a copy of your site to test on your localhost or another remote server.

Step 4: Install jUpgrade

tutuploadsmedia_1295003936782.png

Go to your Joomla backend. e.g. www.example.com/administrator

Extensions >> Install/Uninstall

tutuploadsmedia_1295004066356.png

Browse >> Select com_jupgrade >> Upload File & Install

tutuploadsmedia_1295004258002.png

Step 5: Migration

tutuploadsmedia_1295004352758.png

Components >> jUpgrade

tutuploadsmedia_1295004528634.png

Start Upgrade

tutuploadsmedia_1295004639427.png

Do not exit the screen until everything has finished loading. Scroll down to check if it has finished.

tutuploadsmedia_1295004832756.png

Success!!!

Behind the Scenes

As explained in the background information, the changes from Joomla 1.5 and 1.6 are quite significant. The fact that jUpgrade creates a new Joomla 1.6 installation for us is, in my opinion, pure genius. If the migration process was not 100% successful, your Joomla 1.5 is still perfectly intact and none of your users are affected. You have an opportunity to check out your site both in the frontend and the backend to make sure everything is up to par.

So what actually happens? jUpgrade downloads the latest version of Joomla 1.6 for you to the jupgrade directory (which it creates) in the root folder of your Joomla 1.5 installation. It then extracts all the files from the download. Once extraction has completed, jUpgrade installs Joomla 1.6 and then proceeds to migrate your old database to the new Joomla 1.6 database which it has created.

Your Joomla 1.6 site will be installed in www.example.com/jupgrade assuming that your Joomla 1.5 installation is in your html root.

Check Your Joomla 1.6

Please do a full site review of your Joomla 1.6 installation and make sure everything is set up properly.

Your Joomla 1.6 site will be installed in www.example.com/jupgrade assuming that your Joomla 1.5 installation is in your html root.

Here is a general checklist of items to test:

  • Banners
  • Categories
  • Contacts
  • Content
  • Menus
  • Modules
  • Newsfeeds
  • Users
  • Weblinks
  • Templates - Work is currently being done on the template upgrade feature of jUpdate and it is not yet fully functional. Your module positions may have to be adjusted in module manager.

Backup Joomla 1.6

If everything looks good to go, then let's backup the new Joomla 1.6 installation. You can follow this tutorial: http://www.ostraining.com/blog/joomla/how-to-backup-a-joomla-16-site/

Overview of the Rest of the Process

Quick overview of what we are going to try to do now: 

  1. Relocate our Joomla 1.5 installation to a subfolder as a "just in case".
  2. Relocate our Joomla 1.6 installation to the html folder.

*****It should happen in this order***** If you do it in reverse order, the Joomla 1.6 files will get mixed with the Joomla 1.5 files (many of 1.5 files will be overwritten) and you will have a big mess! Your site will likely still work, but it's a security ticking time bomb waiting to go off.

Going Live

Next log onto your host's file manager (e.g. cPanel, Plesk, etc) or an FTP Client, however, preferably a file manager.

The general procedure is (it should take about 30 seconds if you review the steps before you start):

  1. Create a subfolder (e.g. myoldsite) for the Joomla 1.5 installation in your html root, e.g. public_html/myoldsite
  2. Select all the folders (***except the jupgrade folder***) and files in the html root and move them into the Joomla 1.5 subfolder (e.g. myoldsite)
  3. Select all the folders and files in the jupgrade folder and move them to the html root
  4. Double check the frontend and backend

You can use this tutorial to guide you through the process.

Troubleshooting

  1. jUpgrade cannot download Joomla 1.6 package? When the download fails (timeouts, javascript issues, etc) you can download it manually here and put this file into your ROOT/tmp directory. Then, in the preferences of jUpgrade, you must set 'Skip Download' to 'Yes'. After that, run the upgrade again.
  2. Progress Bar? Are you getting errors with the progress bar in Internet Explorer (Windows XP)? Use Firefox.
  3. Read Carefully: Please go through the Requirements and Before You Get Started sections above and double check everything!
  4. Report Bugs: http://redcomponent.com/forum/92-jupgrade
  5. Get Support: http://redcomponent.com/forum/92-jupgrade

How you can contribute and help!

Creating an extension as significant as jUpgrade requires an enormous amount of time and effort considering the major structural changes between Joomla 1.5 and 1.6. Add to this the fact that starting with release of Joomla 1.6 betas, the extension would have to be modified to work with the new changes between releases, and all of a sudden it's too hard for any one person to complete in a short period of time (especially when you are not being paid).

With this being said, it's time to step up and make a difference, whether big or small. Have you profited from Joomla in the last year? Are you excited about the future of Joomla? Would you like to contribute back and show your gratitude? Now you can in this project!

We, as part of the Joomla community, are calling on the entire Joomla community to help out in whatever way you can. You don't have to be a master developer, just go through this tutorial on a test site and if you come across any bugs, report it. If you know how to fix it, create a patch for it. If you are a master developer, step up to the challenge.

You can report bugs here: http://redcomponent.com/forum/92-jupgrade

You can volunteer and ask questions about volunteering here: http://www.matware.com.ar/forum/projects/jupgrade/volunteer-information.html

If you have additions, suggestions, corrections for this tutorial you can either post it in the comments or use our contact page, and we will modify it as necessary. This tutorial will continually be getting updated as we get new information.

Comments

 
bwls
#1 bwls 2011-01-14 22:11

Received Error Message that Curl was not installed. How do I get it installed?
 
 
Maanoj Rakhit
#2 Maanoj Rakhit 2011-01-15 16:46

After successful upgrade from 1.5.22 to 1.6 using jUpgrade, I found all was well except (1) Categories were missing; those were all converted into Public (2) Module Mgr >> all Menus had disappeared, only Home under Main Menu showing (3)Akeeba Backup installation succeeded but kickstart 3.1.5 failed with MSG: "JInstaller: :Install: Cannot find XML setup file".
 
 
Nick
#3 Nick 2011-01-15 21:05

Hi Maanoj,

I just replied in the Joomla forum thread. :-)

Kind regards,
Nick
 
 
Hayden Foote
#4 Hayden Foote 2011-01-23 23:39

Great article, thanks so much!
 
 
Nick
#5 Nick 2011-01-24 19:45

You are welcome, Hayden! :-)

A new jUpgrade version was recently released and we are going to update the documentation (specifically the troubleshooting part) to reflect it.
 
 
sjohnson
#6 sjohnson 2011-03-10 16:01

Thanks so much for this post.

I have a J1.0 site to migrate to J1.6, know of any tools to help with this?

I think I will have to follow this path J1.0 to J1.5 then J1.5 to J1.6.

All suggestions are appreciated. Thanks!
 
 
Nick
#7 Nick 2011-03-10 22:46

Hi sjohnson,

You're correct, you would have to do J1.0 to 1.5 then 1.5 to 1.6.

Follow this for 1.0 to 1.5:
docs.joomla.org/.../

Good luck!

Kind regards,
Nick
 
 
ulrik teisner
#8 ulrik teisner 2011-04-13 14:23

Hi I got this message when trying to upgrade my 1.5.22. with Jupgrade. Followed by this chat with one.com. Have you got a different advice for me than Fenar at One.com, because the advice is beyond my skills?

Fenar. How may I assist you?

Me: Warning: set_time_limit( ): Cannot set time limit due to system policy in /customers/xxxx .dk/xxxx.dk/htt pd.www/administ rator/component s/com_jupgrade/ includes/jupgra de.class.php on line 44 OK

Could you informn if this is a know problem?

Fenar: set_time_limit (PHP function) is not supported on our servers
Me: ;-( what to do?
Fenar: you need to comment out that line from the affected file

All the best Ulrik
 
 
Nick
#9 Nick 2011-04-13 18:54

Hi Ulrik,

The new version of jUpdate should take care of that which should be available soon.

Kind regards,
Nick
 
 
Rodge
#10 Rodge 2011-04-27 10:03

I was getting stuck just downloading. I downloaded the zip file manually and put it in the tmp directory, then set the Jupgrade parameter to be First. After that, it successfully ran. Hope this helps someone.
 
 
Nick
#11 Nick 2011-04-27 15:02

I'm glad you got it sorted! :)
 
 
KarmicVisions
#12 KarmicVisions 2011-06-21 22:46

Complete this upgrade, worked great but before I start the overwhelming task of dealing with extensions.... have I lost all of the extension data? Such as chronoforms and ignite gallery, will I have to recreate all of the forms and the same for the photo galleries?
 
 
Nick
#13 Nick 2011-06-21 22:50

Hi KarmicVisions,

You're have to check with the specific extension developers as to how they handle upgrades. They have the opportunity to include a xml file in jUpgrade so that the extension does it automatically, but they may have their own method.

Kind regards,
Nick
 
 
KarmicVisions
#14 KarmicVisions 2011-06-22 17:52

Thanks. I'm not finding it mentioned anywhere but the images that are usually housed in stories in 1.5 do those have to manually be moved over or is it suppose to migrate with this extension.
 
 
Nick
#15 Nick 2011-06-22 17:59

They should migrate with the extension. If not, you should report the bug here:
matware.com.ar/.../...

Kind regards,
Nick
 
 
Ulf
#16 Ulf 2011-08-10 13:12

Hi!

Tried 1.2.0 on a test site with 1.5. But the check phase gives a warning

Warning: set_time_limit( ): Cannot set time limit due to system policy in /customers/.... .se/.....se/htt pd.www/cm15/adm inistrator/comp onents/com_jupg rade/includes/j upgrade.class.p hp on line 51 OK

I'm running three 1.5 sites on one.com and none is upgrade working on.
It just stops there. If it's a warning it shouldn't stop. Just errrors would break the chain.
Anyway, the component is not useful on one.com. I saw earlier comments that this should have been fixed. But I might read it wrong.


Sorry.
Ulf
 
 
Nick
#17 Nick 2011-08-10 14:17

Hi Ulf,

Just remove that line of code from the respective files and it should work.

Kind regards,
Nick
 
 
Ulf
#18 Ulf 2011-08-10 16:22

Thanks Nick!

It worked like a charm.
One step ahead now.

Kind regards
Ulf
 
 
Nick
#19 Nick 2011-08-11 17:21

You're welcome, Ulf! :)

Kind regards,
Nick
 
 
Espen
#20 Espen 2011-08-24 21:18

Hi!

I'm trying to upgrade from 1.5.22 to 1.6, but I keep running into trouble with a file that should be called methods.php. At first I suspected the cause to be insufficient rights, since the jupgrade folder was never created, but even after I create the folder jupgrade (in the right place and with 777 rights) it has persisted.

I get "CHECKING DONE", but then the methods.php line in install_config, _install.db and finally jupgrade.class. php snags. That final one just goes into infinite loop, by the way, and now I'm close to tears... Any clues?


Any
 
 
Nick
#21 Nick 2011-08-25 17:40

Hi and welcome!

Are you getting any error messages? If so, can you post the full error? (don't post the debug code though)

Kind regards,
Nick
 
 
redy4it
#22 redy4it 2011-09-04 14:26

I wonder what I'm doing wrong. I have tried to migrate 1.5.23 to 1.6 but everytime it goes wrong. Can someone help me please?
 
 
Nick
#23 Nick 2011-09-04 23:59

Hi and welcome, redy4it!

Sorry but you're going to have to be more specific than that. How does it go "wrong"? Are you getting any error messages? Can you provide some more detail please?

Kind regards,
Nick
 
 
Espen
#24 Espen 2011-09-26 20:52

Error messages run a tad too long to post, but I'll do it in three stepst (one for each type I get).

This is what comes out:

Checking DONE

==========
[install_config]


Warning: require_once(/s ome_path_info/w ww/jupgrade/lib raries/joomla/m ethods.php) [function.requi re-once]: failed to open stream: No such file or directory in /some_path_info /www/administra tor/components/ com_jupgrade/in cludes/install_ config.php on line 24

Fatal error: require_once() [function.requi re]: Failed opening required '/some_path_inf o/www/jupgrade/ libraries/jooml a/methods.php' (include_path=' .:/usr/local/ph p5-suphp/lib/ph p') in /some_path_info /www/administra tor/components/ com_jupgrade/in cludes/install_ config.php on line 24

==========
[cleanup]
 
 
Espen
#25 Espen 2011-09-26 20:53

Then this goes on, and the next error message is:

==========
[install_db]

Warning: require_once(/s ome_path_info/w ww/jupgrade/lib raries/joomla/m ethods.php) [function.requi re-once]: failed to open stream: No such file or directory in /some_path_info /www/administra tor/components/ com_jupgrade/in cludes/install_ db.php on line 30

Fatal error: require_once() [function.requi re]: Failed opening required '/some_path_inf o/www/jupgrade/ libraries/jooml a/methods.php' (include_path=' .:/usr/local/ph p5-suphp/lib/ph p') in /some_path_info /www/administra tor/components/ com_jupgrade/in cludes/install_ db.php on line 30
 
 
Espen
#26 Espen 2011-09-26 20:54

...and the final one - which goes into infinite loop - goes like this:

It would be beautiful if anybody knows anything that can help!

==========
[undefined] [undefined]


Warning: require_once(/s ome_path_info/w ww/jupgrade/lib raries/joomla/m ethods.php) [function.requi re-once]: failed to open stream: No such file or directory in /some_path_info /www/administra tor/components/ com_jupgrade/in cludes/jupgrade .class.php on line 78

Fatal error: require_once() [function.requi re]: Failed opening required '/some_path_inf o/www/jupgrade/ libraries/jooml a/methods.php' (include_path=' .:/usr/local/ph p5-suphp/lib/ph p') in /some_path_info /www/administra tor/components/ com_jupgrade/in cludes/jupgrade .class.php on line 78
 
 
leakimenomis
#27 leakimenomis 2011-09-30 18:12

Thanks to!!!!!!

Quoting Ulf:
Thanks Nick!

It worked like a charm.
One step ahead now.

Kind regards
Ulf
 
 
leakimenomis
#28 leakimenomis 2011-09-30 18:13

Thanks to!!! Nick
 
 
Nick
#29 Nick 2011-09-30 18:46

Hi Leakimenomis,

You're welcome. I'm glad to be of help! :)

Kind regards,
Nick
 
 
Nick
#30 Nick 2011-09-30 18:50

Hi Espen,

Is your configuration.p hp in your Joomla root or do you have it set in another directory? Also, are its permissions set to 644?

Kind regards,
Nick
 
 
Nick
#31 Nick 2011-09-30 18:50

Hi Espen,

Is your configuration.p hp in your Joomla root or do you have it set in another directory? Also, are its permissions set to 644?

Kind regards,
Nick
 
 
Nick
#32 Nick 2011-09-30 18:51

Hi Espen,

Is your configuration.p hp in your Joomla root or do you have it set in another directory? Also, are its permissions set to 644?

Kind regards,
Nick
 
 
Espen
#33 Espen 2011-09-30 22:19

Thank you so much for your help.

Actually, what did the trick was running jUpgrade from a Firefox window on a Windows machine. I tried it from Firefox on a Linux box and from Safari on a mac and an ipad, but this time, Microsoft was what cut it...

Now all I have to do, is find a template in the appropriate shade of burgundy! :-)
 
 
Nick
#34 Nick 2011-10-03 15:26

Hi Espen!

Wonderful! I'm glad you got it sorted! :)

Kind regards,
Nick
 
 
Krishna Rungta
#35 Krishna Rungta 2012-01-11 08:07

Joomla 1.6 seems to re-write URL such that .html is stripped . How can this be fixed ?
 
 
Nick
#36 Nick 2012-01-12 01:32

Hi Krishna,

Make sure that "Adds Suffix to URL" is set to "Yes" in your Global Configuration's Site tab.

Kind regards,
Nick
 
 
Krishna Rungta
#37 Krishna Rungta 2012-01-12 05:29

But this leads to another issue ... that .html and links wihtout .html both work ... how can this be tackled ?
 
 
Nick
#38 Nick 2012-01-12 05:51

Hi Krishna,

That's a good question! We would love to get into a discussion with you on this. If you are a student at OSTraining.com, please log into the support forum (www.ostraining.com/.../) and post the question in there, so that one of our support techs can look into it for you. If you’re not a student, I hope you’ll consider becoming one, so that we can give you the attention you deserve. You can find out more about our online class at www.ostraining.com/online

Kind regards,
Nick
 
 
Nicola
#39 Nicola 2012-01-25 12:26

Thanks for this tutorial. I will have to migrate some sites soon and will be grateful for this.

But I think you are having a mixup with the 2.5 and the 1.6 versions in the explanations. This is a mirgation to 1.6 not to 2.5 or am I wrong?
 
 
Nick
#40 Nick 2012-01-25 18:57

Hi Nicola,

This was written back when 1.6 was around. Joomla 2.5 just came out yesterday and we'll have a tutorial for it as soon as jUpgrade is available for 2.5

Kind regards,
Nick
 
 
KarmicVisions
#41 KarmicVisions 2012-01-25 19:36

So upgrading from 1.7 to 2.5 will be similar to 1.5 to 1.6? So does that mean that we'll be dealing with template and extension issue all over again? So we'll need instructions for going from 1.5 to 2.5 and 1.7 to 2.5?

Thanks,
Darlene
 
 
Nick
#42 Nick 2012-01-25 19:58

Hi Darlene,

No, upgrading from 1.7.3 to 2.5.0 will be similar to upgrading from 1.7.2 to 1.7.3. Take a look at the following announcement:
ostraining.com/.../...

Kind regards,
Nick
 

Add comment


Security code
Refresh

blog-ad

Start Online Training

Members get access to all our video training. That's 1,141 training sessions in Joomla, Drupal, WordPress and Coding.

Manage All Your Joomla Sites

adminicredible

With Admincredible you can update and manage all your Joomla sites. If you have 5 or 500 sites, Admincredible will make your life easier! Visit Admincredible.com.

Latest Comments

The License for Our Tutorials

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:

  • You can re-use these tutorials.
  • You can modify these tutorials.
  • You must link back to our original tutorial.
  • You can't use these tutorials commercially.

Click here to read the full license.

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.