Welcome, Guest
Username: Password: Remember me

TOPIC: problem unzip archive throught command line

problem unzip archive throught command line 11 months 6 days ago #99248

  • yaz
  • yaz's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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.
The administrator has disabled public write access.

problem unzip archive throught command line 11 months 6 days ago #99250

  • yaz
  • yaz's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
When i look about this kind of error on the net, i find that in all cases the downloaded file is corrupted.
The administrator has disabled public write access.

problem unzip archive throught command line 11 months 6 days ago #99253

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2558
  • Thank you received: 290
  • Karma: 105
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 | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

problem unzip archive throught command line 11 months 6 days ago #99255

  • yaz
  • yaz's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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 :I go on putty and write the following :
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: 11 months 6 days ago by yaz.
The administrator has disabled public write access.

problem unzip archive throught command line 11 months 6 days ago #99256

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2558
  • Thank you received: 290
  • Karma: 105
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 | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

problem unzip archive throught command line 11 months 6 days ago #99257

  • yaz
  • yaz's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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 ?
The administrator has disabled public write access.

problem unzip archive throught command line 11 months 6 days ago #99258

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2558
  • Thank you received: 290
  • Karma: 105
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 | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

problem unzip archive throught command line 11 months 6 days ago #99272

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6221
  • Thank you received: 791
  • Karma: 238
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
Last Edit: 11 months 4 days ago by c_schmitz.
The administrator has disabled public write access.
The following user(s) said Thank You: holch

problem unzip archive throught command line 11 months 5 days ago #99273

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6221
  • Thank you received: 791
  • Karma: 238
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.232 seconds
Donation Image