VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Yannick on April 20, 2012, 19:20:56 PM

Title: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Yannick on April 20, 2012, 19:20:56 PM
Hello guys,

all your help is needed. As you have probably noticed already, the VM auto-updater does not really reliable.

The problem is very complex because each server and each installation may have different settings. So let's try to help the Virtuemart-team with this thread to find what´s the reason of this crazy issues.

All what you need to do is, if you also have the live-update problems, that you post the following informations of your server settings and your systen in this thread.

I will update the first post of the thread a few times a day, so the Virtuemart-team can take the essential data, without reading the whole post and the discussion.

THANKS FOR ANY HELP!!!!!


These informations are required:
a) Server system
b) PHP-version
c) SQL-version
d) memory_limit
e) max_execution_time
f) Exact Joomla! version
g) Exact Virtuemart version BEFORE update
h) Exact Virtuemart version of the update you want to
i) Displayed error message
j) Any not writable directory Permissions?
k) Optional: Any other info?


Here the first data from our systems as an example:

RICHARD:
a) Apache/2.2.21 (Linux)
b) PHP/5.2.17
c) MySQL-Client-Version: 5.1.39
d) memory_limit = 50M
e) max_execution_time = 90
f) 2.5.4
g) 2.0.2
h) 2.0.6
i) Extracting the update package failed. Please try updating the extension manually.
j) all writeable
k) none

SIMON:
a) Apache/2.2.21 (Linux)
b) PHP/5.2.17
c) MySQL-Client-Version: 5.1.39
d) memory_limit = 50M
e) max_execution_time = 90
f) 2.5.4
g) 2.0.4
h) 2.0.6
i) Unable to decompress data / Extracting the update package failed.
j) all writeable
k) bz2 und zip extension


TOBIAS:
a) Apache/2.0.63 (Unix)
b) PHP/5.3.2 DAV/2
c) 5.1.44
d) memory_limit = 512M
e) max_execution_time = 300
f) 2.5.4
g) 2.0.2
h) 2.0.6
i) Unable to decompress data / Extracting the update package failed. Please try updating the extension manually.
j) all writeable
k) none


Where can you find the data?

Virtuemart Core (2 possibilities to find it)
---> Please go to your Virtuemart dashboard and look at the bottom of the page at the left hand side
---> Please check it in the extension manager (http://www.yoursite.tld/administrator/index.php?option=com_installer&view=manage)

(http://www.yagendoo.com/extern/vm-version.png)



Joomla   (1 possibilities to find it)
---> Go to your Joomla! backend and look at the bottom of the page

(http://www.yagendoo.com/extern/joomla-version.png)



All System-Infos
--> Go to the following URL in your backend and find the data in the 5 tabs:
   http://www.yoursite.tld/administrator/index.php?option=com_admin&view=sysinfo

(http://www.yagendoo.com/extern/server-infos.png)
   
   
But this costs me time!!!
   Yes, you´re right but:
   --> any failed update needs more time ;)
   --> the VM team also spends a lot of time for us
   --> we´re a community, you get VM for free, so please pay with your feedbacks ;)


If you have further suggestions, what I forgot, then please give notice. Thanks!

UPDATE! YOUR INPUTS:

Thanks to simbus82 for your help!
a) Apache/2.2.16 (Debian)
b) 5.3.3-7+squeeze8
c) 5.1.61-0+squeeze1
d) memeory_limit = 512M
e) max_execution_time = 30
f) Joomla 2.5.4
g) 2.0.4
h) 2.0.6
i) Extracting the update package failed
j) All is writable
k) The error for me is simply about the software that you use to compress the pack.


Thanks to iWim for your help!
a) Server system: Apache/2.2.23 CentOS
b) PHP-version: 5.3.10
c) SQL-version: 5.5.20-cll
d) memory_limit: 128M
e) max_execution_time: 30
f) Exact Joomla! version: 2.5.4
g) Exact Virtuemart version BEFORE update: 2.0.4
h) Exact Virtuemart version of the update you want to: 2.0.6
i) Displayed error message: Unable to decompress data   Extracting the update package failed. Please try updating the extension manually
j) Any not writable directory Permissions? all writable
k) Optional: Any other info? Using the extension manager gave me a white screen. Upload through FTP did not change version number.
Message in the error log:

Quote
[Tue Apr 24 12:29:01 2012] [error] [client xxx.xxx.xxx.xxx] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /var/www/vhosts/mysite.com/httpdocs/webshop/libraries/joomla/filesystem/archive/gzip.php on line 75, referer: http://mysite.com/webshop/administrator/index.php?option=com_virtuemart&view=liveupdate

The AIO has the same issues.
Message in the error log after trying to update aio

Quote
[Tue Apr 24 12:39:51 2012] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/vhosts/mysite.com/httpdocs/webshop/administrator/components/com_virtuemart_allinone/liveupdate, referer: http://mysite.com/webshop/administrator/index.php?option=com_virtuemart_allinone
[Tue Apr 24 12:43:08 2012] [error] [client xxx.xxx.xxx.xxx] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /var/www/vhosts/mysite.com/httpdocs/webshop/libraries/joomla/filesystem/archive/gzip.php on line 75, referer: http://mysite.com/webshop/administrator/index.php?option=com_virtuemart_allinone
[Tue Apr 24 12:43:08 2012] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/vhosts/mysite.com/httpdocs/webshop/administrator/components/com_virtuemart_allinone/liveupdate, referer: http://mysite.com/webshop/administrator/index.php?option=com_virtuemart_allinone&view=liveupdate&task=overview

Thanks to nixsnake for your help!
a) Web Server    Apache/2.2.17
b) PHP Version    5.2.17
c) MySQL Client API version   5.0.77
d) memory_limit   64M
e) max_execution_time   60
f) Joomla! 2.5.3
g) Virtuemart version BEFORE update   2.0.2
h) Virtuemart version of the update you want to 2.0.6
i) Extracting the update package failed. Please try updating the extension manually.
)j all writeable


Thanks to Michel78 for your help!
a) Apache 2
b) PHP-version : 5.2.17
c) SQL-version : mysql 5.1.49
d) memory_limit : 90M
e) max_execution_time : 50000
f) Joomla! 1.6.3 Stable
g) Exact Virtuemart version BEFORE update : 2.0.2
h) Exact Virtuemart version of the update you want to : 2.0.6
i) Displayed error message :
        Unable to read archive
        Extracting the update package failed. Please try updating the extension manually.
j) Any not writable directory Permissions? : No


Thanks to Fug-Mann for your help!
a)  apache 2.2.22(ubuntu SMP)
b)  5.3.12-nmm2
c)  5.1.43-nmm4-log
d)  memory_limit = 64M
e)  max_execution_time = 30
f)   2.5.4
g)  2.0.0/2.0.2/2.0.4
h)  2.0.2/2.0.4/2.0.6  today, aio 2.0.6a to 2.0.6
i)   unknown archive typ, unable to extract
j)   all writable
k)  ..... .update.tar.gz in tmp - extraction on a pc not possible

Thanks to clickman for your help!
a) Server system   WampServer Version 2.2
b) PHP-version   / 5.3.8
c) SQL-version   / MySQL Version 5.5.16
d) memory_limit /   where do I get the info?
e) max_execution_time /   where do I get the info? and how to set?
f) Exact Joomla! version /   Joomla! 2.5.4
g) Exact Virtuemart version BEFORE update   / 2.0.0
h) Exact Virtuemart version of the update you want to/ 2.0.6 (2012-04-16)

Thanks Amalia for your help!
a) Apache/2.2.22  (Linux)
b) PHP/5.3.11
c) 5.5.23-log
d) memory limit = 128M
e) max_execution_time = 30
f) 2.5.4
g) 2.0.4
h) 2.0.6
i) Unable to decompress data Extracting the update package failed. Please try updating the extension manually.
j) all writable
k) none
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: simbus82 on April 23, 2012, 12:09:16 PM
Quote from: Yannick on April 20, 2012, 19:20:56 PM

These informations are required:
a) Server system
b) PHP-version
c) SQL-version
d) memory_limit
e) max_execution_time
f) Exact Joomla! version
g) Exact Virtuemart version BEFORE update
h) Exact Virtuemart version of the update you want to
i) Displayed error message
j) Any not writable directory Permissions?
k) Optional: Any other info?


a) Apache/2.2.16 (Debian)
b) 5.3.3-7+squeeze8
c) 5.1.61-0+squeeze1
d) memeory_limit = 512M
e) max_execution_time = 30
f) Joomla 2.5.4
g) 2.0.4
h) 2.0.6
i) Extracting the update package failed
j) All is writable
k) The error for me is simply about the software that you use to compress the pack.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Yannick on April 23, 2012, 17:52:04 PM
Hello simbus82,

thanks for your input, I already updated the first post with your data.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: iWim on April 24, 2012, 12:52:09 PM
a) Server system: Apache/2.2.23 CentOS
b) PHP-version: 5.3.10
c) SQL-version: 5.5.20-cll
d) memory_limit: 128M
e) max_execution_time: 30
f) Exact Joomla! version: 2.5.4
g) Exact Virtuemart version BEFORE update: 2.0.4
h) Exact Virtuemart version of the update you want to: 2.0.6
i) Displayed error message: Unable to decompress data   Extracting the update package failed. Please try updating the extension manually
j) Any not writable directory Permissions? all writable
k) Optional: Any other info? Using the extension manager gave me a white screen. Upload through FTP did not change version number.
Message in the error log:
Quote[Tue Apr 24 12:29:01 2012] [error] [client xxx.xxx.xxx.xxx] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /var/www/vhosts/mysite.com/httpdocs/webshop/libraries/joomla/filesystem/archive/gzip.php on line 75, referer: http://mysite.com/webshop/administrator/index.php?option=com_virtuemart&view=liveupdate

The AIO has the same issues.
Message in the error log after trying to update aio
Quote[Tue Apr 24 12:39:51 2012] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/vhosts/mysite.com/httpdocs/webshop/administrator/components/com_virtuemart_allinone/liveupdate, referer: http://mysite.com/webshop/administrator/index.php?option=com_virtuemart_allinone
[Tue Apr 24 12:43:08 2012] [error] [client xxx.xxx.xxx.xxx] PHP Warning: gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in /var/www/vhosts/mysite.com/httpdocs/webshop/libraries/joomla/filesystem/archive/gzip.php on line 75, referer: http://mysite.com/webshop/administrator/index.php?option=com_virtuemart_allinone
[Tue Apr 24 12:43:08 2012] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/vhosts/mysite.com/httpdocs/webshop/administrator/components/com_virtuemart_allinone/liveupdate, referer: http://mysite.com/webshop/administrator/index.php?option=com_virtuemart_allinone&view=liveupdate&task=overview
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Yannick on April 24, 2012, 17:07:10 PM
Thanks, I´ve also put your data in the first post!
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: nixsnake on April 27, 2012, 06:21:29 AM
a) Web Server    Apache/2.2.17
b) PHP Version    5.2.17
c) MySQL Client API version   5.0.77
d) memory_limit   64M
e) max_execution_time   60
f) Joomla! 2.5.3
g) Virtuemart version BEFORE update   2.0.2
h) Virtuemart version of the update you want to 2.0.6
i) Extracting the update package failed. Please try updating the extension manually.
)j all writeable
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Yannick on April 27, 2012, 18:20:38 PM
Thanks nixsnake! First post is updated with your input.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: bbw on May 02, 2012, 20:41:32 PM
a) Server system = apache (not sure how to find the version for this one)
b) PHP-version = 5.2.17
c) SQL-version = 5.1.56 mysql
d) memory_limit = 256mb
e) max_execution_time = 30 seconds
f) Exact Joomla! Version = 2.5.4
g) Exact Virtuemart version BEFORE update = 2.02
h) Exact Virtuemart version of the update you want to = 2.06
i) Displayed error message = Fatal error: Maximum execution time of 30 seconds exceeded in home/.../public_html/libraries/joomla/filesystem/archive/tar.php on line 159
j) Any not writable directory Permissions? = configuration.php
k) Optional: Any other info? = Using the extension manager sometimes gave me a white screen and sometimes gave me the msg above. Upload through FTP did not change version number
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Milbo on May 03, 2012, 02:03:51 AM
Thank you very much for your input guys. Thank you yannick.

I think we have here two different issues. One issue is that some servers do not support the tar.gz or they get an error extracting it (I use 7-zip on Windows to compress it). The other issue seems to be for me the time. 30 secs for an installation of a 2mb file is just very short. When your connection is not strong, you need for the 2 mb already 20 seconds or even more.

Our problem atm is that there is also a problem with the live updater even when the people have servers which can use tar.gz and with an high execution time (for example 120 secs). I have different results on the same machine with almost the same packages. Strange thing, personnally I think the error is in the ars itself.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Michel78 on May 07, 2012, 18:07:39 PM
Hi all,

I try to update my Virtuemart 2.0.2 to 2.0.6 with Virtuemart auto-update, and I obtain this error :
        Unable to read archive
        Extracting the update package failed. Please try updating the extension manually.


My configuration :

a) Apache 2
b) PHP-version : 5.2.17
c) SQL-version : mysql 5.1.49
d) memory_limit : 90M
e) max_execution_time : 50000
f) Joomla! 1.6.3 Stable
g) Exact Virtuemart version BEFORE update : 2.0.2
h) Exact Virtuemart version of the update you want to : 2.0.6
i) Displayed error message :
        Unable to read archive
        Extracting the update package failed. Please try updating the extension manually.
j) Any not writable directory Permissions? : No


Any help would be apreciated.

Regards,

Michel

Edit : I've just migrated from Joomla 1.6.3 to 2.5.4 and the problem is the same.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Milbo on May 08, 2012, 15:29:06 PM
I just got a message of some guy from denmark, they just changed the url and used their own server and it worked. Seems that our current hoster is just too slow.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Michel78 on May 08, 2012, 15:40:49 PM
That's a great information.
What is the URL to try this workaround ?

Michel
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: milosmilos on May 08, 2012, 16:13:12 PM
I can confirm the url workaround. I created my own download location and provisioning file.
And changed the path in './liveupdate/config.php'.
Installation went fine.

Maybe it's time for some 'extra' download locations?
With the provisioning method an ip-based close-location download should be possible....


Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Milbo on May 08, 2012, 20:39:41 PM
I must add a dropdown with mirrors, or so.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: rupesh on May 09, 2012, 09:37:15 AM
hey guys!
I have updated virtuemart from 2.0.2 to 2.0.6 successfully but now in backend of virtuemart configuration
I'm getting additional tab like undefined and warning for directory

seethe attachments

[attachment cleanup by admin]
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Yannick on May 09, 2012, 15:04:35 PM
@Michael78
Thanks, I updated the first post.

@rupesh
Please safe the config, clear your cache and reload the page.

@milbo
If you need us, we would be happy to sponsor a download-channel on our servers. I think it would the best if there is a "shuffle" in choosing the download-channel. But, this all not solve the issues with updating by the normal Joomla-installer. Or I am wrong?
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: fug-mann on May 10, 2012, 15:20:44 PM
Trouble with vm2, any version to the newer one
vm aio the same

not known archive

a)  apache 2.2.22(ubuntu SMP)
b)  5.3.12-nmm2
c)  5.1.43-nmm4-log
d)  memory_limit = 64M
e)  max_execution_time = 30
f)   2.5.4
g)  2.0.0/2.0.2/2.0.4
h)  2.0.2/2.0.4/2.0.6  today, aio 2.0.6a to 2.0.6
i)   unknown archive typ, unable to extract
j)   all writable
k)  ..... .update.tar.gz in tmp - extraction on a pc not possible
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: ckliman on May 10, 2012, 18:16:59 PM
that's the message i get:


( ! ) Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\mysite\administrator\components\com_virtuemart_allinone\classes\download.php on line 256
Call Stack
#   Time   Memory   Function   Location
1   0.0013   382920   {main}( )   ..\index.php:0
2   0.4285   5931392   JAdministrator->dispatch( )   ..\index.php:46
3   0.4553   6326352   JComponentHelper::renderComponent( )   ..\application.php:153
4   0.4792   6331208   JComponentHelper::executeComponent( )   ..\helper.php:357
5   0.4823   6423872   require_once( 'C:\wamp\www\mysite\administrator\components\com_virtuemart_allinone\admin.virtuemart_allinone.php' )   ..\helper.php:388
6   0.4885   6483040   LiveUpdate::handleRequest( )   ..\admin.virtuemart_allinone.php:46
7   0.5378   6900080   JController->execute( )   ..\admin.virtuemart_allinone.php:89
8   0.5379   6900136   LiveUpdateController->download( )   ..\controller.php:754
9   0.5740   7460592   LiveUpdateModel->download( )   ..\controller.php:75
10   1.0066   8138624   LiveUpdateDownloadHelper::download( )   ..\model.php:69
11   1.0137   8139176   LiveUpdateDownloadHelper::getFOPEN( )   ..\download.php:57
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Yannick on May 14, 2012, 08:22:35 AM
@Fug-Mann
Thanks, I add your data to the first post.

@clickman
Please set your "max_execution_time" of your server to a higher value and try it again. If you don´t know how to, just contact your server admin. Can you please also post all your data (see first post) here?
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: ckliman on May 14, 2012, 09:59:07 AM
These informations are required:   
Apache Version 2.2.21
a) Server system   WampServer Version 2.2
b) PHP-version   / 5.3.8
c) SQL-version   / MySQL Version 5.5.16
d) memory_limit /   where do I get the info?
e) max_execution_time /   where do I get the info? and how to set?
f) Exact Joomla! version /   Joomla! 2.5.4
g) Exact Virtuemart version BEFORE update   / 2.0.0
h) Exact Virtuemart version of the update you want to/ 2.0.6 (2012-04-16)
i) Displayed error message   
j) Any not writable directory Permissions? /   where do I get the info?
k) Optional: Any other info?   

Thanks for the reply

Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Yannick on May 16, 2012, 14:01:59 PM
Hello Ckliman,

please check my first post, there are all locations explained. To change the max_execution_time, please contact your server-admin.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: ckliman on May 16, 2012, 14:16:50 PM
the server is on my netbook. (WAMP)
can you provide instructions how to change that setting?
It's my first time with joomla and virtue, servers, database...
It's all so confusing.

Thanks
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Milbo on May 18, 2012, 19:32:37 PM
:-)
http://bit.ly/JXpmq0
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: amalia on May 20, 2012, 21:07:47 PM
Hello there, I also have a problem with autoupdate.

My info:

a) Apache/2.2.22  (Linux)
b) PHP/5.3.11
c) 5.5.23-log
d) memory limit = 128M
e) max_execution_time = 30
f) 2.5.4
g) 2.0.4
h) 2.0.6
i) Unable to decompress data Extracting the update package failed. Please try updating the extension manually.
j) all writable
k) none

Thanks :)
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Yannick on June 05, 2012, 19:12:53 PM
Thank you Amalia, I updated the first post with your data!

@Milbo
Any news on this? Can we do anything else?
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: dontflinch on June 05, 2012, 21:05:41 PM
Quote from: Milbo on May 18, 2012, 19:32:37 PM
:-)
http://bit.ly/JXpmq0
omg I love that!
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: astralavista on June 09, 2012, 13:05:04 PM
a) Apache: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.

b) PHP: 5.2.6-1+lenny9

c) MYSQL Version: 5.0.51a

d) PHP Memory Limit: 128M

e) max_execution_time = where i can find these info?

f) 1.7.3

g) 2.0.1

h) 2.0.6

i) Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, pr@vdur.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g Server at kunde.werbeagentur-dr.com Port 80

j) all writeable

k) none
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: gldproducts on July 10, 2012, 15:55:55 PM
You all can just use the extension manager and it will automatically update virtuemart as well.  Just be sure to do a back up with Akeeba 1st. I was having the same problem, and then just said scre# it with the auto- update and the extension manager worked perfect.  ;D
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Don Gould NZ on July 20, 2012, 09:03:03 AM


        Unable to decompress data
        Extracting the update package failed. Please try updating the extension manually.



Can someone point me to the instructions to do a manual update?

I also see that stuff has to be writeable, can someone point me to instructions of what paths specifically need to be writeable?

Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Milbo on July 20, 2012, 14:01:52 PM
We got an update about this, seems like that some people got this error
" PHP Warning:  gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in"

and

"gzip: stdin: invalid compressed data--format violated
tar: Skipping to next header
tar: Child returned status 1
tar: Error is not recoverable: exiting now"

Maybe some tar.gz pro can tell us, why our tar.gzip programs work wrong. Btw, we used a windows and mac program, seems to be the same problem.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Don Gould NZ on July 20, 2012, 14:27:18 PM
Quote from: Milbo on July 20, 2012, 14:01:52 PM
We got an update about this, seems like that some people got this error
" PHP Warning:  gzinflate() [<a href='function.gzinflate'>function.gzinflate</a>]: data error in"

and

"gzip: stdin: invalid compressed data--format violated
tar: Skipping to next header
tar: Child returned status 1
tar: Error is not recoverable: exiting now"

Maybe some tar.gz pro can tell us, why our tar.gzip programs work wrong. Btw, we used a windows and mac program, seems to be the same problem.

Ok this is not making sense to me.

I downloaded the tar.gz then just used the extension updater to load it up.

So what's the difference?  Has the wheel been rewritten and is the same bit of code not being used?

Having said this, I won't be using either tool again in a hurry...  took me 2 hours just to get my site mostly back to where I was when I started.

I half wonder if some sort of git patch system would be better that would let me pick and choose changes and alert me before stuff is just over written....

..and example was the GB language ini which was just over written with a new file but over looked that I've got modifications for my local country (New Zealand), and from what I can tell this was just done to add 1 new string to the file.

Please don't get me wrong guys, I'm not trying to kick the gift horse in the mouth, and I've been using VM for quite some time now, I'm here wanting to discuss the issues and am interested to hear feed back :)
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: jenkinhill on July 21, 2012, 10:52:53 AM
Quote
..and example was the GB language ini which was just over written with a new file but over looked that I've got modifications for my local country (New Zealand), and from what I can tell this was just done to add 1 new string to the file.

Exactly the reason why VM2 is enabled to use language overrides. These do not get overwritten.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Don Gould NZ on July 21, 2012, 12:28:23 PM
Quote from: jenkinhill on July 21, 2012, 10:52:53 AM
Exactly the reason why VM2 is enabled to use language overrides. These do not get overwritten.

Cool... can you point me to instructions to set that up?  I looked about for a language stuff but couldn't find it.

I was also wondering if I should submit a New Zealand file with more 'NZ' friendly language in it?
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: jenkinhill on July 21, 2012, 16:10:07 PM
http://forum.virtuemart.net/index.php?topic=92944.0

And more information on languages in that forum section. http://forum.virtuemart.net/index.php?board=129.0  You could creat a Kiwi friendly language file, but it would have to be all as overrides unless Joomla itself has a selector for that language.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Tirrawarra on July 24, 2012, 17:26:41 PM
Steve
============
a) Apache/2.2.21 (Unix)
b) 5.3.8
c) 5.1.62-cll
d0 memory_limit   128M
e) max_execution_time   30
f) Joomla! 2.5.6
g)  2.0.6
h)  2.0.8e
i) Unable to decompress data Extracting the update package failed. Please try updating the extension manually.
j) no - all writeable
k) manual updates via Extensions >> Extensions Manager >>  Upload Package File - also failed error message "Unable to find install package"

also can not find documentation about how to FTP files over existing? (was easy work around in earlier versions but new versions include 'install' directory - so not sure if can safely upload and leave??



Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: franzpeter on July 26, 2012, 10:52:40 AM
It is a server issue. Joomla does obviously use allow_url_fopen instead of using curl. It may be deactivated for security reasons in the server php.ini.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: bladerz on September 03, 2012, 18:51:29 PM
a) Server system: Apache/2.2.16 (Debian)
b) PHP-version:  5.3.3-7+squeeze14
c) SQL-version: 5.1.63-0+squeeze1
d) memory_limit: 1024M
e) max_execution_time: 500
f) Exact Joomla! version: 2.5.6
g) Exact Virtuemart version BEFORE update: 2.0.8e
h) Exact Virtuemart version of the update you want to: 2.0.10
i) Displayed error message: Extracting the update package failed. Please try updating the extension manually.
j) Any not writable directory Permissions? No
k) Optional: Any other info?

The problem seems to be that php does not recognize the zip file. I used this simple script to check this:
<?php

        $zip = new ZipArchive;
        $res = $zip->open('com_virtuemart_allinone.update.zip');
        echo $res ."\n";
        var_dump($res);
        print_r($zip);
        var_dump($zip);
     if ($res === TRUE) {
         $zip->extractTo('update/');
         $zip->close();
         echo 'ok';
     } else {
         echo 'failed';
     }
?>

The result is:
19
int(19)
ZipArchive Object
(
    [status] => 0
    [statusSys] => 0
    [numFiles] => 0
    [filename] =>
    [comment] =>
)
object(ZipArchive)#1 (5) {
  ["status"]=>
  int(0)
  ["statusSys"]=>
  int(0)
  ["numFiles"]=>
  int(0)
  ["filename"]=>
  string(0) ""
  ["comment"]=>
  string(0) ""
}
failed

The error code 19 above means (according to http://www.php.net/manual/en/ziparchive.open.php)
ZIPARCHIVE::ER_NOZIP - 19
Not a zip archive. 

The same problem occurs both for vm and aio packages.

The script above works OK with any other zip file. The normal result with another file is:
1
bool(true)
ZipArchive Object
(
    [status] => 0
    [statusSys] => 0
    [numFiles] => 25
    [filename] => /var/www/my.website.dir/tmp/pkg.zip
    [comment] =>
)
object(ZipArchive)#1 (5) {
  ["status"]=>
  int(0)
  ["statusSys"]=>
  int(0)
  ["numFiles"]=>
  int(25)
  ["filename"]=>
  string(44) "/var/www/my.website.dir/tmp/pkg.zip"
  ["comment"]=>
  string(0) ""
}
ok

The problem looks like the zip archive is created in some way that php can not recognize it.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Jason Farmer on October 27, 2012, 23:34:20 PM
a) Server system : no idea
b) PHP-version  : no idea
c) SQL-version : no idea
d) memory_limit : no idea
e) max_execution_time : no idea
f) Exact Joomla! version: Joomla! 2.5.6
g) Exact Virtuemart version BEFORE update : 2.0.12d
h) Exact Virtuemart version of the update you want to : 2.0.12f
i) Displayed error message: Fatal error: Cannot pass parameter 2 by reference in /home/demovir/public_html/administrator/components/com_virtuemart/liveupdate/classes/download.php on line 40
j) Any not writable directory Permissions? : none alerted
k) Optional: Any other info? : http://demo.virtuemart.net username: demo password: demo  :) -  joomla extensions manager is off limits in the demo, so its stuck here till an admin upgrades
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Milbo on December 17, 2012, 01:46:34 AM
Quote from: Tirrawarra on July 24, 2012, 17:26:41 PM

also can not find documentation about how to FTP files over existing? (was easy work around in earlier versions but new versions include 'install' directory - so not sure if can safely upload and leave??

Very simple. The installer is already exactly the directory structure, except that the xml is not in it and the additional "install" directory. just delete this "install" directory, it is need for j2.5. then go to tools and execute update tables. and check the wiki http://dev.virtuemart.net/projects/virtuemart/wiki and our new http://docs.virtuemart.net/

"Extracting the update package failed. Please try updating the extension manually." is usually a server issue.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: martino46 on October 30, 2013, 05:50:54 AM
Hi VM Team,

Here is my details. MY issue is also that VM live update is not working all of a sudden (says Live update is not supported). And also very strangely, my menus of VM (Products, Product categories, shoppers etc) on the left dissappeared...I can send a screenshot if needed...

PHP Built On    Linux host5.axxessdns.co.za 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64
Database Version    5.0.96-community
Database Collation    utf8_general_ci
PHP Version    5.3.10
Web Server    Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
WebServer to PHP Interface    cgi-fcgi
Joomla! Version    Joomla! 2.5.14 Stable [ Ember ] 01-August-2013 14:00 GMT
Joomla! Platform Version    Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent    Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0

hope to hear from you soon!

tx!
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: martino46 on October 30, 2013, 06:17:10 AM
Hi Team,

got the "vanished menu" on the left of VM fixed.

herewith the topic that solved that issue...http://forum.virtuemart.net/index.php?topic=119901.msg408185#msg408185

Still cannot update live anymore though...
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Milbo on November 20, 2013, 11:32:43 AM
Maybe you should take a look here https://www.akeebabackup.com/support/akeeba-backup-3x/12349-problem-with-auto-update.html
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: mronayne on February 20, 2015, 01:33:51 AM
Just tried updating to Version 3.0.6 and no matter what I do I keep being told by Joomla that VirtueMart AIO need to be updated. I tried the automatic update via Joomla and I even downloaded the latest from your site and manually tried to install. Still being told that AIO needs to be updated!

I just checked and the Joomla Extension Manager is showing All in One as being at version 3.0.4.2 so it isn't getting updated...!

Ok, So I uninstalled the VirtueMart_allinone Component completely, and reinstalled it from this file which I just downloaded (com_virtuemart.3.0.6_ext_aio.tar.gz) I attached the exact file I just downloaded so you can see for yourself.

After installing from the above Joomla Extension Manager shows: VirtueMart_allinone    Administrator       Component    3.0.4.2 !!!! SO, YOU DISTRIBUTED THE WRONG VERSION...

So frustrating!!!!
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: GJC Web Design on February 20, 2015, 10:11:47 AM
relax - calm down -- I assume that it is just an oversight the version labelling

Is your site still working?  So where's the problem?

I also assume there was no updates in the latest AIO pack  - even if there were they have been installed... 
am sure the labelling issue will be fixed shortly - if you had the slightest idea of the amount of work that goes into VM you wouldn't be so fast to criticise
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: alatak on February 20, 2015, 10:54:49 AM
Hello
Thank you for reporting this issue about the  update.
It is a mistake on the XML file which still have the old version number.
Don't worry, your update has been done.
I have fixed the issue.
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Studio 42 on March 14, 2015, 12:10:23 PM
Hi valerie,
Quote from: alatak on February 20, 2015, 10:54:49 AM
Hello
Thank you for reporting this issue about the  update.
It is a mistake on the XML file which still have the old version number.
Don't worry, your update has been done.
I have fixed the issue.

Don't worry, your update has been done> I'm not sur valerie!

If you made an update package in Joomla 3.4, using the same revision in the XML, this fails to update, if you use a zip, decompress all or using a server.

But this is not the case in joomla 2.x.

Eg. you do a xml with <version>3.0.6.2</version> zip and install it on a server.

and make some change :
you reuse same number <version>3.0.6.2</version> the package don't update
But  <version>3.0.6.4</version> the package update now.

Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: drumcom on July 31, 2015, 23:13:47 PM
I have VirtualMart 3.0.9 installed in Joomla 3.4.3 site. I am using
PHP 5.5.27
MySQL 5.5.31-30.3-log
Apache 2.2.4.
memory_limit 128M
max_execution_time 45
I am getting this error message when I click on the find updates button: Update: Could not open update site #22 "VirtueMart3 plg_vmpayment_skrill Update Site", URL: http://virtuemart.net/releases/vm3/plg_vmpayment_skrill_update.xml
Title: Re: Virtuemart auto-update fails - please help to solve! Thanks!
Post by: Studio 42 on August 01, 2015, 11:00:47 AM
HI
Try to unpublish or remove the skrill paiement, if you don't use it.
Quote from: drumcom on July 31, 2015, 23:13:47 PM
I am getting this error message when I click on the find updates button: Update: Could not open update site #22 "VirtueMart3 plg_vmpayment_skrill Update Site", URL: http://virtuemart.net/releases/vm3/plg_vmpayment_skrill_update.xml