Practical guide to automated upgrade J 1.7 to Joomla 2.5

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

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.
Locked
Tenni
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Thu Jan 26, 2012 1:01 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by Tenni » Thu Jan 26, 2012 1:27 pm

There is an excellent step-by-step guide with screenshots in German:
http://software-lupe.de/sl-tutorials/42 ... n-tutorial

It describes 4 update options:
  • automated update using extensions manager (requires PHP allow_url_fopen = 1)
  • package upload and "install" function of the extensions manager
  • ftp package upload and "install from directory" function of the extensions manager
  • ftp files into joomla directory
It further describes the "database fix" and "discover" steps as well as adding the German language packages.
And it addresses some issues that you might be left with (like missing version info in the footer).

Unfortunately I do not have the time to translate it just now.
If you understand some German, you may find your way through.
If no english version turns up until the weekend I will contact the original Author (Lintzy in the German joomlaportal.de Forum - all credits have to go to her!) and try to work something out.

Cheers!

S320
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jan 26, 2012 1:08 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by S320 » Thu Jan 26, 2012 1:45 pm

Hi Tenni,

Thanks for the reply. I checked the "allow_url_fopen" and it is on so I dont know why the upgrade isnt working. I know there are other ways of upgrading but this was supposed to be easy and only a couple of clicks. Instead I've to find the upgrade files, ftp them up, etc etc. So it's still not straight forward!

I shall struggle on ;)

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by leolam » Thu Jan 26, 2012 2:12 pm

Copy failed can be due to several causes. Most often overseen but 2 issues play a role if permissions are correct (folders=755 and files=644) and /tmp and /logs are present in the file system and writable:
1) you are running out of disk capacity (check)
2) execution time exceeded (check your PHP-settings)

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
princessfiona_2
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Tue Feb 19, 2008 9:55 am

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by princessfiona_2 » Thu Jan 26, 2012 2:48 pm

I just increased the disc quota and the upgrade worked. Thanks Leo :)

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by leolam » Thu Jan 26, 2012 2:56 pm

PF what is stated as the owner of the files and folders? (check with ftp). If they are owned by "Nobody" than it is a permission issue and you need to enable/or disable depending on setting the ftp-layer since Apache owned files wont allow the upgrade through the updater. What are the permissions of files and folders?

Leo
Last edited by leolam on Thu Jan 26, 2012 3:01 pm, edited 1 time in total.
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
princessfiona_2
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Tue Feb 19, 2008 9:55 am

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by princessfiona_2 » Thu Jan 26, 2012 3:01 pm

Hi Leo et al

I still seem to be having problems.

The Database message seems to be OK:
database.jpg
But the icons on the control panel in the backend are one on top of the other:
backend.jpg
Can anyone tell me what's going on (I got this result on two sites which I upgraded with two different methods - one via the backend and the other via ftp).

PF :(
You do not have the required permissions to view the files attached to this post.

User avatar
princessfiona_2
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Tue Feb 19, 2008 9:55 am

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by princessfiona_2 » Thu Jan 26, 2012 3:07 pm

PF what is stated as the owner of the files and folders? (check with ftp). If they are owned by "Nobody" than it is a permission issue and you need to enable/or disable depending on setting the ftp-layer since Apache owned files wont allow the upgrade through the updater. What are the permissions of files and folders?
I'm sorry to be such a newb Leo - but how can I tell who owns the folders? I'm looking at the info for one of the files now via ftp - here is what I see:
folder.jpg
PF :'(
You do not have the required permissions to view the files attached to this post.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by leolam » Thu Jan 26, 2012 3:08 pm

princessfiona_2 wrote: But the icons on the control panel in the backend are one on top of the other:
In my sticky on the top the answer is given....

Clear completely and completely(!) your BROWSER cache and reload!

than the issue is resolved (see also http://docs.joomla.org/Control_Panel_Br ... g_to_2.5.0)

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by leolam » Thu Jan 26, 2012 3:09 pm

PF: You have no more issues. your upgrade is ok and if your clear the browser your icons are back to normal
OLEEE

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

Roar
Joomla! Ace
Joomla! Ace
Posts: 1321
Joined: Fri Sep 14, 2007 8:11 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by Roar » Thu Jan 26, 2012 3:11 pm

princessfiona_2 wrote: But the icons on the control panel in the backend are one on top of the other:
:(
Read the first post in this topic:
When your admin icons show vertical after the upgrade please do a full Purge Cache in your system panel, followed by a FULL cleansing of your browser cache. That will resolve the chaos in your admin panel layout.

Gistapulous
Joomla! Intern
Joomla! Intern
Posts: 56
Joined: Tue Mar 29, 2011 3:49 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by Gistapulous » Thu Jan 26, 2012 3:26 pm

So I ran into problems using the automated installer, ran through every option in the OP on a bunch of my test sites, kept getting a server error.

I used the update link from Joomla.org and installed from URL instead of the automated installer and that did the trick: http://joomlacode.org/gf/download/frsre ... ackage.zip

User avatar
princessfiona_2
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Tue Feb 19, 2008 9:55 am

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by princessfiona_2 » Thu Jan 26, 2012 3:27 pm

Thanks SO much Leo and Roar. It's as good as gold now. All the best! PF :pop

S320
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jan 26, 2012 1:08 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by S320 » Thu Jan 26, 2012 3:32 pm

princessfiona_2 wrote:I just increased the disc quota and the upgrade worked. Thanks Leo :)
Can you tell me how to change the disc quota please and what you changed it to? Since we have the same error I want to follow your method :)

Thank you.

User avatar
princessfiona_2
Joomla! Apprentice
Joomla! Apprentice
Posts: 36
Joined: Tue Feb 19, 2008 9:55 am

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by princessfiona_2 » Thu Jan 26, 2012 3:44 pm

S320 wrote:
princessfiona_2 wrote:I just increased the disc quota and the upgrade worked. Thanks Leo :)
Can you tell me how to change the disc quota please and what you changed it to? Since we have the same error I want to follow your method :)

Thank you.
You have to do this through your web host.

Best wishes

PF :pop

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by leolam » Thu Jan 26, 2012 3:54 pm

check first how much space free you have!

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
chukar
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Fri Dec 29, 2006 9:53 pm
Contact:

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by chukar » Thu Jan 26, 2012 4:41 pm

Sweet!!! Thanks very much.

Jussef
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jan 26, 2012 11:00 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by Jussef » Thu Jan 26, 2012 11:25 pm

I tried the Auto-Update first to update from 1.7.3 but ran into the already mentioned error:
-1 - An error has occurred.
Copy failed

Return to Control Panel

Then I tried the "Upload Package Method", but failed again with same error.

I uploaded my backup via FTP and set all permissions (files and folders) to 755.

Then I tried the Auto-Update again and got the already mentioned Error 500.

But encoraged by Leo's great initial post I logged in to the back end and did the Database fix and Discover stuff and it all worked.

The back and front end works, the Site -> System Info tab shows "Joomla! 2.5.0 Stable [ Ember ] 24-Jan-2012 14:00 GMT" so I think it worked, although I got this "Error 500"-message.

Or am I wrong? Or how can I make shure the update worked completly?

Best, Josef.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by leolam » Fri Jan 27, 2012 2:22 am

Josef if the message under the database Tab shows the output as shown in the "sticky" on top your upgrade has been completed!

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

Jussef
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jan 26, 2012 11:00 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by Jussef » Fri Jan 27, 2012 8:23 am

Then all works fine on my server!

Thanks Leo for your answer and all other efforts.

Josef

User avatar
ozneilau
Joomla! Guru
Joomla! Guru
Posts: 856
Joined: Tue Aug 04, 2009 9:05 am
Location: Tasmania, Australia
Contact:

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by ozneilau » Fri Jan 27, 2012 9:50 am

I followed the instructions in this sticky but the first two 1.7.4 to 2.5 updates I did both failed with:

Code: Select all

JInstaller: :Install: Error SQL DB function failed with error number 1060
Duplicate column name 'ordering' SQL=ALTER TABLE `jos_languages` ADD COLUMN `ordering` int(11) NOT NULL default 0 AFTER `published`;
SQL =

ALTER TABLE `#__languages` ADD COLUMN `ordering` int(11) NOT NULL default 0 AFTER `published`;

Files Update: SQL error file DB function failed with error number 1060
Duplicate column name 'ordering' SQL=ALTER TABLE `jos_languages` ADD COLUMN `ordering` int(11) NOT NULL default 0 AFTER `published`;
SQL =

ALTER TABLE `#__languages` ADD COLUMN `ordering` int(11) NOT NULL default 0 AFTER `published`;
Purging, fixing and retrying didn't help.

I have Akeeba Admin Tools 2.2.a3 installed on the websites. Yesterday they would only offer an update to Joomla 1.7.4 but today they offered the 1.7.4 to 2.5 update so I gave it a try and the update worked flawlessly.

Nicholas this is for you -> *SMOOCH*!

I hope this helps others.

Neil.

spalocsay
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Thu Jun 04, 2009 4:15 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by spalocsay » Fri Jan 27, 2012 7:48 pm

I followed your instructions.
Clicked on "Update" button and received a Fatal Error:

Fatal error: Allowed memory size of 18874368 bytes exhausted (tried to allocate 7959967 bytes) in /hermes/web06/b2688/moo.nakomallccom/libraries/joomla/filesystem/file.php on line 359

so i went back to previous screen and - No Database Tab.

What do i do now?!

libia19612
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Sat Jan 28, 2012 4:57 am

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by libia19612 » Sat Jan 28, 2012 6:14 am

I wanted to state that the directions provided are excellent.

I experiences every single error, but followed the instructions given down to clearing all (3) cache and added the footer. No issues currently... No duplicate articles... or issues installing what was found by discover.

Thank you. :pop

tgafanoe
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Jan 25, 2012 9:31 am

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by tgafanoe » Sat Jan 28, 2012 8:01 am

Hi Leo,

Thanks for your very detailed upgrade guide, but unfortunately I dont have the database tab, my screen looks like this (attached). So is there another way around correcting the database errors. Many thanks in advance for your help,

Best regards,

Torben
You do not have the required permissions to view the files attached to this post.

Roar
Joomla! Ace
Joomla! Ace
Posts: 1321
Joined: Fri Sep 14, 2007 8:11 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by Roar » Sat Jan 28, 2012 12:34 pm

You have to update your language to 2.5 also, danish I assume

Kompas
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Thu Jul 30, 2009 2:23 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by Kompas » Sat Jan 28, 2012 2:52 pm

KiffCom wrote:Good job guys, but I still have few little issues;

- I have a loop when I change options like in the article manager options or menu options. It applies but I have to manually go to the administrator page.
Any idea ?

Thanks
I think you refer to this problem: when you click the options icon in article manager and the params page does NOT open up in a pop up but in the 'article manager page' itself, then the page hangs whenever you try to save or quit.

After trying all the suggestions mentioned elsewhere, this problem persisted on one site, and while I suspect it was still a 'stubborn resisting cache' problem, it was suddenly solved after switching to another front end and admin template and then going back. Good luck.

Kompas

Boba Fett
Joomla! Intern
Joomla! Intern
Posts: 59
Joined: Sun May 17, 2009 6:01 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by Boba Fett » Sun Jan 29, 2012 11:54 am

KiffCom wrote:Good job guys, but I still have few little issues;

I did the upgrade 1.7.4 -­> 2.5 / Godaddy
I had to fix my database
so far so good
but;

- I have a loop when I change options like in the article manager options or menu options. It applies but I have to manually go to the administrator page.
- Joomla keeps on appearing in the Joomla updates
- I can't install any other update or discover with the extension manager since the system tells me; "Please first make a selection from the list" while it is selected...

Any idea ?

Thanks
I am having the same issue as well. Also if you try and sort articles or categories nothing happens either, the page stands still but puts a "#" at the end of the browser link.

Any ideas?

ngb11
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Nov 14, 2011 3:44 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by ngb11 » Sun Jan 29, 2012 12:05 pm

Hi Leolam
Followed your instructions for upgrading 1.7 to 2.5, but unable to access database because the upload is giving me this message
JInstaller: :Install: Cannot find XML setup file
Update path does not exist
JInstaller: :Install: Cannot find XML setup file
Unable to detect manifest file

Updating COM_INSTALLER_TYPE_TYPE_ was successful.
Can you please help!

miket3
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Sat Dec 04, 2010 9:53 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by miket3 » Sun Jan 29, 2012 3:33 pm

Thanks again for the reply. However this issue shows on fresh and upgraded sites.

And as far as search goes.... i actually did find it at the bottom of the screen only after this post.. The only time i see it at the top is after i am knee deep on the initial search.

ngb11
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Nov 14, 2011 3:44 pm

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by ngb11 » Sun Jan 29, 2012 4:05 pm

Hi Leolam
Solved my jooml upgrade 1.7 to 2.5 by installing Akeeba Admin Tools (recommended in some of the Forum messages) who offer an upgrade facility that works exceptionaly well and does not appear to create any problems, my site appears to work okay.
This is the non-commercial version of Akeeba Admin Tools

Many thanks

libia19612
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Sat Jan 28, 2012 4:57 am

Re: Practical guide to automated upgrade J 1.7 to Joomla 2.5

Post by libia19612 » Mon Jan 30, 2012 8:01 am

Sorry, I thought I had it, but another site is giving me fits. Experiencing the same problems as everyone else. I used the adminFix plugin and it locked up everything. I have articles that are not deleting, they show in the smart search but not in article manager.


Locked

Return to “Migrating and Upgrading to Joomla! 2.5”