VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: gripped on May 10, 2014, 20:22:13 PM

Title: [Solved]After upgrade to 2.6.0a showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: gripped on May 10, 2014, 20:22:13 PM
I updated using the live update button and also the aio component

I wasn't sure about the Live update part as no success message was given and there was still a button  "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"

So I updated again using the Joomla extension manager.
But it still shows "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"

I have checked and the files have been updated.
From administrator/components/com_virtuemart/version.php
class vmVersion {
/** @var string Product */
static $PRODUCT = 'VirtueMart';
/** @var int Release Number */
static $RELEASE = '2.6.0a';
/** @var string Development Status */
static $DEV_STATUS = 'MINOR';
/** @var string Codename */
static $CODENAME = 'PowerFox';
/** @var string Date */
static $RELDATE = 'May 08 2014';
/** @var string Time */
static $RELTIME = '1252';
/** @var string Timezone */
static $RELTZ = 'GMT';
/** @var string Revision */
static $REVISION = 'Revision: 7895';
/** @var string Copyright Text */
static $COPYRIGHT = 'Copyright (C) 2005-2012 VirtueMart Development Team  - All rights reserved.';
/** @var string URL */
static $URL = '<a href="http://virtuemart.net">VirtueMart</a> is a Free Component for Joomla! released under the GNU/GPL2 License.';
}


So why does the updater think I'm still on 2.6.0 ?

On a side note the Virtuemart 2 All in one Installer – Live Update screen now shows
"COM_VIRTUEMART_UPDATE_VMPLUGINTABLES" instead of "Update VM plugin tables"
Title: Re: After upgrade to 2.6.0a still showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: jenkinhill on May 10, 2014, 20:34:22 PM
Do not use the live updater as it does not always work. Update using Joomla's extensions installer.

For the version message see http://forum.virtuemart.net/index.php?topic=120374.msg410089#msg410089
Title: Re: After upgrade to 2.6.0a still showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: gripped on May 10, 2014, 20:56:52 PM
OK. If it doesn't always work then maybe it should be removed and just tell people to download and install the update ?

I had already tried the steps suggested in the linked post. And tried rebooting the server.
It still shows "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"

Although it should probably say "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a. MIGHT NOT WORK"  ;)

Where does the updater get the version from? I'll change it manually.

Thanks for your reply. :)
Title: Re: After upgrade to 2.6.0a still showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: GJC Web Design on May 10, 2014, 21:16:01 PM
Personally I would just install again from the joomla installer - at least then you know it really has updated - and it can't do any harm...
Title: Re: After upgrade to 2.6.0a still showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: gripped on May 10, 2014, 23:01:23 PM
From my first post
QuoteSo I updated again using the Joomla extension manager.
Live update still thinks I'm on 2.6.0.

I've checked lots of files, they are all updated. The site works fine AFAICT.
Title: Re: [Solved]After upgrade to 2.6.0a showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: gripped on May 12, 2014, 12:48:57 PM
OK I was wrong.

I hadn't used Joomla extention installer, I just thought I had.
I have Akeeba Backup Professional installed.
I knew it took backups automatically when upgrading components but it seems that it actually replaces the Joomla installer entirely.
Once I disabled the "System restore" plugin the installation was successful , but with a mysql error (which may be where the Live update and Akeeba installer were falling over). The database error was with the states table which I have changed in content and structure to better display UK counties.

I took a backup before and after and then did a diff. The only file which was different was administrator/components/com_virtuemart/virtuemart.xml. All the other files had been updated by the unfinished upgrades.

I'm just posting this a reference should anyone else have a similar issue.
Title: Re: [Solved]After upgrade to 2.6.0a showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: GJC Web Design on May 12, 2014, 13:13:58 PM
Thanks for the update - all adds to the knowledge base
Title: Re: [Solved]After upgrade to 2.6.0a showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: balai on May 12, 2014, 20:36:45 PM
Just for info Akeeba has stoped supporting the live update. They are doing it through the Joomla update process.
It would be good for VM to adopt this practice as well
Title: Re: [Solved]After upgrade to 2.6.0a showing "UPDATE FOUND! CLICK TO UPDATE. 2.6.0a"
Post by: jenkinhill on May 12, 2014, 23:57:22 PM
This is being looked at right now.