Page 2 of 9

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

Posted: Thu Jan 26, 2012 1:27 pm
by Tenni
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!

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

Posted: Thu Jan 26, 2012 1:45 pm
by S320
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 ;)

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

Posted: Thu Jan 26, 2012 2:12 pm
by leolam
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)

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

Posted: Thu Jan 26, 2012 2:48 pm
by princessfiona_2
I just increased the disc quota and the upgrade worked. Thanks Leo :)

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

Posted: Thu Jan 26, 2012 2:56 pm
by leolam
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

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

Posted: Thu Jan 26, 2012 3:01 pm
by princessfiona_2
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 :(

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

Posted: Thu Jan 26, 2012 3:07 pm
by princessfiona_2
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 :'(

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

Posted: Thu Jan 26, 2012 3:08 pm
by leolam
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)

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

Posted: Thu Jan 26, 2012 3:09 pm
by leolam
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)

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

Posted: Thu Jan 26, 2012 3:11 pm
by Roar
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.

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

Posted: Thu Jan 26, 2012 3:26 pm
by Gistapulous
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

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

Posted: Thu Jan 26, 2012 3:27 pm
by princessfiona_2
Thanks SO much Leo and Roar. It's as good as gold now. All the best! PF :pop

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

Posted: Thu Jan 26, 2012 3:32 pm
by S320
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.

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

Posted: Thu Jan 26, 2012 3:44 pm
by princessfiona_2
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

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

Posted: Thu Jan 26, 2012 3:54 pm
by leolam
check first how much space free you have!

Leo 8)

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

Posted: Thu Jan 26, 2012 4:41 pm
by chukar
Sweet!!! Thanks very much.

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

Posted: Thu Jan 26, 2012 11:25 pm
by Jussef
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.

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

Posted: Fri Jan 27, 2012 2:22 am
by leolam
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)

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

Posted: Fri Jan 27, 2012 8:23 am
by Jussef
Then all works fine on my server!

Thanks Leo for your answer and all other efforts.

Josef

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

Posted: Fri Jan 27, 2012 9:50 am
by ozneilau
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.

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

Posted: Fri Jan 27, 2012 7:48 pm
by spalocsay
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?!

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

Posted: Sat Jan 28, 2012 6:14 am
by libia19612
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

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

Posted: Sat Jan 28, 2012 8:01 am
by tgafanoe
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

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

Posted: Sat Jan 28, 2012 12:34 pm
by Roar
You have to update your language to 2.5 also, danish I assume

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

Posted: Sat Jan 28, 2012 2:52 pm
by Kompas
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

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

Posted: Sun Jan 29, 2012 11:54 am
by Boba Fett
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?

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

Posted: Sun Jan 29, 2012 12:05 pm
by ngb11
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!

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

Posted: Sun Jan 29, 2012 3:33 pm
by miket3
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.

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

Posted: Sun Jan 29, 2012 4:05 pm
by ngb11
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

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

Posted: Mon Jan 30, 2012 8:01 am
by libia19612
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.