Why didn't this mistake break my update?

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
budfox100
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Mon May 19, 2008 7:28 pm

Why didn't this mistake break my update?

Post by budfox100 » Sat Jun 21, 2014 4:21 pm

Hi all.

I just made a silly mistake, and used a full package rather than an upgrade package to update from 2.5.16 to 2.5.22 - I'd have assumed that this would wipe a lot of main files and really mess up things, taking the site back to a pre-install status. However, it seems to have worked fine.

I don't like to just assume that everything is OK though, so could someone let me know why this worked, or if I should restore a backup and do the upgrade properly.

Thanks
Steve

User avatar
wwtn
Joomla! Guru
Joomla! Guru
Posts: 714
Joined: Sun Oct 30, 2005 3:05 pm
Location: USA
Contact:

Re: Why didn't this mistake break my update?

Post by wwtn » Sat Jun 21, 2014 4:38 pm

Steve,

As long as you did not have any Joomla core files edited or modified in your v2.5.16 installation, there shouldn't be any negative consequences installing the full v2.5.22 over it. Just copying the core files, whether or not you use the full or updated version, does not alter or edit the actual database tables. That's assuming that you did not actually perform an actual full on re-installation of the entire Joomla system.

But if you did have any files or scripts that you made changes to in the previous Joomla v2.5.16 installation then, yes... Not ideal that you applied the full version versus the update version of Joomla when you upgraded your website. Any core files that were previously edited or modified by you manually, have likely been overwritten by the newer version files.

I'm curious as to why you apparently didn't (or possibly couldn't) use the internal upgrade option available within the Joomla administrator back end interface. That's the easiest way to apply an upgrade to a newer version of either a Joomla v2.5 or v3.x installation.

Jim
Worldwide TeleNet - Joomla! Website Design & Web Development
Cincinnati - Northern Kentucky - USA
https://www.facebook.com/wwtndesign
http://www.wwtelenet.com/about-us/why-choose-us.html

budfox100
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Mon May 19, 2008 7:28 pm

Re: Why didn't this mistake break my update?

Post by budfox100 » Sat Jun 21, 2014 4:52 pm

Hi Jim, and thanks for taking the time to reply.

I never modify core files, so no worries there. Here's the full story:

I'm looking after three sites, all similar but in three different languages. I used the standard method to update two of them, but they both seemed to stick at the stage after the upload where the files were being unpacked. (I waited a LONG time). Of course I was uploading the full package rather than the upgrade version.

I then logged out and in again to see that 2.5.16 was still being reported, so I assumed that things had failed. I then just did an FTP of the extracted package to the third site, over-writing what I thought would be just some of the files (the way I've upgraded a few times in the past). Once that was done I looked at admin and was greeted by the install screen. Not surprising really... after all, I had effectively wiped the original files.

So then I looked at the first two sites, and they were both reporting 2.5.22 (having closed the browser and restarted). This surprised me because having just wiped a site with the same files via FTP, I couldn't imagine that making the same mistake via the installer would be any less disastrous. However, they do seem fine.

I've always had mixed fortunes with the installer for Joomla updates, and I normally resort to FTP. My Joomla 3.x sites update without issue though.

So all in all a bit weird, but maybe you can explain things...

Thanks
Steve

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

Re: Why didn't this mistake break my update?

Post by leolam » Sat Jun 21, 2014 5:09 pm

When you have accidentally have overwritten the files with the full package the only thing you should need to do is remove the "installation-folder" and you are good to go.

So next time go to Joomlacode.org and download in this specific case "Joomla_2.5.22-Stable-Update_Package.zip" That file (is always the biggest one in the file system) is a full package without the "installation-Folder"

You can do this way easier btw and use the Joomla automated upgrade or use the "install from url" and paste the link (in this case http://joomlacode.org/gf/download/frsre ... ackage.zip) in the box and hit "install" Your Joomla installation will than download the package and install it

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

budfox100
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Mon May 19, 2008 7:28 pm

Re: Why didn't this mistake break my update?

Post by budfox100 » Sat Jun 21, 2014 5:33 pm

Thanks for all the help. I shall remove that folder in a moment.

Kind regards
Steve

User avatar
wwtn
Joomla! Guru
Joomla! Guru
Posts: 714
Joined: Sun Oct 30, 2005 3:05 pm
Location: USA
Contact:

Re: Why didn't this mistake break my update?

Post by wwtn » Sat Jun 21, 2014 7:09 pm

Steve,

Leo is 100% correct. Since you FTP'd up the full installation, the "installation" dir would be put up as well. That's a "no-no" to leave online and during a normal fresh install of Joomla, you're alerted to that fact and asked to delete that dir.

As for problems related to installs or upgrades "stalling", that likely is related to memory and/or resource usage limits that are set too low or restrictive by the web host. It could also be related to the particular web browser you're using. Try a different browser and if you're still having incomplete install issues, inquire with your web host about raising memory and/or resource usage limits.

Just remember to use Joomla update/upgrade packages and not the full install package when upgrading your installations. Those update/upgrade zip files are much smaller and lighter filesize wise, so that may eliminate any "stalled" attempted upgrades when using the Joomla backend installer.

Jim
Worldwide TeleNet - Joomla! Website Design & Web Development
Cincinnati - Northern Kentucky - USA
https://www.facebook.com/wwtndesign
http://www.wwtelenet.com/about-us/why-choose-us.html

budfox100
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 119
Joined: Mon May 19, 2008 7:28 pm

Re: Why didn't this mistake break my update?

Post by budfox100 » Sat Jun 21, 2014 7:45 pm

Thanks Jim.

I did know about the installation directory, but my reaction to seeing the install screen was that I'd over-written all sorts of files. Of course, the config files don't get changed, and nor does the custom template, and nor does the database. If I'd thought a bit longer I'd have realised.

Won't make the same mistake again, and in fairness to me I've been updating sites since 2008 and this is the first time I've made such a schoolboy error.

Kind regards
Steve

User avatar
wwtn
Joomla! Guru
Joomla! Guru
Posts: 714
Joined: Sun Oct 30, 2005 3:05 pm
Location: USA
Contact:

Re: Why didn't this mistake break my update?

Post by wwtn » Sat Jun 21, 2014 8:05 pm

Steve,

No worries. No matter how "bright" we may think we are, all of us have moments when the "lights go out". Just glad your sites are fine, that's the main thing.

Jim
Worldwide TeleNet - Joomla! Website Design & Web Development
Cincinnati - Northern Kentucky - USA
https://www.facebook.com/wwtndesign
http://www.wwtelenet.com/about-us/why-choose-us.html


Locked

Return to “Installation Joomla! 2.5”