
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 InformationCountless 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.
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! RequirementsPlease, 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: jUpgrade requirements can be found here: Before You Get StartedBefore 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 UpgradeStep 1: Backup, Backup, BackupSkipping 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![]() 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 EnvironmentIf 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![]() Go to your Joomla backend. e.g. www.example.com/administrator Extensions >> Install/Uninstall ![]() Browse >> Select com_jupgrade >> Upload File & Install ![]() Step 5: Migration![]() Components >> jUpgrade ![]() Start Upgrade ![]() Do not exit the screen until everything has finished loading. Scroll down to check if it has finished. ![]() Success!!! Behind the ScenesAs 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.6Please 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:
Backup Joomla 1.6If 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 ProcessQuick overview of what we are going to try to do now:
*****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 LiveNext 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):
Troubleshooting
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. |

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.
All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
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.
Comments
I just replied in the Joomla forum thread. :-)
Kind regards,
Nick
A new jUpgrade version was recently released and we are going to update the documentation (specifically the troubleshooting part) to reflect it.
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!
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
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
The new version of jUpdate should take care of that which should be available soon.
Kind regards,
Nick
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
matware.com.ar/.../...
Kind regards,
Nick
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
Just remove that line of code from the respective files and it should work.
Kind regards,
Nick
It worked like a charm.
One step ahead now.
Kind regards
Ulf
Kind regards,
Nick
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
Are you getting any error messages? If so, can you post the full error? (don't post the debug code though)
Kind regards,
Nick
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
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]
==========
[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
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
Quoting Ulf:
You're welcome. I'm glad to be of help! :)
Kind regards,
Nick
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
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
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
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! :-)
Wonderful! I'm glad you got it sorted! :)
Kind regards,
Nick
Make sure that "Adds Suffix to URL" is set to "Yes" in your Global Configuration's Site tab.
Kind regards,
Nick
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
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?
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
Thanks,
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