VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: BjornOnPole on July 10, 2013, 15:00:35 PM

Title: Can't update 2.0.18a > 2.0.22
Post by: BjornOnPole on July 10, 2013, 15:00:35 PM
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!
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: jenkinhill on July 10, 2013, 18:48:24 PM
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.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: BjornOnPole on July 11, 2013, 10: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
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: jenkinhill on July 11, 2013, 10:36:27 AM
Yes, that is one that got though and already known.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: reggaebkk on July 18, 2013, 14:37:58 PM
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...
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: jenkinhill on July 18, 2013, 15:44:44 PM
Disable restore points in the Akeeba Backup component.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: reggaebkk on July 18, 2013, 16:10:14 PM
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. 
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: open-minds on July 18, 2013, 16:23:16 PM
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.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: franzpeter on July 18, 2013, 19:38:58 PM
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.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: open-minds on July 18, 2013, 21:09:25 PM
I'm using the live update that worked like a charm until now.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: jenkinhill on July 18, 2013, 23:42:15 PM
@open-minds the Akeeba updater cannot handle the latest update, so use Joomla's extensions installer.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: reggaebkk on July 19, 2013, 12:22:43 PM
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.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: jenkinhill on July 19, 2013, 13:10:07 PM
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.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: open-minds on July 20, 2013, 19:07:12 PM
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.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: jenkinhill on July 20, 2013, 19:48:27 PM
No that should be OK.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: cssgyula on August 22, 2013, 15:58:43 PM
Hi,

I have been able to install the update via Joomla Extension manager, but at the end of the procedure there was a warning "There was an error while creating admin menupoints". Now I can only reach VirtueMart Admin from direct URL, but has disappeared from the admin menu. How can I solve this issue ASAP?

Thank you for your support in advance,

Regards,

Jules
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: Maxim Pishnyak on August 22, 2013, 18:06:12 PM
What 3rd party extensions do you have?
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: yosandra on September 03, 2013, 11:29:54 AM
Hello,
When update some language files, get modified. Is there anything we can do to prevent this?

Kind Regards,
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: jenkinhill on September 03, 2013, 12:05:18 PM
There are currently some changes in the way that language files are managed, but if you have created your own language strings and used them as language overrides in Joomla then they will not get changed on updating.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: Agaton on September 25, 2013, 12:16:29 PM
Quote from: reggaebkk on July 18, 2013, 14:37:58 PM
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...

Did you solve this problem or does it still exist? I have a similar issue and don't use Akeeba Backup either.
Title: Re: Can't update 2.0.18a > 2.0.22
Post by: dennis.g on October 07, 2013, 18:26:57 PM
Hey guys I wanted to contribute on this post. I did have this problem and I found a solution!

In the site with the problem there was no Akeeba backup, but there was the "All in one" extension. So what I did is opened the component "virtuemart-aio" which stands for All In One and did the update from there. That did the job.