Author Topic: Can't update 2.0.18a > 2.0.22  (Read 14248 times)

BjornOnPole

  • Beginner
  • *
  • Posts: 45
Can't update 2.0.18a > 2.0.22
« on: July 10, 2013, 07:00:35 am »
Hello,

I am trying to update my Virtuemart, version 2.0.18a.
Whenever I use the VM Live Update, I get this error:

"Kan het archiefbestand niet openen
Uitpakken van het pakket mislukt. Probeer de extensie handmatig bij te werken."

Which means that it cannot extract the archive, please try updating manually.

However, when I update manually, I get this error:

"Invalid Token, in store config"

Anyone know what's causing this? And more importantly: How to fix this?

Thanks in advance!

jenkinhill

  • Global Moderator
  • Super Hero
  • *
  • Posts: 19835
  • UK based web developer & consultant.
    • Jenkin Hill Internet
Re: Can't update 2.0.18a > 2.0.22
« Reply #1 on: July 10, 2013, 10:48:24 am »
Live update does not work on some shared servers so best to always use Joomla's extensions manager.

For the token issue, do not set an Akeeba restore point before updating - that is the most likely cause of the message.
Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

VM Versions before 2.0.22c are insecure. Click for info.

Currently using VM2.6 on Joomla 2.5.19 PHP 5.4.21

BjornOnPole

  • Beginner
  • *
  • Posts: 45
Re: Can't update 2.0.18a > 2.0.22
« Reply #2 on: July 11, 2013, 02:19:29 am »
Thanks for your reply, that was it!

I should note the new update has a bug, when a menu item is pointed at VirtueMart Show Categories, it displayed the error Category id 0 not published.

I fixed it by removing this code:

if(!$category->published){
      vmInfo('COM_VIRTUEMART_CAT_NOT_PUBL',$category->category_name,$categoryId);
return false;
}

From components/com_virtuemart/views/categories/view.html.php

jenkinhill

  • Global Moderator
  • Super Hero
  • *
  • Posts: 19835
  • UK based web developer & consultant.
    • Jenkin Hill Internet
Re: Can't update 2.0.18a > 2.0.22
« Reply #3 on: July 11, 2013, 02:36:27 am »
Yes, that is one that got though and already known.
Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

VM Versions before 2.0.22c are insecure. Click for info.

Currently using VM2.6 on Joomla 2.5.19 PHP 5.4.21

reggaebkk

  • Beginner
  • *
  • Posts: 7
  • Website Designer in Cambodia
    • Khmer-Dev, Web Design in Cambodia
  • VirtueMart Version: V2
Re: Can't update 2.0.18a > 2.0.22
« Reply #4 on: July 18, 2013, 06:37:58 am »
Hi,
I'm trying to update and have the same invalid token problem:
Installed version 2.0.20b
update to Latest version 2.0.22a

I would like to disable restore points, but can't find anywhere to do so. I think I have looked every single possibility and really can't find out how to disable that.

Or did I?

By the way,
- I am on a dedicated server (but there are other of my sites on it)
- the virtuemart aio update worked fine (main component update was already not working before I updated the aio)
- and there's something I don't understand either: Joomla extension manager doesn't notice that there's a new Virtuemart version available.

I hope that there's not something obvious that i overlooked before I posted this though... but I really looked everywhere for well over an hour, even tried to find how to disable this restore points in database tables and various config files...

jenkinhill

  • Global Moderator
  • Super Hero
  • *
  • Posts: 19835
  • UK based web developer & consultant.
    • Jenkin Hill Internet
Re: Can't update 2.0.18a > 2.0.22
« Reply #5 on: July 18, 2013, 07:44:44 am »
Disable restore points in the Akeeba Backup component.
Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

VM Versions before 2.0.22c are insecure. Click for info.

Currently using VM2.6 on Joomla 2.5.19 PHP 5.4.21

reggaebkk

  • Beginner
  • *
  • Posts: 7
  • Website Designer in Cambodia
    • Khmer-Dev, Web Design in Cambodia
  • VirtueMart Version: V2
Re: Can't update 2.0.18a > 2.0.22
« Reply #6 on: July 18, 2013, 08:10:14 am »
sorry but I don't have an Akeeba backup component.
Should I install that?
Because auto-update was performed in the past and I never had to install that. 

open-minds

  • Beginner
  • *
  • Posts: 13
Re: Can't update 2.0.18a > 2.0.22
« Reply #7 on: July 18, 2013, 08:23:16 am »
Hi,

I try to update from 2.0.20b to 2.0.22a and I have the same problem. Akeeba Backup component is not installed.

Thank you.

franzpeter

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 396
    • 2in1-online | Software, Mac, PC, Netzwerk, Drucker, Pad, Display
  • VirtueMart Version: Virtuemart 2.0.26d
Re: Can't update 2.0.18a > 2.0.22
« Reply #8 on: July 18, 2013, 11:38:58 am »
Did you download the com_virtuemart.2.0.22a_extract_first.targz.zip or the com_virtuemart.2.0.22a_extract_first.zip? My server does not like very much targz files, so you may give a try to the com_virtuemart.2.0.22a_extract_first.zip instead.

open-minds

  • Beginner
  • *
  • Posts: 13
Re: Can't update 2.0.18a > 2.0.22
« Reply #9 on: July 18, 2013, 13:09:25 pm »
I'm using the live update that worked like a charm until now.

jenkinhill

  • Global Moderator
  • Super Hero
  • *
  • Posts: 19835
  • UK based web developer & consultant.
    • Jenkin Hill Internet
Re: Can't update 2.0.18a > 2.0.22
« Reply #10 on: July 18, 2013, 15:42:15 pm »
@open-minds the Akeeba updater cannot handle the latest update, so use Joomla's extensions installer.
Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

VM Versions before 2.0.22c are insecure. Click for info.

Currently using VM2.6 on Joomla 2.5.19 PHP 5.4.21

reggaebkk

  • Beginner
  • *
  • Posts: 7
  • Website Designer in Cambodia
    • Khmer-Dev, Web Design in Cambodia
  • VirtueMart Version: V2
Re: Can't update 2.0.18a > 2.0.22
« Reply #11 on: July 19, 2013, 04:22:43 am »
Hi,
Thanks for the help.
You mean to upload in install right? because Joomla can't see that there's a new update available for Virtuemart.
For me it's ok to upload and install, I just know that for some extensions, if I use the update function each time then it's good, but if only once I do it manually, then there's no automatic update possible anymore in the future, this is why I have avoided to simply do it manually so far and have tried to stick to the live update.

jenkinhill

  • Global Moderator
  • Super Hero
  • *
  • Posts: 19835
  • UK based web developer & consultant.
    • Jenkin Hill Internet
Re: Can't update 2.0.18a > 2.0.22
« Reply #12 on: July 19, 2013, 05:10:07 am »
Just use Joomla's extentions manager in the same way as when you install a new component etc. Install the main VM component first immediately followed by the aio component. Existing content does not get deleted.
Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

VM Versions before 2.0.22c are insecure. Click for info.

Currently using VM2.6 on Joomla 2.5.19 PHP 5.4.21

open-minds

  • Beginner
  • *
  • Posts: 13
Re: Can't update 2.0.18a > 2.0.22
« Reply #13 on: July 20, 2013, 11:07:12 am »
I just made the test on a development website and it seems to work. I manually upgraded the main VM component and then made a live upgrade for the AIO VM component since this one seems to work. Is this procedure valid or do I need to also upgrade manually the AIO VM component?

Thank you.

jenkinhill

  • Global Moderator
  • Super Hero
  • *
  • Posts: 19835
  • UK based web developer & consultant.
    • Jenkin Hill Internet
Re: Can't update 2.0.18a > 2.0.22
« Reply #14 on: July 20, 2013, 11:48:27 am »
No that should be OK.
Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

VM Versions before 2.0.22c are insecure. Click for info.

Currently using VM2.6 on Joomla 2.5.19 PHP 5.4.21

VirtueMart Forum

Re: Can't update 2.0.18a > 2.0.22
« Reply #14 on: July 20, 2013, 11:48:27 am »