Check out the LimeSurvey source code on GitHub!

problem unzip archive throught command line

More
3 years 4 months ago #99248 by yaz01
Hello
The archive seems to be corrupted. When i try to download the zip file and unzip it by ssh, i get this error :

Archive: 890-limesurvey200plus-build130802-zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of 890-limesurvey200plus-build130802-zip or
890-limesurvey200plus-build130802-zip.zip, and cannot find 890-limesurvey200plus-build130802-zip.ZIP, period.

Please Log in to join the conversation.

More
3 years 4 months ago #99250 by yaz01
When i look about this kind of error on the net, i find that in all cases the downloaded file is corrupted.

Please Log in to join the conversation.

More
3 years 4 months ago #99253 by holch
I am not sure where you got this file from, but the most current zip file available for download on limesurvey.org is called
limesurvey200plus-build130802.zip

Seems like you try to unzip a file that doesn't exist?

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #99255 by yaz01
well, what i do (worked perfectly 2 months ago) is :

Go to the page : www.limesurvey.org/en/stable-release

I click right on the link "limesurvey200plus-build130802.zip" and i copy the URL :

www.limesurvey.org/en/stable-release/fin...plus-build130802-zip

I go on putty and write the following :

wget www.limesurvey.org/en/stable-release/fin...plus-build130802-zip


I get a file in the folder, this file is called : 890-limesurvey200plus-build130802-zip

so i tape :

unzip 890-limesurvey200plus-build130802-zip


...and i get the error i am facing.

I just to point out that what i have done worked perfectly, without any issue a month or so before...i tried on 2 servers now and it does not work.

Thanks !
Last Edit: 3 years 4 months ago by yaz01.

Please Log in to join the conversation.

More
3 years 4 months ago #99256 by holch
The problem is the way you download it. If it ends with "-zip" it is a folder that you have downloaded and not a file!

If I open the folder www.limesurvey.org/de/stable-release/fin...plus-build130802-zip in my browser it starts to download a file called limesurvey200plus-build130802.zip.

This is the file you need and you need to unzip. So you need to find another way to get the file than to wget the URL www.limesurvey.org/de/stable-release/fin...plus-build130802-zip

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 4 months ago #99257 by yaz01
so if i have a limited internet access and want to save time using ssh for downloading the zip, how can i do ?
Actually i am trying to teach to my students how to install limesurvey on a server. I can hardly imagine stopping the course, while everyone is getting the file on university desktop, unzipping and then resending it on a server with ftp client...it would take ages to do so with our connection and we will waste valuable time.

Is it possible to have the file on sourceforge to get it by command line ?

Please Log in to join the conversation.

More
3 years 4 months ago #99258 by holch
The files were on Sourceforge before and were moved here (I have no idea why), so I guess this is not an option.

Seems like the jdownloader addon for the content management system creates these links.

I can imagine 2 things that you can do:
1. Write to Carsten (head of development and responsible for the website) if he can provide you a link that you can use
2. Download Limesurvey once and upload it to a server of your choice, then use the URL to download it via wget.

sorry, but from what I see at the moment, those are your options.

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #99272 by DenisChenu
Hi,

Yes, it's a know bug of joomla or joomla implementation do ls.org.
- Go to the download file without javascript
- Look at html source of this file
- You have the real link

Shnoulle@belar:~$ wget http://www.limesurvey.org/de/stable-release/finish/25-latest-stable-release/890-limesurvey200plus-build130802-zip
--2013-08-23 10:37:08--  http://www.limesurvey.org/de/stable-release/finish/25-latest-stable-release/890-limesurvey200plus-build130802-zip
Résolution de www.limesurvey.org... 78.46.71.100
Connexion vers www.limesurvey.org|78.46.71.100|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: non spécifié [text/html]
Sauvegarde en : «890-limesurvey200plus-build130802-zip»
 
    [ <=>                                   ] 130         --.-K/s   ds 0s      
 
2013-08-23 10:37:08 (5,07 MB/s) - «890-limesurvey200plus-build130802-zip» sauvegardé [130]
 
Shnoulle@belar:~$ cat 890-limesurvey200plus-build130802-zip 
<script>document.location.href='http://download.limesurvey.org/Latest_stable_release/limesurvey200plus-build130802.zip';</script>
Shnoulle@belar:~$ wget http://download.limesurvey.org/Latest_stable_release/limesurvey200plus-build130802.zip
--2013-08-23 10:37:46--  http://download.limesurvey.org/Latest_stable_release/limesurvey200plus-build130802.zip
Résolution de download.limesurvey.org... 213.133.110.139
Connexion vers download.limesurvey.org|213.133.110.139|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 36937387 (35M) [application/zip]
Sauvegarde en : «limesurvey200plus-build130802.zip»
 
100%[======================================>] 36 937 387  7,21M/s   ds 7,2s    
 
2013-08-23 10:37:54 (4,89 MB/s) - «limesurvey200plus-build130802.zip» sauvegardé [36937387/36937387]



Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 3 years 4 months ago by c_schmitz.
The following user(s) said Thank You: holch

Please Log in to join the conversation.

More
3 years 4 months ago #99273 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form